Base class for a controllable value with a given type and name. More...
#include <WebServerControl.h>
Public Member Functions | |
TypedValueBase (const std::string &name, const std::string &type) | |
TypedValueBase (const std::string &name, const std::string &type, const T &value) | |
const T & | value () const |
virtual void | setControllableValue (WebServerControl &control) override final |
Sets the controllable value given the name and type via the controllable interface in control . More... | |
const std::string & | name () const |
const std::string & | type () const |
Private Attributes | |
T | _value |
The underlying value. More... | |
Base class for a controllable value with a given type and name.
Definition at line 54 of file WebServerControl.h.
|
inline |
Definition at line 57 of file WebServerControl.h.
|
inline |
Definition at line 58 of file WebServerControl.h.
|
inlineinherited |
Definition at line 55 of file WebServerControlTypeRegistry.h.
Referenced by WebServerControl::TypedValueBase< std::vector< T > >::setControllableValue().
|
inlinefinaloverridevirtual |
Sets the controllable value given the name and type via the controllable interface in control
.
Will broadcast the value for setting it.
Implements Moose::WebServerControlTypeRegistry::ValueBase.
Definition at line 68 of file WebServerControl.h.
|
inlineinherited |
Definition at line 59 of file WebServerControlTypeRegistry.h.
|
inline |
Definition at line 66 of file WebServerControl.h.
Referenced by WebServerControl::TypedValueBase< std::vector< T > >::setControllableValue().
|
private |
The underlying value.
Definition at line 76 of file WebServerControl.h.
Referenced by WebServerControl::TypedValueBase< std::vector< T > >::setControllableValue(), and WebServerControl::TypedValueBase< std::vector< T > >::value().