#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 655 of file Message_data.h.
sawyer::DataPowerSystem::DataPowerSystem | ( | void * | input, |
size_t | msg_len | ||
) |
sawyer::DataPowerSystem::DataPowerSystem | ( | const DataPowerSystem & | other | ) |
uint8_t sawyer::DataPowerSystem::getBatteryCount | ( | ) |
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.
DataPowerSystem::BatteryDescription sawyer::DataPowerSystem::getDescription | ( | uint8_t | battery | ) |
Definition at line 675 of file Message_data.cpp.
static enum MessageTypes sawyer::DataPowerSystem::getTypeID | ( | ) | [static] |
static DataPowerSystem* sawyer::DataPowerSystem::getUpdate | ( | double | timeout = 0 | ) | [static] |
static DataPowerSystem* sawyer::DataPowerSystem::popNext | ( | ) | [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.