#include <Message_data.h>
Public Types | |
enum | payloadOffsets { WHEEL_GAUGE = 0, WHEEL_DIAMETER = 2, PAYLOAD_LEN = 4 } |
Public Member Functions | |
DataWheelInfo (void *input, size_t msg_len) | |
DataWheelInfo (const DataWheelInfo &other) | |
double | getWheelDiameter () |
double | getWheelGauge () |
virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
Static Public Member Functions | |
static enum MessageTypes | getTypeID () |
static DataWheelInfo * | getUpdate (double timeout=0) |
static DataWheelInfo * | popNext () |
static void | subscribe (uint16_t freq) |
static DataWheelInfo * | waitNext (double timeout=0) |
Definition at line 199 of file Message_data.h.
Definition at line 202 of file Message_data.h.
sawyer::DataWheelInfo::DataWheelInfo | ( | void * | input, |
size_t | msg_len | ||
) |
sawyer::DataWheelInfo::DataWheelInfo | ( | const DataWheelInfo & | other | ) |
static enum MessageTypes sawyer::DataWheelInfo::getTypeID | ( | ) | [static] |
static DataWheelInfo* sawyer::DataWheelInfo::getUpdate | ( | double | timeout = 0 | ) | [static] |
double sawyer::DataWheelInfo::getWheelDiameter | ( | ) |
Definition at line 212 of file Message_data.cpp.
double sawyer::DataWheelInfo::getWheelGauge | ( | ) |
Definition at line 207 of file Message_data.cpp.
static DataWheelInfo* sawyer::DataWheelInfo::popNext | ( | ) | [static] |
Reimplemented from sawyer::Message.
ostream & sawyer::DataWheelInfo::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from sawyer::Message.
Definition at line 217 of file Message_data.cpp.
static void sawyer::DataWheelInfo::subscribe | ( | uint16_t | freq | ) | [static] |
static DataWheelInfo* sawyer::DataWheelInfo::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from sawyer::Message.