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