Jamba C++ API 7.5.0
Loading...
Searching...
No Matches
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

template<class ElementModifier>
void broadcast (ElementModifier const &iElementModifier)
 Enqueues the value to be delivered to the GUI (or whoever is listening to messages).
void broadcast (T const &iValue)
 Enqueues the value to be delivered to the GUI (or whoever is listening to messages).
template<class ElementModifier>
bool broadcastIf (ElementModifier const &iElementModifier)
 Enqueues the value to be delivered to the GUI (or whoever is listening to messages).
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>
RTJmbOutParam ( RTJmbOutParameter< T > * iPtr)
inline

Member Function Documentation

◆ broadcast() [1/2]

template<typename T>
template<class ElementModifier>
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.

◆ broadcast() [2/2]

template<typename T>
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.

◆ broadcastIf()

template<typename T>
template<class ElementModifier>
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()

template<typename T>
ParamID getParamID ( ) const
inline

Member Data Documentation

◆ fPtr

template<typename T>
RTJmbOutParameter<T>* fPtr
private

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