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

#include <Message_data.h>

Inheritance diagram for sawyer::DataWheelInfo:
Inheritance graph

List of all members.

Public Types

enum  payloadOffsets { WHEEL_GAUGE = 0, WHEEL_DIAMETER = 2, PAYLOAD_LEN = 4 }

Public Member Functions

 DataWheelInfo (void *input, size_t msg_len)
 DataWheelInfo (const DataWheelInfo &other)
double getWheelDiameter ()
double getWheelGauge ()
virtual std::ostream & printMessage (std::ostream &stream=std::cout)

Static Public Member Functions

static enum MessageTypes getTypeID ()
static DataWheelInfogetUpdate (double timeout=0)
static DataWheelInfopopNext ()
static void subscribe (uint16_t freq)
static DataWheelInfowaitNext (double timeout=0)

Detailed Description

Definition at line 199 of file Message_data.h.

Member Enumeration Documentation


Definition at line 202 of file Message_data.h.

Constructor & Destructor Documentation

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

Member Function Documentation

static DataWheelInfo* sawyer::DataWheelInfo::getUpdate ( double  timeout = 0) [static]

Definition at line 212 of file Message_data.cpp.

Definition at line 207 of file Message_data.cpp.

Reimplemented from sawyer::Message.

ostream & sawyer::DataWheelInfo::printMessage ( std::ostream &  stream = std::cout) [virtual]

Reimplemented from sawyer::Message.

Definition at line 217 of file Message_data.cpp.

static void sawyer::DataWheelInfo::subscribe ( uint16_t  freq) [static]
static DataWheelInfo* sawyer::DataWheelInfo::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