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