53 bool iInvokeCallback =
false);
67 bool iInvokeCallback =
false) {
103 bool iInvokeCallback =
false);
146 bool iInvokeCallback =
false);
164 bool iInvokeCallback =
false);
186 bool iInvokeCallback =
false);
201 bool iInvokeCallback =
false);
219 bool iInvokeCallback =
false);
288 template<
typename TView>
323 bool iInvokeCallback =
false)
325 auto callback = [view = this->
fView, cb2 = std::move(iChangeCallback)] (
GUIVstParam<T> &iParam) {
329 return GUIParamCxAware::registerCallback<T>(iParamDef, std::move(callback), iInvokeCallback);
345 bool iInvokeCallback =
false)
347 auto callback = [view = this->
fView, cb2 = std::move(iChangeCallback)] (
GUIJmbParam<T> &iParam) {
351 return GUIParamCxAware::registerCallback<T>(iParam, std::move(callback), iInvokeCallback);
GUIRawVstParam registerRawVstParam(ParamID iParamID, bool iSubscribeToChanges=true)
Definition: GUIParamCxAware.cpp:45
std::shared_ptr< VstParamDef< T > > VstParam
Definition: ParamDef.h:358
ViewGUIParamCxAware(TView *iView)
Definition: GUIParamCxAware.h:299
TView * fView
Definition: GUIParamCxAware.h:362
Definition: GUIState.h:39
ChangeListener fListener
Definition: GUIParamCxAware.h:363
Definition: GUIRawVstParameter.h:216
GUIVstParam< Percent > registerVstPercentParam(ParamID iParamID, bool iSubscribeToChanges=true)
Definition: GUIParamCxAware.cpp:107
GUIVstParam< bool > registerVstBooleanParam(ParamID iParamID, bool iSubscribeToChanges=true)
Definition: GUIParamCxAware.cpp:99
void registerListener(ChangeListener iListener)
Definition: GUIParamCxAware.h:305
void unregisterAll()
Definition: GUIParamCxAware.cpp:136
void onParameterChange(ParamID iParamID) override
Definition: GUIParamCxAware.h:271
std::function< void(TView *, ParamID)> ChangeListener
Definition: GUIParamCxAware.h:296
bool __internal__registerVstControl(int32_t iParamID, T &oControlValue, GUIVstParam< T > &oParam)
Definition: GUIParamCxAware.hpp:188
GUIRawVstParam registerRawVstCallback(ParamID iParamID, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.cpp:86
virtual void registerParameters()
Definition: GUIParamCxAware.h:229
void invokeAll()
Definition: GUIParamCxAware.cpp:145
Definition: GUIParamCxAware.h:289
Definition: GUIJmbParameter.h:237
bool unregisterParam(ParamID iParamID)
Definition: GUIParamCxAware.cpp:116
bool registerCallback(VstParam< T > const &iParamDef, Parameters::ChangeCallback2< TView, GUIVstParam< T >> iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.h:321
std::shared_ptr< RawVstParamDef > RawVstParam
Definition: ParamDef.h:359
std::function< void()> ChangeCallback
Definition: Parameters.h:57
virtual ~GUIParamCxAware()
Definition: GUIParamCxAware.cpp:29
bool __internal__registerRawVstControl(int32_t iParamID, ParamValue &oControlValue, GUIRawVstParam &oGUIRawVstParam)
Definition: GUIParamCxAware.cpp:56
Definition: GUIParamCxAware.h:38
virtual void initState(GUIState *iGUIState)
Definition: GUIParamCxAware.cpp:37
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:279
GUIRawVstParam registerCallback(RawVstParam const &iParamDef, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.h:65
bool registerCallback(GUIJmbParam< T > &iParam, Parameters::ChangeCallback2< TView, GUIJmbParam< T >> iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.h:343
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
void onParameterChange(ParamID iParamID) override
Definition: GUIParamCxAware.h:355
Definition: Parameters.h:45
std::function< void(TView *, Param &)> ChangeCallback2
Definition: Parameters.h:69