StateElement
class StateElement : public GenericElement<StateElement>
@brief The StateElement represents a leaf and needs to be of type State
Functions
| Name | Description |
|---|---|
| options | The options method specifies values allowed for the parameter. |
| initialValue | The initialValue method serves for setting up the initial value reported for this parameter. |
Function Details
initialValue
StateElement& initialValue(const karabo::data::State& s)
The initialValue method serves for setting up the initial value reported for this parameter.
val
: Initial value
Return : reference to the Element for proper methods chaining
options
StateElement& options(const karabo::data::State& s1)
The options method specifies values allowed for the parameter.
one
: to eight States or a vector of States
Return : reference to the StateElement