#include <Message_data.h>
Public Types | |
enum | payloadOffsets { X = 0, Y = 2, Z = 4, PAYLOAD_LEN = 6 } |
Public Member Functions | |
DataRawMagnetometer (void *input, size_t msg_len) | |
DataRawMagnetometer (const DataRawMagnetometer &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 DataRawMagnetometer * | getUpdate (double timeout=0) |
static DataRawMagnetometer * | popNext () |
static void | subscribe (uint16_t freq) |
static DataRawMagnetometer * | waitNext (double timeout=0) |
Definition at line 913 of file Message_data.h.
Definition at line 916 of file Message_data.h.
sawyer::DataRawMagnetometer::DataRawMagnetometer | ( | void * | input, |
size_t | msg_len | ||
) |
sawyer::DataRawMagnetometer::DataRawMagnetometer | ( | const DataRawMagnetometer & | other | ) |
static enum MessageTypes sawyer::DataRawMagnetometer::getTypeID | ( | ) | [static] |
static DataRawMagnetometer* sawyer::DataRawMagnetometer::getUpdate | ( | double | timeout = 0 | ) | [static] |
uint16_t sawyer::DataRawMagnetometer::getX | ( | ) |
Definition at line 937 of file Message_data.cpp.
uint16_t sawyer::DataRawMagnetometer::getY | ( | ) |
Definition at line 942 of file Message_data.cpp.
uint16_t sawyer::DataRawMagnetometer::getZ | ( | ) |
Definition at line 947 of file Message_data.cpp.
static DataRawMagnetometer* sawyer::DataRawMagnetometer::popNext | ( | ) | [static] |
Reimplemented from sawyer::Message.
ostream & sawyer::DataRawMagnetometer::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from sawyer::Message.
Definition at line 952 of file Message_data.cpp.
static void sawyer::DataRawMagnetometer::subscribe | ( | uint16_t | freq | ) | [static] |
static DataRawMagnetometer* sawyer::DataRawMagnetometer::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from sawyer::Message.