#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 251 of file Message_data.h.
sawyer::DataEncoders::DataEncoders | ( | void * | input, |
size_t | msg_len | ||
) |
Definition at line 237 of file Message_data.cpp.
sawyer::DataEncoders::DataEncoders | ( | const DataEncoders & | other | ) |
Definition at line 250 of file Message_data.cpp.
uint8_t sawyer::DataEncoders::getCount | ( | ) |
Definition at line 256 of file Message_data.cpp.
double sawyer::DataEncoders::getSpeed | ( | uint8_t | index | ) |
Definition at line 266 of file Message_data.cpp.
double sawyer::DataEncoders::getTravel | ( | uint8_t | index | ) |
Definition at line 261 of file Message_data.cpp.
static enum MessageTypes sawyer::DataEncoders::getTypeID | ( | ) | [static] |
static DataEncoders* sawyer::DataEncoders::getUpdate | ( | double | timeout = 0 | ) | [static] |
static DataEncoders* sawyer::DataEncoders::popNext | ( | ) | [static] |
Reimplemented from sawyer::Message.
ostream & sawyer::DataEncoders::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from sawyer::Message.
Definition at line 271 of file Message_data.cpp.
static void sawyer::DataEncoders::subscribe | ( | uint16_t | freq | ) | [static] |
static DataEncoders* sawyer::DataEncoders::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from sawyer::Message.
size_t sawyer::DataEncoders::speeds_offset [private] |
Definition at line 255 of file Message_data.h.
size_t sawyer::DataEncoders::travels_offset [private] |
Definition at line 254 of file Message_data.h.