VST 3 Examples VST 3.7 SDK for developing VST plug-in

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
Classes | Macros | Enumerations
logevents.h File Reference
`#include "pluginterfaces/base/ftypes.h"`
`#include "base/source/fstring.h"`
`#include <map>`

## Classes
struct | LogEvent

## Macros
#define | SETUP_CONTEXT "SetupContext"
#define | STATE "State"
#define | AUDIO_BUFFER "AudioBuffer"
#define | EVENT_LIST "EventList"
#define | PARAM_CHANGE "ParameterChanges"
#define | PROCESS_DATA "ProcessData"
#define | PROCESS_CONTEXT "ProcessContext"
#define | THREAD_CONTEXT "ThreadContext"
#define | FEATURE_SUPPORT "FeatureSupport"
#define | HOST_FEATURE_SUPPORT "HostFeatureSupport"
#define | FEATURE_PROCESSOR_SUPPORT "FeatureProcessSupport"
#define | PROCESS true
#define | CONTROL false
#define | LOG_ERR "Error"
#define | LOG_WARN "Warn"
#define | LOG_INFO "Info"
#define | LOG_EVENT_LIST(LOG_DEF)
#define | LOG_ID(a, b, c, d, e) a
#define | LOG_SEVER(a, b, c, d, e) c
#define | LOG_DESC(a, b, c, d, e) ("[" d "] " e)
#define | LOG_CONTEXT(a, b, c, d, e) b

