The base class for the connection implementation of each UI widget. More...
Protected Member Functions | |
| ComponentType & | getComponent () |
| Returns a reference to the component. More... | |
| void | parameterChangedFromUI (ValueType newValue) |
| Call this method from your subclass's listener callback. More... | |
| virtual void | updateUI (ValueType newValue)=0 |
| Overwrite this method and change the displayed value on your Component. More... | |
Additional Inherited Members | |
Public Member Functions inherited from ControlledObject | |
| ControlledObject (MainController *m) | |
| Creates a new ControlledObject. More... | |
| const MainController * | getMainController () const noexcept |
| Provides read-only access to the main controller. More... | |
| MainController * | getMainController () noexcept |
| Provides write access to the main controller. More... | |
The base class for the connection implementation of each UI widget.
There are three available UI widgets: the ComboBox, the Slider and the Button.
If you need more UI widgets or hook them up to your own classes, make sure that:
|
inlineprotected |
Returns a reference to the component.
It is safe to assume that it's not deleted in the UI callbacks.
|
protected |
Call this method from your subclass's listener callback.
|
protectedpure virtual |
Overwrite this method and change the displayed value on your Component.