Templated class for RT Jamba parameter.
More...
#include <RTJmbOutParameter.h>
Inherits IRTJmbOutParameter.
template<typename T>
class pongasoft::VST::RT::RTJmbOutParameter< T >
Templated class for RT Jamba parameter.
The RT code calls enqueueUpdate when a new value needs to be propagated to its peer (GUI). A GUI timer will then pop the value from the queue, serialize it, wrap it in a message and send it to the GUI.
- Template Parameters
-
◆ ParamType
◆ RTJmbOutParameter()
◆ broadcast()
void broadcast |
( |
ElementModifier const & |
iElementModifier | ) |
|
|
inline |
Enqueues the value to be delivered to the GUI (or whoever is listening to messages).
Note that this call returns right away. The packaging and delivery will happen in a GUI thread. This method is called by RT thread. Use this flavor to avoid copy.
◆ broadcastIf()
bool broadcastIf |
( |
ElementModifier const & |
iElementModifier | ) |
|
|
inline |
Enqueues the value to be delivered to the GUI (or whoever is listening to messages).
Note that this call returns right away. The packaging and delivery will happen in a GUI thread. This method is called by RT thread. Use this flavor to avoid copy. This flavor uses a callback that returns true when the broadcast should happen and false otherwise.
◆ broadcastValue()
void broadcastValue |
( |
ParamType const & |
iValue | ) |
|
|
inline |
Enqueues the value to be delivered to the GUI (or whoever is listening to messages).
Note that this call returns right away. The packaging and delivery will happen in a GUI thread. This method is called by RT thread.
◆ getParamDefT()
JmbParamDef<T> const* getParamDefT |
( |
| ) |
const |
|
inline |
◆ hasUpdate()
◆ writeToMessage()
tresult writeToMessage |
( |
Message & |
oMessage | ) |
|
|
overridevirtual |
◆ writeToStream()
void writeToStream |
( |
std::ostream & |
oStream | ) |
const |
|
overridevirtual |
◆ fUpdateQueue
The documentation for this class was generated from the following file: