63 bool iInvokeCallback =
false);
77 bool iInvokeCallback =
false) {
113 bool iInvokeCallback =
false);
156 bool iInvokeCallback =
false);
174 bool iInvokeCallback =
false);
196 bool iInvokeCallback =
false);
211 bool iInvokeCallback =
false);
229 bool iInvokeCallback =
false);
298 template<
typename TView>
333 bool iInvokeCallback =
false)
335 auto callback = [view = this->
fView, cb2 = std::move(iChangeCallback)] (
GUIVstParam<T> &iParam) {
339 return GUIParamCxAware::registerCallback<T>(iParamDef, std::move(callback), iInvokeCallback);
355 bool iInvokeCallback =
false)
357 auto callback = [view = this->
fView, cb2 = std::move(iChangeCallback)] (
GUIJmbParam<T> &iParam) {
361 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:309
TView * fView
Definition: GUIParamCxAware.h:372
Definition: GUIState.h:39
ChangeListener fListener
Definition: GUIParamCxAware.h:373
Definition: GUIRawVstParameter.h:216
GUIVstParam< Percent > registerVstPercentParam(ParamID iParamID, bool iSubscribeToChanges=true)
Definition: GUIParamCxAware.cpp:117
GUIVstParam< bool > registerVstBooleanParam(ParamID iParamID, bool iSubscribeToChanges=true)
Definition: GUIParamCxAware.cpp:109
void registerListener(ChangeListener iListener)
Definition: GUIParamCxAware.h:315
void unregisterAll()
Definition: GUIParamCxAware.cpp:146
void onParameterChange(ParamID iParamID) override
Definition: GUIParamCxAware.h:281
std::function< void(TView *, ParamID)> ChangeListener
Definition: GUIParamCxAware.h:306
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:96
virtual void registerParameters()
Definition: GUIParamCxAware.h:239
void invokeAll()
Definition: GUIParamCxAware.cpp:155
Definition: GUIParamCxAware.h:299
Definition: GUIJmbParameter.h:237
bool unregisterParam(ParamID iParamID)
Definition: GUIParamCxAware.cpp:126
bool registerCallback(VstParam< T > const &iParamDef, Parameters::ChangeCallback2< TView, GUIVstParam< T >> iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.h:331
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:65
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:68
std::unique_ptr< GUIParamCxMgr > fParamCxMgr
Definition: GUIParamCxAware.h:289
GUIRawVstParam registerCallback(RawVstParam const &iParamDef, Parameters::ChangeCallback iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.h:75
bool registerCallback(GUIJmbParam< T > &iParam, Parameters::ChangeCallback2< TView, GUIJmbParam< T >> iChangeCallback, bool iInvokeCallback=false)
Definition: GUIParamCxAware.h:353
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:365
Definition: Parameters.h:45
bool registerParam(int32_t iParamID, GUIRawVstParam &oGUIRawVstParam)
Definition: GUIParamCxAware.cpp:56
std::function< void(TView *, Param &)> ChangeCallback2
Definition: Parameters.h:69