#include <Selectors/Selector.hpp>
Base class for all Selectors exposing the get
method, so it can be used by display elements etc, without having to provide the full generic type.
A set
method is not provided, because that would require either more virtual functions, or a rather large refactoring.
Definition at line 39 of file Selector.hpp.
Public Member Functions | |
setting_t | get () const |
Get the current selection/setting. | |
Protected Member Functions | |
SelectorBase ()=default | |
Constructor. | |
Protected Attributes | |
setting_t | setting = 0 |
The selection of the selector. | |
|
protecteddefault |
Constructor.
|
inline |
Get the current selection/setting.
Definition at line 46 of file Selector.hpp.
|
protected |
The selection of the selector.
It is saved in the selector as well as the selectable, because you need it in order to implement increment/decrement methods.
Definition at line 52 of file Selector.hpp.