24 #ifndef __INTERFACES_SKILLERDEBUGINTERFACE_H_ 25 #define __INTERFACES_SKILLERDEBUGINTERFACE_H_ 27 #include <interface/interface.h> 28 #include <interface/message.h> 29 #include <interface/field_iterator.h> 52 typedef struct __attribute__((packed)) {
53 int64_t timestamp_sec;
54 int64_t timestamp_usec;
67 } SkillerDebugInterface_data_t;
69 SkillerDebugInterface_data_t *data;
78 typedef struct __attribute__((packed)) {
79 int64_t timestamp_sec;
80 int64_t timestamp_usec;
84 } SetGraphMessage_data_t;
86 SetGraphMessage_data_t *data;
99 virtual Message * clone()
const;
106 typedef struct __attribute__((packed)) {
107 int64_t timestamp_sec;
108 int64_t timestamp_usec;
112 } SetGraphDirectionMessage_data_t;
114 SetGraphDirectionMessage_data_t *data;
127 virtual Message * clone()
const;
134 typedef struct __attribute__((packed)) {
135 int64_t timestamp_sec;
136 int64_t timestamp_usec;
140 } SetGraphColoredMessage_data_t;
142 SetGraphColoredMessage_data_t *data;
155 virtual Message * clone()
const;
168 char *
graph()
const;
180 virtual const char *
enum_tostring(
const char *enumtype,
int val)
const;
void set_graph(const char *new_graph)
Set graph value.
SkillerDebugInterface Fawkes BlackBoard Interface.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
Fawkes library namespace.
size_t maxlenof_graph() const
Get maximum length of graph value.
SetGraphMessage Fawkes BlackBoard Interface Message.
size_t maxlenof_graph_colored() const
Get maximum length of graph_colored value.
Base class for all Fawkes BlackBoard interfaces.
size_t maxlenof_graph_fsm() const
Get maximum length of graph_fsm value.
GraphDirectionEnum graph_dir() const
Get graph_dir value.
const char * type() const
Get type of interface.
void set_graph_colored(const bool new_graph_colored)
Set graph_colored value.
GraphDirectionEnum
Primary direction of the graph.
void set_graph_fsm(const char *new_graph_fsm)
Set graph_fsm value.
SetGraphColoredMessage Fawkes BlackBoard Interface Message.
const char * tostring_GraphDirectionEnum(GraphDirectionEnum value) const
Convert GraphDirectionEnum constant to string.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
bool is_graph_colored() const
Get graph_colored value.
char * graph() const
Get graph value.
size_t maxlenof_graph_dir() const
Get maximum length of graph_dir value.
char * graph_fsm() const
Get graph_fsm value.
void set_graph_dir(const GraphDirectionEnum new_graph_dir)
Set graph_dir value.
SetGraphDirectionMessage Fawkes BlackBoard Interface Message.
std::map< int, std::string > interface_enum_map_t
Map of enum integer to string values.
virtual void copy_values(const Interface *other)
Copy values from other interface.
virtual const char * enum_tostring(const char *enumtype, int val) const
Convert arbitrary enum value to string.
virtual Message * create_message(const char *type) const
Create message based on type name.