20 #include <vstgui4/vstgui/uidescription/delegationcontroller.h> 36 explicit CustomController(IController *iBaseController) : DelegationController(iBaseController) {}
49 template<
typename TGUIState>
53 static_assert(std::is_convertible<TGUIState *, GUIState*>::value,
"TGUIState must be a subclass of GUIState");
79 template<
typename TView>
97 template<
typename TGUIState>
Override from this class if you need to implement a controller specific to a given plugin.
Definition: CustomController.h:50
This class is inherited by classes who want to be aware of parameters and be notified when they chang...
Definition: ParamAware.h:63
This class is used to get access to the GUI state and parameters of the plugin with their actual type...
Definition: StateAware.h:30
Definition: GUIState.h:40
Base class that a custom controller can inherit from.
Definition: CustomController.h:32
Definition: CustomController.h:98
CustomController(IController *iBaseController)
Definition: CustomController.h:36
virtual void initState(GUIState *iGUIState)
Called during initialization.
Definition: ParamAware.cpp:36
StateAwareCustomController(IController *iBaseController)
Definition: CustomController.h:57
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:80
virtual void initState(GUIState *iGUIState)
This method is called by Jamba automatically to initialize the state.
Definition: StateAware.h:41
Definition: CustomController.h:24
This subclass allows for registering callbacks to any kind of view without having to inherit from it.
Definition: ParamAware.h:561
void initState(GUIState *iGUIState) override
Overriden to call both ParamAware::initState() and StateAware::initState()
Definition: CustomController.h:87
PluginCustomController(IController *iBaseController)
Definition: CustomController.h:101