Fawkes API
Fawkes Development Version
|
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>
33 class SkillerDebugInterface :
public Interface
36 INTERFACE_MGMT_FRIENDS(SkillerDebugInterface)
53 int64_t timestamp_sec;
54 int64_t timestamp_usec;
67 } SkillerDebugInterface_data_t;
69 SkillerDebugInterface_data_t *data;
74 class SetGraphMessage :
public Message
79 int64_t timestamp_sec;
80 int64_t timestamp_usec;
84 } SetGraphMessage_data_t;
86 SetGraphMessage_data_t *data;
102 class SetGraphDirectionMessage :
public Message
107 int64_t timestamp_sec;
108 int64_t timestamp_usec;
112 } SetGraphDirectionMessage_data_t;
114 SetGraphDirectionMessage_data_t *data;
130 class SetGraphColoredMessage :
public Message
135 int64_t timestamp_sec;
136 int64_t timestamp_usec;
140 } SetGraphColoredMessage_data_t;
142 SetGraphColoredMessage_data_t *data;
168 char *
graph()
const;
180 virtual const char *
enum_tostring(
const char *enumtype,
int val)
const;
size_t maxlenof_graph() const
Get maximum length of graph value.
void set_graph_colored(const bool new_graph_colored)
Set graph_colored value.
void set_graph_fsm(const char *new_graph_fsm)
Set graph_fsm value.
void set_graph_colored(const bool new_graph_colored)
Set graph_colored value.
void set_graph(const char *new_graph)
Set graph value.
SetGraphMessage()
Constructor.
void set_graph_fsm(const char *new_graph_fsm)
Set graph_fsm value.
size_t maxlenof_graph_fsm() const
Get maximum length of graph_fsm value.
const char * type() const
Get type of interface.
virtual Message * clone() const
Clone this message.
bool is_graph_colored() const
Get graph_colored value.
GraphDirectionEnum
Primary direction of the graph.
GraphDirectionEnum graph_dir() const
Get graph_dir value.
~SetGraphDirectionMessage()
Destructor.
SetGraphColoredMessage()
Constructor.
~SetGraphMessage()
Destructor.
void set_graph_dir(const GraphDirectionEnum new_graph_dir)
Set graph_dir value.
SetGraphDirectionMessage()
Constructor.
~SetGraphColoredMessage()
Destructor.
char * graph_fsm() const
Get graph_fsm value.
virtual void copy_values(const Interface *other)
Copy values from other interface.
virtual Message * create_message(const char *type) const
bool is_graph_colored() const
Get graph_colored value.
std::map< int, std::string > interface_enum_map_t
Map of enum integer to string values.
size_t maxlenof_graph_fsm() const
Get maximum length of graph_fsm value.
size_t maxlenof_graph_dir() const
Get maximum length of graph_dir value.
size_t maxlenof_graph_colored() const
Get maximum length of graph_colored value.
virtual Message * clone() const
Clone this message.
const char * tostring_GraphDirectionEnum(GraphDirectionEnum value) const
Convert GraphDirectionEnum constant to string.
char * graph_fsm() const
Get graph_fsm value.
char * graph() const
Get graph value.
void set_graph_dir(const GraphDirectionEnum new_graph_dir)
Set graph_dir value.
size_t maxlenof_graph_dir() const
Get maximum length of graph_dir value.
virtual const char * enum_tostring(const char *enumtype, int val) const
virtual Message * clone() const
Clone this message.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
size_t maxlenof_graph_colored() const
Get maximum length of graph_colored value.
GraphDirectionEnum graph_dir() const
Get graph_dir value.