Caffa
1.1.0
C++ Application Framework for Embedded Systems with introspection
|
Public Member Functions | |
DataFieldAccessor (Client *client, caffa::FieldHandle *fieldHandle) | |
std::unique_ptr< caffa::DataFieldAccessor< DataType > > | clone () const override |
Clone the accessor using polymorphism. More... | |
DataType | value () override |
Get the field value. More... | |
void | setValue (const DataType &value) override |
Set the value with the accessor. Will throw a std::runtime_exception if the accessor has limits and the value is outside those limits. More... | |
bool | hasGetter () const override |
bool | hasSetter () const override |
|
inlineoverridevirtual |
Clone the accessor using polymorphism.
Implements caffa::DataFieldAccessor< DataType >.
|
inlineoverridevirtual |
The accessor has a setter. Thus can be written to.
Implements caffa::DataFieldAccessor< DataType >.
|
inlineoverridevirtual |
The accessor has a getter. Thus can be read.
Implements caffa::DataFieldAccessor< DataType >.
|
inlineoverridevirtual |
Set the value with the accessor. Will throw a std::runtime_exception if the accessor has limits and the value is outside those limits.
value | The value to set |
Implements caffa::DataFieldAccessor< DataType >.
|
inlineoverridevirtual |