#include <Message_data.h>
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 DataPowerSystem * | getUpdate (double timeout=0) |
static DataPowerSystem * | popNext () |
static void | subscribe (uint16_t freq) |
static DataPowerSystem * | waitNext (double timeout=0) |
Definition at line 649 of file Message_data.h.
clearpath::DataPowerSystem::DataPowerSystem | ( | void * | input, |
size_t | msg_len | ||
) |
clearpath::DataPowerSystem::DataPowerSystem | ( | const DataPowerSystem & | other | ) |
uint8_t clearpath::DataPowerSystem::getBatteryCount | ( | ) |
Definition at line 640 of file Message_data.cpp.
int16_t clearpath::DataPowerSystem::getCapacityEstimate | ( | uint8_t | battery | ) |
Definition at line 652 of file Message_data.cpp.
double clearpath::DataPowerSystem::getChargeEstimate | ( | uint8_t | battery | ) |
Definition at line 645 of file Message_data.cpp.
DataPowerSystem::BatteryDescription clearpath::DataPowerSystem::getDescription | ( | uint8_t | battery | ) |
Definition at line 660 of file Message_data.cpp.
static enum MessageTypes clearpath::DataPowerSystem::getTypeID | ( | ) | [static] |
static DataPowerSystem* clearpath::DataPowerSystem::getUpdate | ( | double | timeout = 0 | ) | [static] |
static DataPowerSystem* clearpath::DataPowerSystem::popNext | ( | ) | [static] |
Reimplemented from clearpath::Message.
ostream & clearpath::DataPowerSystem::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from clearpath::Message.
Definition at line 668 of file Message_data.cpp.
static void clearpath::DataPowerSystem::subscribe | ( | uint16_t | freq | ) | [static] |
static DataPowerSystem* clearpath::DataPowerSystem::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from clearpath::Message.