Jamba  3.0.2
pongasoft::VST::RT::RTJmbOutParam< T > Class Template Reference

#include <RTJmbOutParameter.h>

Public Member Functions

void broadcast (T const &iValue)
 
template<class ElementModifier >
void broadcast (ElementModifier const &iElementModifier)
 
template<class ElementModifier >
bool broadcastIf (ElementModifier const &iElementModifier)
 
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()

template<typename T>
pongasoft::VST::RT::RTJmbOutParam< T >::RTJmbOutParam ( RTJmbOutParameter< T > *  iPtr)
inline

Member Function Documentation

◆ broadcast() [1/2]

template<typename T>
void pongasoft::VST::RT::RTJmbOutParam< T >::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]

template<typename T>
template<class ElementModifier >
void pongasoft::VST::RT::RTJmbOutParam< T >::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()

template<typename T>
template<class ElementModifier >
bool pongasoft::VST::RT::RTJmbOutParam< T >::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()

template<typename T>
ParamID pongasoft::VST::RT::RTJmbOutParam< T >::getParamID ( ) const
inline

Member Data Documentation

◆ fPtr

template<typename T>
RTJmbOutParameter<T>* pongasoft::VST::RT::RTJmbOutParam< T >::fPtr
private

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