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

#include <Message_data.h>

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

List of all members.

Public Member Functions

 DataSystemStatus (void *input, size_t msg_len)
 DataSystemStatus (const DataSystemStatus &other)
double getCurrent (uint8_t index)
uint8_t getCurrentsCount ()
double getTemperature (uint8_t index)
uint8_t getTemperaturesCount ()
uint32_t getUptime ()
double getVoltage (uint8_t index)
uint8_t getVoltagesCount ()
virtual std::ostream & printMessage (std::ostream &stream=std::cout)

Static Public Member Functions

static enum MessageTypes getTypeID ()
static DataSystemStatusgetUpdate (double timeout=0)
static DataSystemStatuspopNext ()
static void subscribe (uint16_t freq)
static DataSystemStatuswaitNext (double timeout=0)

Private Attributes

uint8_t currents_offset
uint8_t temperatures_offset
uint8_t voltages_offset

Detailed Description

Definition at line 1014 of file Message_data.h.


Constructor & Destructor Documentation

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

Definition at line 1029 of file Message_data.cpp.

Definition at line 1045 of file Message_data.cpp.


Member Function Documentation

double clearpath::DataSystemStatus::getCurrent ( uint8_t  index)

Definition at line 1071 of file Message_data.cpp.

Definition at line 1066 of file Message_data.cpp.

Definition at line 1081 of file Message_data.cpp.

Definition at line 1076 of file Message_data.cpp.

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

Definition at line 1051 of file Message_data.cpp.

double clearpath::DataSystemStatus::getVoltage ( uint8_t  index)

Definition at line 1061 of file Message_data.cpp.

Definition at line 1056 of file Message_data.cpp.

Reimplemented from clearpath::Message.

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

Reimplemented from clearpath::Message.

Definition at line 1086 of file Message_data.cpp.

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

Reimplemented from clearpath::Message.


Member Data Documentation

Definition at line 1018 of file Message_data.h.

Definition at line 1019 of file Message_data.h.

Definition at line 1017 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