24 #ifndef __INTERFACES_ECLIPSEDEBUGGERINTERFACE_H_ 25 #define __INTERFACES_ECLIPSEDEBUGGERINTERFACE_H_ 27 #include <interface/interface.h> 28 #include <interface/message.h> 29 #include <interface/field_iterator.h> 43 typedef struct __attribute__((packed)) {
44 int64_t timestamp_sec;
45 int64_t timestamp_usec;
48 } EclipseDebuggerInterface_data_t;
50 EclipseDebuggerInterface_data_t *data;
58 typedef struct __attribute__((packed)) {
59 int64_t timestamp_sec;
60 int64_t timestamp_usec;
61 } ConnectionMessage_data_t;
63 ConnectionMessage_data_t *data;
71 virtual Message * clone()
const;
81 uint16_t
port()
const;
82 void set_port(
const uint16_t new_port);
85 void set_host(
const char * new_host);
90 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.
size_t maxlenof_host() const
Get maximum length of host value.
virtual void copy_values(const Interface *other)
Copy values from other interface.
Base class for all Fawkes BlackBoard interfaces.
void set_host(const char *new_host)
Set host value.
size_t maxlenof_port() const
Get maximum length of port value.
const char * type() const
Get type of interface.
EclipseDebuggerInterface Fawkes BlackBoard Interface.
uint16_t port() const
Get port value.
char * host() const
Get host value.
virtual Message * create_message(const char *type) const
Create message based on type name.
ConnectionMessage Fawkes BlackBoard Interface Message.
void set_port(const uint16_t new_port)
Set port value.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
virtual const char * enum_tostring(const char *enumtype, int val) const
Convert arbitrary enum value to string.