#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 129 of file Message_data.h.
Definition at line 132 of file Message_data.h.
sawyer::DataDifferentialOutput::DataDifferentialOutput | ( | void * | input, |
size_t | msg_len | ||
) |
double sawyer::DataDifferentialOutput::getLeft | ( | ) |
Definition at line 146 of file Message_data.cpp.
double sawyer::DataDifferentialOutput::getRight | ( | ) |
Definition at line 151 of file Message_data.cpp.
static enum MessageTypes sawyer::DataDifferentialOutput::getTypeID | ( | ) | [static] |
static DataDifferentialOutput* sawyer::DataDifferentialOutput::getUpdate | ( | double | timeout = 0 | ) | [static] |
static DataDifferentialOutput* sawyer::DataDifferentialOutput::popNext | ( | ) | [static] |
Reimplemented from sawyer::Message.
ostream & sawyer::DataDifferentialOutput::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from sawyer::Message.
Definition at line 156 of file Message_data.cpp.
static void sawyer::DataDifferentialOutput::subscribe | ( | uint16_t | freq | ) | [static] |
static DataDifferentialOutput* sawyer::DataDifferentialOutput::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from sawyer::Message.