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

#include <Message_data.h>

Inheritance diagram for clearpath::DataEncoders:
Inheritance graph
[legend]

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 245 of file Message_data.h.


Constructor & Destructor Documentation

clearpath::DataEncoders::DataEncoders ( void *  input,
size_t  msg_len 
)

Definition at line 252 of file Message_data.cpp.

Definition at line 265 of file Message_data.cpp.


Member Function Documentation

Definition at line 271 of file Message_data.cpp.

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

Definition at line 281 of file Message_data.cpp.

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

Definition at line 276 of file Message_data.cpp.

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

Reimplemented from clearpath::Message.

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

Reimplemented from clearpath::Message.

Definition at line 286 of file Message_data.cpp.

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

Reimplemented from clearpath::Message.


Member Data Documentation

Definition at line 249 of file Message_data.h.

Definition at line 248 of file Message_data.h.


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


husky_base
Author(s): Mike Purvis , Paul Bovbel
autogenerated on Sat Jun 8 2019 18:26:01