21#include <vstgui4/vstgui/uidescription/delegationcontroller.h>
37 explicit CustomController(IController *iBaseController) : DelegationController(iBaseController) {}
50template<
typename TGUIState>
54 static_assert(std::is_convertible<TGUIState *, GUIState*>::value,
"TGUIState must be a subclass of GUIState");
80 template<
typename TView>
98template<
typename TGUIState>
This class is inherited by classes who want to be aware of parameters and be notified when they chang...
Definition ParamAware.h:65
virtual void initState(GUIState *iGUIState)
Called during initialization.
Definition ParamAware.cpp:37
This subclass allows for registering callbacks to any kind of view without having to inherit from it.
Definition ParamAware.h:563
CustomController(IController *iBaseController)
Definition CustomController.h:37
PluginCustomController(IController *iBaseController)
Definition CustomController.h:102
ParamAwareView< TView > * makeParamAware(TView *iView)
Allow for registering an arbitrary callback on an arbitrary view without having to inherit from the v...
Definition CustomController.h:81
void initState(GUIState *iGUIState) override
Overriden to call both ParamAware::initState() and StateAware::initState().
Definition CustomController.h:88
StateAwareCustomController(IController *iBaseController)
Definition CustomController.h:58
This class is used to get access to the GUI state and parameters of the plugin with their actual type...
Definition StateAware.h:32
TGUIState * fState
Gives access to the GUI state (ex: fState->fLabelA).
Definition StateAware.h:53
virtual void initState(GUIState *iGUIState)
This method is called by Jamba automatically to initialize the state.
Definition StateAware.h:42
Definition CustomController.h:25