36 return fParamCxMgr->registerVstParam<T>(iParamID, iSubscribeToChanges ? this :
nullptr);
50 return fParamCxMgr->registerVstCallback<T>(iParamID, std::move(iChangeCallback), iInvokeCallback);
62 return fParamCxMgr->registerVstParam(iParamDef, iSubscribeToChanges ?
this :
nullptr);
77 return fParamCxMgr->registerVstCallback(iParamDef, std::move(iChangeCallback), iInvokeCallback);
90 return fParamCxMgr ?
fParamCxMgr->registerVstCallback(iParamDef, std::move(iChangeCallback), iInvokeCallback) :
false;
100 return fParamCxMgr->registerJmbParam(iParamDef,
this);
111 bool iInvokeCallback)
114 return fParamCxMgr->registerJmbCallback(iParamDef, std::move(iChangeCallback), iInvokeCallback);
125 bool iInvokeCallback)
129 fParamCxMgr->registerJmbCallback(iParamDef, std::move(iChangeCallback), iInvokeCallback);
143 return fParamCxMgr->registerJmbParam<T>(iParamID, iSubscribeToChanges ? this :
nullptr);
154 bool iInvokeCallback)
157 return fParamCxMgr->registerJmbCallback<T>(iParamID, std::move(iChangeCallback), iInvokeCallback);
197 oControlValue = oGUIVstParam.
getValue();
206 oGUIVstParam = registerVstParam<T>(static_cast<ParamID>(iParamID));
T getValue() const
Definition: GUIVstParameter.h:264
std::shared_ptr< VstParamDef< T > > VstParam
Definition: ParamDef.h:358
Definition: GUIVstParameter.h:238
bool __internal__registerVstControl(int32_t iParamID, T &oControlValue, GUIVstParam< T > &oParam)
Definition: GUIParamCxAware.hpp:188
ParamID getParamID() const
Definition: GUIVstParameter.h:259
bool exists() const
Definition: GUIJmbParameter.h:245
Definition: GUIJmbParameter.h:237
bool unregisterParam(ParamID iParamID)
Definition: GUIParamCxAware.cpp:126
ParamID getParamID() const
Definition: GUIJmbParameter.h:248
std::function< void()> ChangeCallback
Definition: Parameters.h:57
bool exists() const
Definition: GUIVstParameter.h:256
GUIVstParam< T > registerVstCallback(ParamID iParamID, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.hpp:45
std::unique_ptr< GUIParamCxMgr > fParamCxMgr
Definition: GUIParamCxAware.h:289
GUIRawVstParam registerCallback(RawVstParam const &iParamDef, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.h:75
GUIJmbParam< T > registerJmbParam(ParamID iParamID, bool iSubscribeToChanges=true)
Definition: GUIParamCxAware.hpp:140
GUIJmbParam< T > registerJmbCallback(ParamID iParamID, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.hpp:152
GUIVstParam< T > registerVstParam(ParamID iParamID, bool iSubscribeToChanges=true)
Definition: GUIParamCxAware.hpp:33
std::function< void(Param &)> ChangeCallback1
Definition: Parameters.h:63
bool registerParam(int32_t iParamID, GUIRawVstParam &oGUIRawVstParam)
Definition: GUIParamCxAware.cpp:56