24 #ifndef _INTERFACES_DYNAMICRECONFIGUREINTERFACE_H_ 25 #define _INTERFACES_DYNAMICRECONFIGUREINTERFACE_H_ 27 #include <interface/interface.h> 28 #include <interface/message.h> 29 #include <interface/field_iterator.h> 50 typedef struct __attribute__((packed)) {
51 int64_t timestamp_sec;
52 int64_t timestamp_usec;
62 } DynamicReconfigureInterface_data_t;
64 DynamicReconfigureInterface_data_t *data;
73 typedef struct __attribute__((packed)) {
74 int64_t timestamp_sec;
75 int64_t timestamp_usec;
79 } SetBoolMessage_data_t;
81 SetBoolMessage_data_t *data;
85 SetBoolMessage(
const char * ini_service,
const char * ini_parameter,
const bool ini_value);
107 typedef struct __attribute__((packed)) {
108 int64_t timestamp_sec;
109 int64_t timestamp_usec;
113 } SetStringMessage_data_t;
115 SetStringMessage_data_t *data;
119 SetStringMessage(
const char * ini_service,
const char * ini_parameter,
const char * ini_value);
131 char *
value()
const;
141 typedef struct __attribute__((packed)) {
142 int64_t timestamp_sec;
143 int64_t timestamp_usec;
147 } SetUint32Message_data_t;
149 SetUint32Message_data_t *data;
153 SetUint32Message(
const char * ini_service,
const char * ini_parameter,
const uint32_t ini_value);
165 uint32_t
value()
const;
166 void set_value(
const uint32_t new_value);
175 typedef struct __attribute__((packed)) {
176 int64_t timestamp_sec;
177 int64_t timestamp_usec;
181 } SetUint64Message_data_t;
183 SetUint64Message_data_t *data;
187 SetUint64Message(
const char * ini_service,
const char * ini_parameter,
const uint64_t ini_value);
199 uint64_t
value()
const;
200 void set_value(
const uint64_t new_value);
209 typedef struct __attribute__((packed)) {
210 int64_t timestamp_sec;
211 int64_t timestamp_usec;
215 } SetFloatMessage_data_t;
217 SetFloatMessage_data_t *data;
221 SetFloatMessage(
const char * ini_service,
const char * ini_parameter,
const float ini_value);
276 virtual const char *
enum_tostring(
const char *enumtype,
int val)
const;
Base class for all messages passed through interfaces in Fawkes BlackBoard.
Fawkes library namespace.
Base class for all Fawkes BlackBoard interfaces.
const char * type() const
Get type of interface.
std::map< int, std::string > interface_enum_map_t
Map of enum integer to string values.