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

#include <Message_data.h>

Inheritance diagram for sawyer::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 1085 of file Message_data.h.


Constructor & Destructor Documentation

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

Definition at line 1073 of file Message_data.cpp.

Definition at line 1089 of file Message_data.cpp.


Member Function Documentation

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

Definition at line 1115 of file Message_data.cpp.

Definition at line 1110 of file Message_data.cpp.

double sawyer::DataSystemStatus::getTemperature ( uint8_t  index)

Definition at line 1125 of file Message_data.cpp.

Definition at line 1120 of file Message_data.cpp.

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

Definition at line 1095 of file Message_data.cpp.

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

Definition at line 1105 of file Message_data.cpp.

Definition at line 1100 of file Message_data.cpp.

Reimplemented from sawyer::Message.

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

Reimplemented from sawyer::Message.

Definition at line 1130 of file Message_data.cpp.

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

Reimplemented from sawyer::Message.


Member Data Documentation

Definition at line 1089 of file Message_data.h.

Definition at line 1090 of file Message_data.h.

Definition at line 1088 of file Message_data.h.


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