#include <Message_data.h>
Public Types | |
enum | payloadOffsets { X = 0, Y = 2, Z = 4, PAYLOAD_LEN = 6 } |
Public Member Functions | |
DataRawAcceleration (void *input, size_t msg_len) | |
DataRawAcceleration (const DataRawAcceleration &other) | |
uint16_t | getX () |
uint16_t | getY () |
uint16_t | getZ () |
virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
Static Public Member Functions | |
static enum MessageTypes | getTypeID () |
static DataRawAcceleration * | getUpdate (double timeout=0) |
static DataRawAcceleration * | popNext () |
static void | subscribe (uint16_t freq) |
static DataRawAcceleration * | waitNext (double timeout=0) |
Definition at line 791 of file Message_data.h.
Definition at line 794 of file Message_data.h.
sawyer::DataRawAcceleration::DataRawAcceleration | ( | void * | input, |
size_t | msg_len | ||
) |
sawyer::DataRawAcceleration::DataRawAcceleration | ( | const DataRawAcceleration & | other | ) |
static enum MessageTypes sawyer::DataRawAcceleration::getTypeID | ( | ) | [static] |
static DataRawAcceleration* sawyer::DataRawAcceleration::getUpdate | ( | double | timeout = 0 | ) | [static] |
uint16_t sawyer::DataRawAcceleration::getX | ( | ) |
Definition at line 820 of file Message_data.cpp.
uint16_t sawyer::DataRawAcceleration::getY | ( | ) |
Definition at line 825 of file Message_data.cpp.
uint16_t sawyer::DataRawAcceleration::getZ | ( | ) |
Definition at line 830 of file Message_data.cpp.
static DataRawAcceleration* sawyer::DataRawAcceleration::popNext | ( | ) | [static] |
Reimplemented from sawyer::Message.
ostream & sawyer::DataRawAcceleration::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from sawyer::Message.
Definition at line 835 of file Message_data.cpp.
static void sawyer::DataRawAcceleration::subscribe | ( | uint16_t | freq | ) | [static] |
static DataRawAcceleration* sawyer::DataRawAcceleration::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from sawyer::Message.