## Enumerations
enum | eLogIds { kLogIdProcessorControllerConnection, kLogIdInvalidActivateAuxBus, kLogIdInvalidStateInitializedMissing, kLogIdInvalidStateSetupMissing, kLogIdInvalidStateActivatedMissing, kLogIdInvalidStateProcessingMissing, kLogIdInvalidStateSetActiveWrong, kLogIdInvalidStateSetProcessingWrong, kLogIdsetActiveFalseRedundant, kLogIdsetActiveTrueRedundant, kLogIdsetProcessingFalseRedundant, kLogIdsetProcessingTrueRedundant, kLogIdProcessContextPointerNull, kLogIdInvalidSymbolicSampleSize, kLogIdInvalidProcessMode, kLogIdInvalidBlockSize, kLogIdProcessPlaybackChangedDiscontinuityDetected, kLogIdProcessDiscontinuityDetected, kLogIdProcessPlaybackChangedContinuousDiscontinuityDetected, kLogIdProcessContinuousDiscontinuityDetected, kLogIdInvalidProcessContextSampleRate, kLogIdNullPointerToChannelBuf, kLogIdNullPointerToAuxChannelBuf, kLogIdNullPointerToAudioBusBuffer, kLogIdAudioBufNotMatchComponentBusCount, kLogIdInvalidAudioBufNumOfChannels, kLogIdUnknownEventType, kLogIdInvalidEventVelocityValue, kLogIdInvalidEventPitchValue, kLogIdInvalidEventSampleOffset, kLogIdInvalidEventBusIndex, kLogIdInvalidNoteOnChannelIndex, kLogIdInvalidNoteOffChannelIndex, kLogIdInvalidPolyPressChannelIndex, kLogIdNumInputEventExceedsLimit, kLogIdCouldNotGetAnInputEvent, kLogIdEventsAreNotSortedBySampleOffset, kLogIdEventsAreNotSortedByPpqPosition, kLogIdNoteOnWithPitchAlreadyTriggered, kLogIdNoteOnWithIdAlreadyTriggered, kLogIdNoteOffWithIdNeverTriggered, kLogIdNoteOffWithPitchNeverTriggered, kLogIdNoteExpressValNotNormalized, kLogIdInvalidParamValue, kLogIdInvalidParameterCount, kLogIdInvalidParameterID, kLogIdParameterIDMoreThanOneTimeinList, kLogIdParameterChangesPointerIsNull, kLogIdParameterQueueIsNullForValidIndex, kLogIdParametersAreNotSortedBySampleOffset, kLogIdParametersHaveSameSampleOffset, kLogIdinitializeCalledinWrongThread, kLogIdterminateCalledinWrongThread, kLogIdQueryInterfaceCalledinWrongThread, kLogIdSetComponentHandlerCalledinWrongThread, kLogIdSetComponentStateCalledinWrongThread, kLogIdConnectCalledinWrongThread, kLogIdsetStateCalledinWrongThread, kLogIdgetStateCalledinWrongThread, kLogIdnotifyCalledinWrongThread, kLogIdGetUnitByBusCalledinWrongThread, kLogIdGetUnitCountCalledinWrongThread, kLogIdSetParamNormalizedCalledinWrongThread, kLogIdBeginEditCalledinWrongThread, kLogIdEndEditCalledinWrongThread, kLogIdBeginEditFromHostCalledinWrongThread, kLogIdEndEditFromHostCalledinWrongThread, kLogIdCreateViewCalledinWrongThread, kLogIdOnLiveMIDIControllerInputCalledinWrongThread, kLogIdgetNoteExpressionCountCalledinWrongThread, kLogIdgetNoteExpressionInfoCalledinWrongThread, kLogIdgetNoteExpressionValueByStringCalledinWrongThread, kLogIdgetNoteExpressionStringByValueCalledinWrongThread, kLogIdgetPhysicalUIMappingCalledinWrongThread, kLogIdgetKeyswitchCountCalledinWrongThread, kLogIdgetKeyswitchInfoCalledinWrongThread, kLogIdsetAutomationStateCalledinWrongThread, kLogIdsetKnobModeCalledinWrongThread, kLogIdopenHelpCalledinWrongThread, kLogIdopenAboutBoxCalledinWrongThread, kLogIdsetChannelContextInfosCalledinWrongThread, kLogIdgetMidiControllerAssignmentCalledinWrongThread, kLogIdgetXmlRepresentationStreamCalledinWrongThread, kLogIdSetActiveCalledinWrongThread, kLogIdProcessorSetStateCalledinWrongThread, kLogIdProcessorGetStateCalledinWrongThread, kLogIdactivateBusCalledinWrongThread, kLogIdSetActiveCalledSupported, kLogIdIAttributeListInSetStateSupported, kLogIdRestartParamValuesChangedSupported, kLogIdRestartParamTitlesChangedSupported, kLogIdRestartNoteExpressionChangedSupported, kLogIdRestartKeyswitchChangedSupported, kLogIdIComponentHandler2Supported, kLogIdIComponentHandler2SetDirtySupported, kLogIdIComponentHandler2RequestOpenEditorSupported, kLogIdIComponentHandler3Supported, kLogIdIComponentHandlerBusActivationSupported, kLogIdIProgressSupported, kLogIdIPlugInterfaceSupportSupported, kLogIdIPlugFrameonResizeViewSupported, kLogIdIPrefetchableSupportSupported, kLogIdAudioPresentationLatencySamplesSupported, kLogIdIProcessContextRequirementsSupported, kLogIdProcessModeOfflineSupported, kLogIdProcessModeRealtimeSupported, kLogIdProcessModePrefetchSupported, kLogIdProcessContextPlayingSupported, kLogIdProcessContextRecordingSupported, kLogIdProcessContextCycleActiveSupported, kLogIdProcessContextSystemTimeSupported, kLogIdProcessContextContTimeSupported, kLogIdProcessContextTimeMusicSupported, kLogIdProcessContextBarPositionSupported, kLogIdProcessContextCycleSupported, kLogIdProcessContextTempoSupported, kLogIdProcessContextTimeSigSupported, kLogIdProcessContextChordSupported, kLogIdProcessContextSmpteSupported, kLogIdProcessContextClockSupported, kLogIdCanProcessSampleSize32, kLogIdCanProcessSampleSize64, kLogIdGetTailSamples, kLogIdGetLatencySamples, kLogIdGetBusArrangements, kLogIdSetBusArrangements, kLogIdGetRoutingInfo, kLogIdActivateAuxBus, kLogIdParametersFlushSupported, kLogIdSilentFlagsSupported, kLogIdSilentFlagsSCSupported, kLogIdIEditController2Supported, kLogIdSetKnobModeSupported, kLogIdOpenHelpSupported, kLogIdOpenAboutBoxSupported, kLogIdIMidiMappingSupported, kLogIdUnitSupported, kLogIdGetUnitByBusSupported, kLogIdChannelContextSupported, kLogIdINoteExpressionControllerSupported, kLogIdGetNoteExpressionStringByValueSupported, kLogIdGetNoteExpressionValueByStringSupported, kLogIdINoteExpressionPhysicalUIMappingSupported, kLogIdIKeyswitchControllerSupported, kLogIdIMidiLearnSupported, kLogIdIMidiLearn_onLiveMIDIControllerInputSupported, kLogIdIXmlRepresentationControllerSupported, kLogIdIAutomationStateSupported, kLogIdIEditControllerHostEditingSupported, kLogIdIEditControllerHostEditingMisused, kLogIdIPlugViewonSizeSupported, kLogIdIPlugViewcanResizeSupported, kLogIdIPlugViewcheckSizeConstraintSupported, kLogIdIPlugViewsetFrameSupported, kLogIdIPlugViewOnWheelCalled, kLogIdIPlugViewOnKeyDownSupported, kLogIdIPlugViewOnKeyUpSupported, kLogIdIPlugViewOnFocusCalled, kLogIdIPlugViewsetContentScaleFactorSupported, kLogIdIPlugViewmultipleAttachSupported, kLogIdIPlugViewCalledSync, kLogIdIPlugViewCalledBeforeOpen, kLogIdIPlugViewKeyCalledBeforeAttach, kLogIdIPlugViewNotCalled, kLogIdIPlugViewCalledAsync, kLogIdIPlugViewattachedWithoutRemoved, kLogIdIPlugViewremovedWithoutAttached, kLogIdIParameterFinderSupported, kLogIdIParameterFunctionNameSupported, kLogIdInformLatencyChanged, kNumLogEvents }

