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();
205 oGUIVstParam = registerVstParam<T>(static_cast<ParamID>(iParamID));
T getValue() const
Definition: GUIVstParameter.h:259
std::shared_ptr< VstParamDef< T > > VstParam
Definition: ParamDef.h:358
Definition: GUIVstParameter.h:233
ParamID getParamID() const
Definition: GUIVstParameter.h:254
bool exists() const
Definition: GUIJmbParameter.h:238
Definition: GUIJmbParameter.h:230
bool unregisterParam(ParamID iParamID)
Definition: GUIParamCxAware.cpp:116
ParamID getParamID() const
Definition: GUIJmbParameter.h:241
std::function< void()> ChangeCallback
Definition: Parameters.h:57
bool exists() const
Definition: GUIVstParameter.h:251
bool __internal__registerVstControl(int32_t iParamID, T &oControlValue, GUIVstParam< T > &oGUIVstParam)
Definition: GUIParamCxAware.hpp:188
GUIVstParam< T > registerVstCallback(ParamID iParamID, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.hpp:45
GUIRawVstParam registerParam(RawVstParam const &iParamDef, bool iSubscribeToChanges=true)
Definition: GUIParamCxAware.h:58
std::unique_ptr< GUIParamCxMgr > fParamCxMgr
Definition: GUIParamCxAware.h:267
GUIRawVstParam registerCallback(RawVstParam const &iParamDef, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.h:65
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