Public Types | Public Member Functions | Static Public Member Functions
sawyer::DataPlatformMagnetometer Class Reference

#include <Message_data.h>

Inheritance diagram for sawyer::DataPlatformMagnetometer:
Inheritance graph

List of all members.

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 DataPlatformMagnetometergetUpdate (double timeout=0)
static DataPlatformMagnetometerpopNext ()
static void subscribe (uint16_t freq)
static DataPlatformMagnetometerwaitNext (double timeout=0)

Detailed Description

Definition at line 552 of file Message_data.h.

Member Enumeration Documentation


Definition at line 555 of file Message_data.h.

Constructor & Destructor Documentation

sawyer::DataPlatformMagnetometer::DataPlatformMagnetometer ( void *  input,
size_t  msg_len 

Member Function Documentation

Definition at line 531 of file Message_data.cpp.

Definition at line 536 of file Message_data.cpp.

Definition at line 541 of file Message_data.cpp.

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.

The documentation for this class was generated from the following files:

Author(s): Mike Purvis , Paul Bovbel , Carl
autogenerated on Sat Jun 8 2019 20:32:33