## Macro Definition Documentation

#define SETUP_CONTEXT "SetupContext"

#define STATE "State"

#define AUDIO_BUFFER "AudioBuffer"

#define EVENT_LIST "EventList"

#define PARAM_CHANGE "ParameterChanges"

#define PROCESS_DATA "ProcessData"

#define PROCESS_CONTEXT "ProcessContext"

#define THREAD_CONTEXT "ThreadContext"

#define FEATURE_SUPPORT "FeatureSupport"

#define HOST_FEATURE_SUPPORT "HostFeatureSupport"

#define FEATURE_PROCESSOR_SUPPORT "FeatureProcessSupport"

#define PROCESS true

#define CONTROL false

#define LOG_ERR "Error"

#define LOG_WARN "Warn"

#define LOG_INFO "Info"

#define LOG_EVENT_LIST | ( |  | LOG_DEF | ) |

#define LOG_ID | ( |  | a,
|  |  | b,
|  |  | c,
|  |  | d,
|  |  | e
| ) |  | a

#define LOG_SEVER | ( |  | a,
|  |  | b,
|  |  | c,
|  |  | d,
|  |  | e
| ) |  | c

#define LOG_DESC | ( |  | a,
|  |  | b,
|  |  | c,
|  |  | d,
|  |  | e
| ) |  | ("[" d "] " e)

#define LOG_CONTEXT | ( |  | a,
|  |  | b,
|  |  | c,
|  |  | d,
|  |  | e
| ) |  | b

## Enumeration Type Documentation

enum eLogIds

