Fawkes API
Fawkes Development Version
|
24 #ifndef _INTERFACES_POSITION2DTRACKINTERFACE_H_
25 #define _INTERFACES_POSITION2DTRACKINTERFACE_H_
27 #include <interface/interface.h>
28 #include <interface/message.h>
29 #include <interface/field_iterator.h>
44 int64_t timestamp_sec;
45 int64_t timestamp_usec;
60 } Position2DTrackInterface_data_t;
62 Position2DTrackInterface_data_t *data;
97 virtual const char *
enum_tostring(
const char *enumtype,
int val)
const;
size_t maxlenof_track_x_positions() const
Get maximum length of track_x_positions value.
virtual void copy_values(const Interface *other)
Copy values from other interface.
size_t maxlenof_track_timestamps() const
Get maximum length of track_timestamps value.
size_t maxlenof_length() const
Get maximum length of length value.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
void set_length(const uint32_t new_length)
Set length value.
size_t maxlenof_track_id() const
Get maximum length of track_id value.
const char * type() const
Get type of interface.
int32_t * track_timestamps() const
Get track_timestamps value.
Fawkes library namespace.
Base class for all Fawkes BlackBoard interfaces.
float * track_x_positions() const
Get track_x_positions value.
void set_track_x_positions(unsigned int index, const float new_track_x_positions)
Set track_x_positions value at given index.
void set_track_id(const uint32_t new_track_id)
Set track_id value.
virtual Message * create_message(const char *type) const
Create message based on type name.
size_t maxlenof_track_y_positions() const
Get maximum length of track_y_positions value.
uint32_t length() const
Get length value.
uint32_t track_id() const
Get track_id value.
virtual const char * enum_tostring(const char *enumtype, int val) const
Convert arbitrary enum value to string.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
Position2DTrackInterface Fawkes BlackBoard Interface.
float * track_y_positions() const
Get track_y_positions value.
void set_track_y_positions(unsigned int index, const float new_track_y_positions)
Set track_y_positions value at given index.
void set_track_timestamps(unsigned int index, const int32_t new_track_timestamps)
Set track_timestamps value at given index.