#include <Message_data.h>
|
| | 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) |
| |
| uint16_t | getChecksum () |
| |
| uint8_t | getFlags () |
| |
| uint8_t | getLength () |
| |
| uint8_t | getLengthComp () |
| |
| size_t | getPayload (void *buf, size_t max_size) |
| |
| size_t | getPayloadLength () |
| |
| size_t | getTotalLength () |
| |
| uint16_t | getType () |
| |
| size_t | getType (void *buf, size_t max_size) |
| |
| size_t | getTypeLength () |
| |
| uint8_t | getVersion () |
| |
| bool | isCommand () |
| |
| bool | isData () |
| |
| bool | isRequest () |
| |
| bool | isValid (char *whyNot=NULL, size_t strLen=0) |
| |
| | Message () |
| |
| | Message (void *input, size_t msg_len) |
| |
| | Message (const Message &other) |
| |
| | Message (uint16_t type, uint8_t *payload, size_t payload_len, uint32_t timestamp=0, uint8_t flags=0, uint8_t version=0) |
| |
| void | printRaw (std::ostream &stream=std::cout) |
| |
| void | send () |
| |
| Message * | sendRequest () |
| |
| size_t | toBytes (void *buf, size_t buf_size) |
| |
| virtual | ~Message () |
| |
Definition at line 655 of file Message_data.h.
| sawyer::DataPowerSystem::DataPowerSystem |
( |
void * |
input, |
|
|
size_t |
msg_len |
|
) |
| |
| uint8_t sawyer::DataPowerSystem::getBatteryCount |
( |
| ) |
|
| int16_t sawyer::DataPowerSystem::getCapacityEstimate |
( |
uint8_t |
battery | ) |
|
| double sawyer::DataPowerSystem::getChargeEstimate |
( |
uint8_t |
battery | ) |
|
| static enum MessageTypes sawyer::DataPowerSystem::getTypeID |
( |
| ) |
|
|
static |
| static DataPowerSystem* sawyer::DataPowerSystem::getUpdate |
( |
double |
timeout = 0 | ) |
|
|
static |
| ostream & sawyer::DataPowerSystem::printMessage |
( |
std::ostream & |
stream = std::cout | ) |
|
|
virtual |
| static void sawyer::DataPowerSystem::subscribe |
( |
uint16_t |
freq | ) |
|
|
static |
| static DataPowerSystem* sawyer::DataPowerSystem::waitNext |
( |
double |
timeout = 0 | ) |
|
|
static |
The documentation for this class was generated from the following files: