Fawkes API
Fawkes Development Version
|
24 #ifndef _INTERFACE_FIELD_POINTER_H_
25 #define _INTERFACE_FIELD_POINTER_H_
27 #include <interface/interface.h>
28 #include <interface/types.h>
37 template <
typename FieldType>
38 class InterfaceFieldPointer
92 volatile FieldType * value_;
void set_value(FieldType value)
Set value of the field.
interface_fieldtype_t
Interface field type.
FieldType get_value() const
Get current value of the field.
const char * get_name() const
Get name of the field.
InterfaceFieldPointer(interface_fieldtype_t type, const char *name, FieldType *value)
Constructor.
interface_fieldtype_t get_type() const
Get the type of the field.