VST 3 SDK VST 3.7
SDK for developing VST plug-in
|
Helper class to provide a single API for plug-ins to transfer data from the realtime audio process to the edit controller either via the message handling protocol (see IMessage) or the new IDataExchangeHandler/IDataExchangeReceiver API. More...
#include <dataexchange.h>
Public Member Functions | |
DataExchangeReceiverHandler (IDataExchangeReceiver *receiver) | |
~DataExchangeReceiverHandler () noexcept | |
bool | onMessage (IMessage *msg) |
call this for every message you receive via IConnectionPoint::notify More... | |
Helper class to provide a single API for plug-ins to transfer data from the realtime audio process to the edit controller either via the message handling protocol (see IMessage) or the new IDataExchangeHandler/IDataExchangeReceiver API.
This is the other side of the DataExchangeHandler on the edit controller side. Make this a member of your edit controller and call onMessage for every IMessage you get via IConnectionPoint::notify. Your edit controller must implement the IDataExchangeReceiver interface.
DataExchangeReceiverHandler | ( | IDataExchangeReceiver * | receiver | ) |
|
defaultnoexcept |
bool onMessage | ( | IMessage * | msg | ) |
call this for every message you receive via IConnectionPoint::notify