Enumerator
kLogIdProcessorControllerConnection |
kLogIdInvalidActivateAuxBus |
kLogIdInvalidStateInitializedMissing |
kLogIdInvalidStateSetupMissing |
kLogIdInvalidStateActivatedMissing |
kLogIdInvalidStateProcessingMissing |
kLogIdInvalidStateSetActiveWrong |
kLogIdInvalidStateSetProcessingWrong |
kLogIdsetActiveFalseRedundant |
kLogIdsetActiveTrueRedundant |
kLogIdsetProcessingFalseRedundant |
kLogIdsetProcessingTrueRedundant |
kLogIdProcessContextPointerNull |
kLogIdInvalidSymbolicSampleSize |
kLogIdInvalidProcessMode |
kLogIdInvalidBlockSize |
kLogIdProcessPlaybackChangedDiscontinuityDetected |
kLogIdProcessDiscontinuityDetected |
kLogIdProcessPlaybackChangedContinuousDiscontinuityDetected |
kLogIdProcessContinuousDiscontinuityDetected |
kLogIdInvalidProcessContextSampleRate |
kLogIdNullPointerToChannelBuf |
kLogIdNullPointerToAuxChannelBuf |
kLogIdNullPointerToAudioBusBuffer |
kLogIdAudioBufNotMatchComponentBusCount |
kLogIdInvalidAudioBufNumOfChannels |
kLogIdUnknownEventType |
kLogIdInvalidEventVelocityValue |
kLogIdInvalidEventPitchValue |
kLogIdInvalidEventSampleOffset |
kLogIdInvalidEventBusIndex |
kLogIdInvalidNoteOnChannelIndex |
kLogIdInvalidNoteOffChannelIndex |
kLogIdInvalidPolyPressChannelIndex |
kLogIdNumInputEventExceedsLimit |
kLogIdCouldNotGetAnInputEvent |
kLogIdEventsAreNotSortedBySampleOffset |
kLogIdEventsAreNotSortedByPpqPosition |
kLogIdNoteOnWithPitchAlreadyTriggered |
kLogIdNoteOnWithIdAlreadyTriggered |
kLogIdNoteOffWithIdNeverTriggered |
kLogIdNoteOffWithPitchNeverTriggered |
kLogIdNoteExpressValNotNormalized |
kLogIdInvalidParamValue |
kLogIdInvalidParameterCount |
kLogIdInvalidParameterID |
kLogIdParameterIDMoreThanOneTimeinList |
kLogIdParameterChangesPointerIsNull |
kLogIdParameterQueueIsNullForValidIndex |
kLogIdParametersAreNotSortedBySampleOffset |
kLogIdParametersHaveSameSampleOffset |
kLogIdinitializeCalledinWrongThread |
kLogIdterminateCalledinWrongThread |
kLogIdQueryInterfaceCalledinWrongThread |
kLogIdSetComponentHandlerCalledinWrongThread |
kLogIdSetComponentStateCalledinWrongThread |
kLogIdConnectCalledinWrongThread |
kLogIdsetStateCalledinWrongThread |
kLogIdgetStateCalledinWrongThread |
kLogIdnotifyCalledinWrongThread |
kLogIdGetUnitByBusCalledinWrongThread |
kLogIdGetUnitCountCalledinWrongThread |
kLogIdSetParamNormalizedCalledinWrongThread |
kLogIdBeginEditCalledinWrongThread |
kLogIdEndEditCalledinWrongThread |
kLogIdBeginEditFromHostCalledinWrongThread |
kLogIdEndEditFromHostCalledinWrongThread |
kLogIdCreateViewCalledinWrongThread |
kLogIdOnLiveMIDIControllerInputCalledinWrongThread |
kLogIdgetNoteExpressionCountCalledinWrongThread |
kLogIdgetNoteExpressionInfoCalledinWrongThread |
kLogIdgetNoteExpressionValueByStringCalledinWrongThread |
kLogIdgetNoteExpressionStringByValueCalledinWrongThread |
kLogIdgetPhysicalUIMappingCalledinWrongThread |
kLogIdgetKeyswitchCountCalledinWrongThread |
kLogIdgetKeyswitchInfoCalledinWrongThread |
kLogIdsetAutomationStateCalledinWrongThread |
kLogIdsetKnobModeCalledinWrongThread |
kLogIdopenHelpCalledinWrongThread |
kLogIdopenAboutBoxCalledinWrongThread |
kLogIdsetChannelContextInfosCalledinWrongThread |
kLogIdgetMidiControllerAssignmentCalledinWrongThread |
kLogIdgetXmlRepresentationStreamCalledinWrongThread |
kLogIdSetActiveCalledinWrongThread |
kLogIdProcessorSetStateCalledinWrongThread |
kLogIdProcessorGetStateCalledinWrongThread |
kLogIdactivateBusCalledinWrongThread |
kLogIdSetActiveCalledSupported |
kLogIdIAttributeListInSetStateSupported |
kLogIdRestartParamValuesChangedSupported |
kLogIdRestartParamTitlesChangedSupported |
kLogIdRestartNoteExpressionChangedSupported |
kLogIdRestartKeyswitchChangedSupported |
kLogIdIComponentHandler2Supported |
kLogIdIComponentHandler2SetDirtySupported |
kLogIdIComponentHandler2RequestOpenEditorSupported |
kLogIdIComponentHandler3Supported |
kLogIdIComponentHandlerBusActivationSupported |
kLogIdIProgressSupported |
kLogIdIPlugInterfaceSupportSupported |
kLogIdIPlugFrameonResizeViewSupported |
kLogIdIPrefetchableSupportSupported |
kLogIdAudioPresentationLatencySamplesSupported |
kLogIdIProcessContextRequirementsSupported |
kLogIdProcessModeOfflineSupported |
kLogIdProcessModeRealtimeSupported |
kLogIdProcessModePrefetchSupported |
kLogIdProcessContextPlayingSupported |
kLogIdProcessContextRecordingSupported |
kLogIdProcessContextCycleActiveSupported |
kLogIdProcessContextSystemTimeSupported |
kLogIdProcessContextContTimeSupported |
kLogIdProcessContextTimeMusicSupported |
kLogIdProcessContextBarPositionSupported |
kLogIdProcessContextCycleSupported |
kLogIdProcessContextTempoSupported |
kLogIdProcessContextTimeSigSupported |
kLogIdProcessContextChordSupported |
kLogIdProcessContextSmpteSupported |
kLogIdProcessContextClockSupported |
kLogIdCanProcessSampleSize32 |
kLogIdCanProcessSampleSize64 |
kLogIdGetTailSamples |
kLogIdGetLatencySamples |
kLogIdGetBusArrangements |
kLogIdSetBusArrangements |
kLogIdGetRoutingInfo |
kLogIdActivateAuxBus |
kLogIdParametersFlushSupported |
kLogIdSilentFlagsSupported |
kLogIdSilentFlagsSCSupported |
kLogIdIEditController2Supported |
kLogIdSetKnobModeSupported |
kLogIdOpenHelpSupported |
kLogIdOpenAboutBoxSupported |
kLogIdIMidiMappingSupported |
kLogIdUnitSupported |
kLogIdGetUnitByBusSupported |
kLogIdChannelContextSupported |
kLogIdINoteExpressionControllerSupported |
kLogIdGetNoteExpressionStringByValueSupported |
kLogIdGetNoteExpressionValueByStringSupported |
kLogIdINoteExpressionPhysicalUIMappingSupported |
kLogIdIKeyswitchControllerSupported |
kLogIdIMidiLearnSupported |
kLogIdIMidiLearn_onLiveMIDIControllerInputSupported |
kLogIdIXmlRepresentationControllerSupported |
kLogIdIAutomationStateSupported |
kLogIdIEditControllerHostEditingSupported |
kLogIdIEditControllerHostEditingMisused |
kLogIdIPlugViewonSizeSupported |
kLogIdIPlugViewcanResizeSupported |
kLogIdIPlugViewcheckSizeConstraintSupported |
kLogIdIPlugViewsetFrameSupported |
kLogIdIPlugViewOnWheelCalled |
kLogIdIPlugViewOnKeyDownSupported |
kLogIdIPlugViewOnKeyUpSupported |
kLogIdIPlugViewOnFocusCalled |
kLogIdIPlugViewsetContentScaleFactorSupported |
kLogIdIPlugViewmultipleAttachSupported |
kLogIdIPlugViewCalledSync |
kLogIdIPlugViewCalledBeforeOpen |
kLogIdIPlugViewKeyCalledBeforeAttach |
kLogIdIPlugViewNotCalled |
kLogIdIPlugViewCalledAsync |
kLogIdIPlugViewattachedWithoutRemoved |
kLogIdIPlugViewremovedWithoutAttached |
kLogIdIParameterFinderSupported |
kLogIdIParameterFunctionNameSupported |
kLogIdInformLatencyChanged |
kNumLogEvents |

Empty

Copyright ©2022 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.