#include <Message_data.h>
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 DataSystemStatus * | getUpdate (double timeout=0) |
static DataSystemStatus * | popNext () |
static void | subscribe (uint16_t freq) |
static DataSystemStatus * | waitNext (double timeout=0) |
Private Attributes | |
uint8_t | currents_offset |
uint8_t | temperatures_offset |
uint8_t | voltages_offset |
Definition at line 1085 of file Message_data.h.
sawyer::DataSystemStatus::DataSystemStatus | ( | void * | input, |
size_t | msg_len | ||
) |
Definition at line 1073 of file Message_data.cpp.
sawyer::DataSystemStatus::DataSystemStatus | ( | const DataSystemStatus & | other | ) |
Definition at line 1089 of file Message_data.cpp.
double sawyer::DataSystemStatus::getCurrent | ( | uint8_t | index | ) |
Definition at line 1115 of file Message_data.cpp.
uint8_t sawyer::DataSystemStatus::getCurrentsCount | ( | ) |
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.
uint8_t sawyer::DataSystemStatus::getTemperaturesCount | ( | ) |
Definition at line 1120 of file Message_data.cpp.
static enum MessageTypes sawyer::DataSystemStatus::getTypeID | ( | ) | [static] |
static DataSystemStatus* sawyer::DataSystemStatus::getUpdate | ( | double | timeout = 0 | ) | [static] |
uint32_t sawyer::DataSystemStatus::getUptime | ( | ) |
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.
uint8_t sawyer::DataSystemStatus::getVoltagesCount | ( | ) |
Definition at line 1100 of file Message_data.cpp.
static DataSystemStatus* sawyer::DataSystemStatus::popNext | ( | ) | [static] |
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.
uint8_t sawyer::DataSystemStatus::currents_offset [private] |
Definition at line 1089 of file Message_data.h.
uint8_t sawyer::DataSystemStatus::temperatures_offset [private] |
Definition at line 1090 of file Message_data.h.
uint8_t sawyer::DataSystemStatus::voltages_offset [private] |
Definition at line 1088 of file Message_data.h.