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

#include <Message_data.h>

Inheritance diagram for sawyer::DataDifferentialOutput:
Inheritance graph
[legend]

List of all members.

Public Types

enum  payloadOffsets { LEFT = 0, RIGHT = 2, PAYLOAD_LEN = 4 }

Public Member Functions

 DataDifferentialOutput (void *input, size_t msg_len)
 DataDifferentialOutput (const DataDifferentialOutput &other)
double getLeft ()
double getRight ()
virtual std::ostream & printMessage (std::ostream &stream=std::cout)

Static Public Member Functions

static enum MessageTypes getTypeID ()
static DataDifferentialOutputgetUpdate (double timeout=0)
static DataDifferentialOutputpopNext ()
static void subscribe (uint16_t freq)
static DataDifferentialOutputwaitNext (double timeout=0)

Detailed Description

Definition at line 129 of file Message_data.h.


Member Enumeration Documentation

Enumerator:
LEFT 
RIGHT 
PAYLOAD_LEN 

Definition at line 132 of file Message_data.h.


Constructor & Destructor Documentation

sawyer::DataDifferentialOutput::DataDifferentialOutput ( void *  input,
size_t  msg_len 
)

Member Function Documentation

Definition at line 146 of file Message_data.cpp.

Definition at line 151 of file Message_data.cpp.

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

Reimplemented from sawyer::Message.

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

Reimplemented from sawyer::Message.

Definition at line 156 of file Message_data.cpp.

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

Reimplemented from sawyer::Message.


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


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