Classes | Public Member Functions | Static Public Member Functions
sawyer::DataPowerSystem Class Reference

#include <Message_data.h>

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

List of all members.

Classes

class  BatteryDescription

Public Member Functions

 DataPowerSystem (void *input, size_t msg_len)
 DataPowerSystem (const DataPowerSystem &other)
uint8_t getBatteryCount ()
int16_t getCapacityEstimate (uint8_t battery)
double getChargeEstimate (uint8_t battery)
BatteryDescription getDescription (uint8_t battery)
virtual std::ostream & printMessage (std::ostream &stream=std::cout)

Static Public Member Functions

static enum MessageTypes getTypeID ()
static DataPowerSystemgetUpdate (double timeout=0)
static DataPowerSystempopNext ()
static void subscribe (uint16_t freq)
static DataPowerSystemwaitNext (double timeout=0)

Detailed Description

Definition at line 655 of file Message_data.h.


Constructor & Destructor Documentation

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

Member Function Documentation

Definition at line 655 of file Message_data.cpp.

int16_t sawyer::DataPowerSystem::getCapacityEstimate ( uint8_t  battery)

Definition at line 667 of file Message_data.cpp.

double sawyer::DataPowerSystem::getChargeEstimate ( uint8_t  battery)

Definition at line 660 of file Message_data.cpp.

Definition at line 675 of file Message_data.cpp.

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

Reimplemented from sawyer::Message.

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

Reimplemented from sawyer::Message.

Definition at line 683 of file Message_data.cpp.

static void sawyer::DataPowerSystem::subscribe ( uint16_t  freq) [static]
static DataPowerSystem* sawyer::DataPowerSystem::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