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

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 , kLogIdGetLatencyCalledbeforeSetActive , kLogIdsetActiveFalseRedundant , kLogIdsetActiveTrueRedundant , kLogIdsetProcessingFalseRedundant , kLogIdsetProcessingTrueRedundant , kLogIdgetLatencyNotCalled , kLogIdProcessContextPointerNull , kLogIdInvalidSymbolicSampleSize , kLogIdInvalidProcessMode , kLogIdInvalidBlockSize , kLogIdProcessPlaybackChangedDiscontinuityDetected , kLogIdProcessDiscontinuityDetected , kLogIdProcessPlaybackChangedContinuousDiscontinuityDetected , kLogIdProcessContinuousDiscontinuityDetected , kLogIdInvalidProcessContextSampleRate , kLogIdNullPointerToChannelBuf , kLogIdNullPointerToAuxChannelBuf , kLogIdNullPointerToAudioBusBuffer , kLogIdAudioBufNotMatchComponentBusCount , kLogIdNoBusActivated , 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 , kLogIdInformLatencyChanged , 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 , kLogIdIPlugInterfaceSupportNotSupported , 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 , kLogIdIParameterFunctionNameDryWetSupported , kLogIdIParameterFunctionNameRandomizeSupported , kLogIdIParameterFunctionNameLowLatencySupported , kLogIdIComponentHandlerSystemTimeSupported , kLogIdIDataExchangeHandlerSupported , kLogIdIDataExchangeReceiverSupported , kLogIdIRemapParamIDSupported , kNumLogEvents }

## Macro Definition Documentation

## ◆ SETUP_CONTEXT

#define SETUP_CONTEXT "SetupContext"

## ◆ STATE

#define STATE "State"

## ◆ AUDIO_BUFFER

#define AUDIO_BUFFER "AudioBuffer"

## ◆ EVENT_LIST

#define EVENT_LIST "EventList"

## ◆ PARAM_CHANGE

#define PARAM_CHANGE "ParameterChanges"

## ◆ PROCESS_DATA

#define PROCESS_DATA "ProcessData"

## ◆ PROCESS_CONTEXT

#define PROCESS_CONTEXT "ProcessContext"

## ◆ THREAD_CONTEXT

#define THREAD_CONTEXT "ThreadContext"

## ◆ FEATURE_SUPPORT

#define FEATURE_SUPPORT "FeatureSupport"

## ◆ HOST_FEATURE_SUPPORT

#define HOST_FEATURE_SUPPORT "HostFeatureSupport"

## ◆ FEATURE_PROCESSOR_SUPPORT

#define FEATURE_PROCESSOR_SUPPORT "FeatureProcessSupport"

## ◆ PROCESS

#define PROCESS true

## ◆ CONTROL

#define CONTROL false

## ◆ LOG_ERR

#define LOG_ERR "Error"

## ◆ LOG_WARN

#define LOG_WARN "Warn"

## ◆ LOG_INFO

#define LOG_INFO "Info"

## ◆ LOG_EVENT_LIST

#define LOG_EVENT_LIST | ( |  | LOG_DEF | ) |

## ◆ LOG_ID

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

## ◆ LOG_SEVER

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

## ◆ LOG_DESC

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

## ◆ LOG_CONTEXT

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

## Enumeration Type Documentation

## ◆ eLogIds

enum eLogIds

Enumerator
kLogIdProcessorControllerConnection |
kLogIdInvalidActivateAuxBus |
kLogIdInvalidStateInitializedMissing |
kLogIdInvalidStateSetupMissing |
kLogIdInvalidStateActivatedMissing |
kLogIdInvalidStateProcessingMissing |
kLogIdInvalidStateSetActiveWrong |
kLogIdInvalidStateSetProcessingWrong |
kLogIdGetLatencyCalledbeforeSetActive |
kLogIdsetActiveFalseRedundant |
kLogIdsetActiveTrueRedundant |
kLogIdsetProcessingFalseRedundant |
kLogIdsetProcessingTrueRedundant |
kLogIdgetLatencyNotCalled |
kLogIdProcessContextPointerNull |
kLogIdInvalidSymbolicSampleSize |
kLogIdInvalidProcessMode |
kLogIdInvalidBlockSize |
kLogIdProcessPlaybackChangedDiscontinuityDetected |
kLogIdProcessDiscontinuityDetected |
kLogIdProcessPlaybackChangedContinuousDiscontinuityDetected |
kLogIdProcessContinuousDiscontinuityDetected |
kLogIdInvalidProcessContextSampleRate |
kLogIdNullPointerToChannelBuf |
kLogIdNullPointerToAuxChannelBuf |
kLogIdNullPointerToAudioBusBuffer |
kLogIdAudioBufNotMatchComponentBusCount |
kLogIdNoBusActivated |
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 |
kLogIdInformLatencyChanged |
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 |
kLogIdIPlugInterfaceSupportNotSupported |
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 |
kLogIdIParameterFunctionNameDryWetSupported |
kLogIdIParameterFunctionNameRandomizeSupported |
kLogIdIParameterFunctionNameLowLatencySupported |
kLogIdIComponentHandlerSystemTimeSupported |
kLogIdIDataExchangeHandlerSupported |
kLogIdIDataExchangeReceiverSupported |
kLogIdIRemapParamIDSupported |
kNumLogEvents |

Empty

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