UIntStoredParameter class. A uint parameter class that contains an uint variable.
More...
#include <UIntStoredParameter.hpp>
|
WASM | UIntStoredParameter (const std::string name, const uint defaultValue, const uint minimumValue, const uint maximumValue) |
| UIntStoredParameter constructor with a default value.
|
|
WASM uint | getValue () const override |
| Gets the current value of the parameter.
|
|
WASM void | setValue (const uint newValue) override |
| Sets a new value for the parameter.
|
|
WASM uint | getMinimumValue () const override |
| Gets the minimum value for the parameter.
|
|
WASM uint | getMaximumValue () const override |
| Gets the maximum value for the parameter.
|
|
| UIntParameter (const std::string name) |
| UIntParameter constructor.
|
|
virtual | ~UIntParameter ()=default |
| UIntParameter destructor.
|
|
| 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.
|
|
|
enum class | Type { Float
, Bool
, Int
, UInt
} |
|
Type | type |
|
std::string | name |
|
UIntStoredParameter class. A uint parameter class that contains an uint variable.
◆ UIntStoredParameter()
switchboard::UIntStoredParameter::UIntStoredParameter |
( |
const std::string | name, |
|
|
const uint | defaultValue, |
|
|
const uint | minimumValue, |
|
|
const uint | maximumValue ) |
UIntStoredParameter constructor with a default value.
- Parameters
-
name | The name of the parameter. |
defaultValue | Default uint value. |
minimumValue | Minimum value for the parameter. |
maximumValue | Maximum value for the parameter. |
◆ getMaximumValue()
uint switchboard::UIntStoredParameter::getMaximumValue |
( |
| ) |
const |
|
overridevirtual |
◆ getMinimumValue()
uint switchboard::UIntStoredParameter::getMinimumValue |
( |
| ) |
const |
|
overridevirtual |
◆ getValue()
uint switchboard::UIntStoredParameter::getValue |
( |
| ) |
const |
|
overridevirtual |
◆ setValue()
void switchboard::UIntStoredParameter::setValue |
( |
const uint | newValue | ) |
|
|
overridevirtual |