#include <Message_data.h>
Public Member Functions | |
DataEncoders (void *input, size_t msg_len) | |
DataEncoders (const DataEncoders &other) | |
uint8_t | getCount () |
double | getSpeed (uint8_t index) |
double | getTravel (uint8_t index) |
virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
Static Public Member Functions | |
static enum MessageTypes | getTypeID () |
static DataEncoders * | getUpdate (double timeout=0) |
static DataEncoders * | popNext () |
static void | subscribe (uint16_t freq) |
static DataEncoders * | waitNext (double timeout=0) |
Private Attributes | |
size_t | speeds_offset |
size_t | travels_offset |
Definition at line 245 of file Message_data.h.
clearpath::DataEncoders::DataEncoders | ( | void * | input, |
size_t | msg_len | ||
) |
Definition at line 252 of file Message_data.cpp.
clearpath::DataEncoders::DataEncoders | ( | const DataEncoders & | other | ) |
Definition at line 265 of file Message_data.cpp.
uint8_t clearpath::DataEncoders::getCount | ( | ) |
Definition at line 271 of file Message_data.cpp.
double clearpath::DataEncoders::getSpeed | ( | uint8_t | index | ) |
Definition at line 281 of file Message_data.cpp.
double clearpath::DataEncoders::getTravel | ( | uint8_t | index | ) |
Definition at line 276 of file Message_data.cpp.
static enum MessageTypes clearpath::DataEncoders::getTypeID | ( | ) | [static] |
static DataEncoders* clearpath::DataEncoders::getUpdate | ( | double | timeout = 0 | ) | [static] |
static DataEncoders* clearpath::DataEncoders::popNext | ( | ) | [static] |
Reimplemented from clearpath::Message.
ostream & clearpath::DataEncoders::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from clearpath::Message.
Definition at line 286 of file Message_data.cpp.
static void clearpath::DataEncoders::subscribe | ( | uint16_t | freq | ) | [static] |
static DataEncoders* clearpath::DataEncoders::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from clearpath::Message.
size_t clearpath::DataEncoders::speeds_offset [private] |
Definition at line 249 of file Message_data.h.
size_t clearpath::DataEncoders::travels_offset [private] |
Definition at line 248 of file Message_data.h.