Jamba C++ API  4.1.0
RTJmbOutParam< T > Class Template Reference

This is the main class that the plugin should use as it exposes only the necessary methods of the param. More...

#include <RTJmbOutParameter.h>

Public Member Functions

void broadcast (T const &iValue)
 Enqueues the value to be delivered to the GUI (or whoever is listening to messages). More...
 
template<class ElementModifier >
void broadcast (ElementModifier const &iElementModifier)
 Enqueues the value to be delivered to the GUI (or whoever is listening to messages). More...
 
template<class ElementModifier >
bool broadcastIf (ElementModifier const &iElementModifier)
 Enqueues the value to be delivered to the GUI (or whoever is listening to messages). More...
 
ParamID getParamID () const
 
 RTJmbOutParam (RTJmbOutParameter< T > *iPtr)
 

Private Attributes

RTJmbOutParameter< T > * fPtr
 

Detailed Description

template<typename T>
class pongasoft::VST::RT::RTJmbOutParam< T >

This is the main class that the plugin should use as it exposes only the necessary methods of the param.

Template Parameters
Tthe underlying type of the param

Constructor & Destructor Documentation

◆ RTJmbOutParam()

RTJmbOutParam ( RTJmbOutParameter< T > *  iPtr)
inline

Member Function Documentation

◆ broadcast() [1/2]

void broadcast ( T 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.

◆ broadcast() [2/2]

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.

◆ getParamID()

ParamID getParamID ( ) const
inline

Member Data Documentation

◆ fPtr

RTJmbOutParameter<T>* fPtr
private

The documentation for this class was generated from the following file: