#include <Message_data.h>
Public Types | |
enum | payloadOffsets { LEFT = 0, RIGHT = 2, PAYLOAD_LEN = 4 } |
Public Member Functions | |
DataDifferentialOutput (void *input, size_t msg_len) | |
DataDifferentialOutput (const DataDifferentialOutput &other) | |
double | getLeft () |
double | getRight () |
virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
Static Public Member Functions | |
static enum MessageTypes | getTypeID () |
static DataDifferentialOutput * | getUpdate (double timeout=0) |
static DataDifferentialOutput * | popNext () |
static void | subscribe (uint16_t freq) |
static DataDifferentialOutput * | waitNext (double timeout=0) |
Definition at line 155 of file Message_data.h.
Definition at line 158 of file Message_data.h.
clearpath::DataDifferentialOutput::DataDifferentialOutput | ( | void * | input, |
size_t | msg_len | ||
) |
double clearpath::DataDifferentialOutput::getLeft | ( | ) |
Definition at line 184 of file Message_data.cpp.
double clearpath::DataDifferentialOutput::getRight | ( | ) |
Definition at line 189 of file Message_data.cpp.
static enum MessageTypes clearpath::DataDifferentialOutput::getTypeID | ( | ) | [static] |
static DataDifferentialOutput* clearpath::DataDifferentialOutput::getUpdate | ( | double | timeout = 0 | ) | [static] |
static DataDifferentialOutput* clearpath::DataDifferentialOutput::popNext | ( | ) | [static] |
Reimplemented from clearpath::Message.
ostream & clearpath::DataDifferentialOutput::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from clearpath::Message.
Definition at line 194 of file Message_data.cpp.
static void clearpath::DataDifferentialOutput::subscribe | ( | uint16_t | freq | ) | [static] |
static DataDifferentialOutput* clearpath::DataDifferentialOutput::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from clearpath::Message.