Jamba  3.0.2
pongasoft::VST::RT::RTRawVstParam Class Reference

#include <RTParameter.h>

Public Member Functions

tresult addToOutput (ProcessData &oData)
 
ParamID getParamID () const
 
ParamValue const & getValue () const
 
bool hasChanged () const
 
 operator ParamValue const & () const
 
ParamValue const & previous () const
 
 RTRawVstParam (RTRawVstParameter *iPtr)
 
void update (ParamValue const &iNewValue)
 
void update (ParamValue const &iNewValue, ProcessData &oData)
 
ParamValue const & value () const
 

Private Attributes

RTRawVstParameterfPtr
 

Detailed Description

This is the main class that the plugin should use as it exposes only the necessary methods of the param as well as redefine a couple of operators which helps in writing simpler and natural code (the param behaves like T in many ways).

Constructor & Destructor Documentation

◆ RTRawVstParam()

pongasoft::VST::RT::RTRawVstParam::RTRawVstParam ( RTRawVstParameter iPtr)
inline

Member Function Documentation

◆ addToOutput()

tresult pongasoft::VST::RT::RTRawVstParam::addToOutput ( ProcessData &  oData)
inline

Add the current normalized value as an output parameter changes which propagates the change to the vst sdk

◆ getParamID()

ParamID pongasoft::VST::RT::RTRawVstParam::getParamID ( ) const
inline

◆ getValue()

ParamValue const& pongasoft::VST::RT::RTRawVstParam::getValue ( ) const
inline

◆ hasChanged()

bool pongasoft::VST::RT::RTRawVstParam::hasChanged ( ) const
inline
Returns
true if the parameter has changed within the frame (previous and current are different)

◆ operator ParamValue const &()

pongasoft::VST::RT::RTRawVstParam::operator ParamValue const & ( ) const
inline

◆ previous()

ParamValue const& pongasoft::VST::RT::RTRawVstParam::previous ( ) const
inline

◆ update() [1/2]

void pongasoft::VST::RT::RTRawVstParam::update ( ParamValue const &  iNewValue)
inline

This method is typically called during the processing method when the plugin needs to update the value. In general the change needs to be propagated to the VST sdk (using addToOutput). Use this version of the call if you want to control when the update actually happens.

◆ update() [2/2]

void pongasoft::VST::RT::RTRawVstParam::update ( ParamValue const &  iNewValue,
ProcessData &  oData 
)
inline

This method is typically called during the processing method when the plugin needs to update the value. This version will automatically propagate the change to the the VST sdk.

◆ value()

ParamValue const& pongasoft::VST::RT::RTRawVstParam::value ( ) const
inline

Member Data Documentation

◆ fPtr

RTRawVstParameter* pongasoft::VST::RT::RTRawVstParam::fPtr
private

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