Definition of a stateful control's constraint. More...
#include "api/interface_definition.h"
Public Member Functions | |
virtual const IValueRange * | get_value_range () const =0 |
Get value range. More... | |
virtual const value_set * | get_allowed_states () const =0 |
Get allowed states. More... | |
Definition of a stateful control's constraint.
All stateful controls must have a constraint, and the constraint must be either a range of values (min to max), or a set of allowed values (an enumeration).
|
pure virtual |
Get allowed states.
|
pure virtual |
Get value range.