53 bool iInvokeCallback =
false);
67 bool iInvokeCallback =
false) {
103 bool iInvokeCallback =
false);
134 bool iInvokeCallback =
false);
152 bool iInvokeCallback =
false);
174 bool iInvokeCallback =
false);
189 bool iInvokeCallback =
false);
207 bool iInvokeCallback =
false);
276 template<
typename TView>
311 bool iInvokeCallback =
false)
313 auto callback = [view = this->
fView, cb2 = std::move(iChangeCallback)] (
GUIVstParam<T> &iParam) {
317 return GUIParamCxAware::registerCallback<T>(iParamDef, std::move(callback), iInvokeCallback);
333 bool iInvokeCallback =
false)
335 auto callback = [view = this->
fView, cb2 = std::move(iChangeCallback)] (
GUIJmbParam<T> &iParam) {
339 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:287
TView * fView
Definition: GUIParamCxAware.h:350
Definition: GUIState.h:39
ChangeListener fListener
Definition: GUIParamCxAware.h:351
Definition: GUIRawVstParameter.h:211
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:293
void unregisterAll()
Definition: GUIParamCxAware.cpp:136
void onParameterChange(ParamID iParamID) override
Definition: GUIParamCxAware.h:259
std::function< void(TView *, ParamID)> ChangeListener
Definition: GUIParamCxAware.h:284
GUIRawVstParam registerRawVstCallback(ParamID iParamID, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.cpp:86
virtual void registerParameters()
Definition: GUIParamCxAware.h:217
void invokeAll()
Definition: GUIParamCxAware.cpp:145
Definition: GUIParamCxAware.h:277
Definition: GUIJmbParameter.h:230
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:309
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
bool __internal__registerVstControl(int32_t iParamID, T &oControlValue, GUIVstParam< T > &oGUIVstParam)
Definition: GUIParamCxAware.hpp:188
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:267
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:331
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:343
Definition: Parameters.h:45
std::function< void(TView *, Param &)> ChangeCallback2
Definition: Parameters.h:69