Switchboard SDK
|
UInt parameter abstract class. Intended to be subclassed. More...
#include <UIntParameter.hpp>
Public Member Functions | |
UIntParameter (const std::string name) | |
UIntParameter constructor. | |
virtual | ~UIntParameter ()=default |
UIntParameter destructor. | |
virtual uint | getValue () const =0 |
Gets the current value of the parameter. | |
virtual void | setValue (const uint newValue)=0 |
Sets a new value for the parameter. | |
virtual uint | getMinimumValue () const =0 |
Gets the minimum value for the parameter. | |
virtual uint | getMaximumValue () const =0 |
Gets the maximum value for the parameter. | |
Public Member Functions inherited from switchboard::Parameter | |
Parameter (const Type type, const std::string name) | |
virtual | ~Parameter ()=default |
Parameter destructor. | |
const std::string & | getName () const |
Gets the name of the parameter. | |
Type | getType () const |
Gets the type of the parameter. | |
Additional Inherited Members | |
Public Types inherited from switchboard::Parameter | |
enum class | Type { Float , Bool , Int , UInt } |
Protected Attributes inherited from switchboard::Parameter | |
Type | type |
std::string | name |
UInt parameter abstract class. Intended to be subclassed.
switchboard::UIntParameter::UIntParameter | ( | const std::string | name | ) |
UIntParameter constructor.
name | The name of the parameter. |
|
pure virtual |
Gets the maximum value for the parameter.
Implemented in switchboard::UIntCallbackParameter< T >, switchboard::UIntPointerParameter, and switchboard::UIntStoredParameter.
|
pure virtual |
Gets the minimum value for the parameter.
Implemented in switchboard::UIntCallbackParameter< T >, switchboard::UIntPointerParameter, and switchboard::UIntStoredParameter.
|
pure virtual |
Gets the current value of the parameter.
Implemented in switchboard::UIntCallbackParameter< T >, switchboard::UIntPointerParameter, and switchboard::UIntStoredParameter.
|
pure virtual |
Sets a new value for the parameter.
newValue | The new value for the parameter. |
Implemented in switchboard::UIntCallbackParameter< T >, switchboard::UIntPointerParameter, and switchboard::UIntStoredParameter.