Class PluginUIMessages
Messages exchanged by PluginUIController<TModel> and PluginUIProcessor<TModel>
through the VST3 connection (IConnectionPoint::notify, always on the UI thread).
public static class PluginUIMessages
- Inheritance
-
PluginUIMessages
- Inherited Members
Remarks
Message identifiers start with PluginUI.: use another prefix for your own messages. Unknown messages are
left to the derived classes (override OnMessage and call the base method).
Fields
Note
A note played on the editor (attributes kind, pitch, velocity, channel).
public const string Note = "PluginUI.Note"
Field Value
SharedState
The processor announces its shared state (attribute handle).
public const string SharedState = "PluginUI.SharedState"
Field Value
SharedStateRequest
The controller asks the processor to announce its shared state.
public const string SharedStateRequest = "PluginUI.SharedStateRequest"
Field Value
Methods
TrySend(AudioHostApplication?, IAudioConnectionPoint?, string, Action<AudioAttributeList>?)
Creates a message, lets fill set its attributes and sends it to peer.
public static bool TrySend(AudioHostApplication? host, IAudioConnectionPoint? peer, string id, Action<AudioAttributeList>? fill = null)
Parameters
hostAudioHostApplicationHost application of the sending component (creates the message).
peerIAudioConnectionPointConnection point of the other component.
idstringMessage identifier.
fillAction<AudioAttributeList>Sets the attributes (may be
null).
Returns
- bool
falseif there is no host, no connection or the host could not create the message.