Public Member Functions | Static Public Member Functions | Private Attributes
sawyer::DataEncoders Class Reference

#include <Message_data.h>

Inheritance diagram for sawyer::DataEncoders:
Inheritance graph

List of all members.

Public Member Functions

 DataEncoders (void *input, size_t msg_len)
 DataEncoders (const DataEncoders &other)
uint8_t getCount ()
double getSpeed (uint8_t index)
double getTravel (uint8_t index)
virtual std::ostream & printMessage (std::ostream &stream=std::cout)

Static Public Member Functions

static enum MessageTypes getTypeID ()
static DataEncodersgetUpdate (double timeout=0)
static DataEncoderspopNext ()
static void subscribe (uint16_t freq)
static DataEncoderswaitNext (double timeout=0)

Private Attributes

size_t speeds_offset
size_t travels_offset

Detailed Description

Definition at line 251 of file Message_data.h.

Constructor & Destructor Documentation

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

Definition at line 237 of file Message_data.cpp.

Definition at line 250 of file Message_data.cpp.

Member Function Documentation

Definition at line 256 of file Message_data.cpp.

double sawyer::DataEncoders::getSpeed ( uint8_t  index)

Definition at line 266 of file Message_data.cpp.

double sawyer::DataEncoders::getTravel ( uint8_t  index)

Definition at line 261 of file Message_data.cpp.

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

Reimplemented from sawyer::Message.

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

Reimplemented from sawyer::Message.

Definition at line 271 of file Message_data.cpp.

static void sawyer::DataEncoders::subscribe ( uint16_t  freq) [static]
static DataEncoders* sawyer::DataEncoders::waitNext ( double  timeout = 0) [static]

Reimplemented from sawyer::Message.

Member Data Documentation

Definition at line 255 of file Message_data.h.

Definition at line 254 of file Message_data.h.

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