#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 1014 of file Message_data.h.
clearpath::DataSystemStatus::DataSystemStatus | ( | void * | input, |
size_t | msg_len | ||
) |
Definition at line 1029 of file Message_data.cpp.
clearpath::DataSystemStatus::DataSystemStatus | ( | const DataSystemStatus & | other | ) |
Definition at line 1045 of file Message_data.cpp.
double clearpath::DataSystemStatus::getCurrent | ( | uint8_t | index | ) |
Definition at line 1071 of file Message_data.cpp.
uint8_t clearpath::DataSystemStatus::getCurrentsCount | ( | ) |
Definition at line 1066 of file Message_data.cpp.
double clearpath::DataSystemStatus::getTemperature | ( | uint8_t | index | ) |
Definition at line 1081 of file Message_data.cpp.
Definition at line 1076 of file Message_data.cpp.
static enum MessageTypes clearpath::DataSystemStatus::getTypeID | ( | ) | [static] |
static DataSystemStatus* clearpath::DataSystemStatus::getUpdate | ( | double | timeout = 0 | ) | [static] |
uint32_t clearpath::DataSystemStatus::getUptime | ( | ) |
Definition at line 1051 of file Message_data.cpp.
double clearpath::DataSystemStatus::getVoltage | ( | uint8_t | index | ) |
Definition at line 1061 of file Message_data.cpp.
uint8_t clearpath::DataSystemStatus::getVoltagesCount | ( | ) |
Definition at line 1056 of file Message_data.cpp.
static DataSystemStatus* clearpath::DataSystemStatus::popNext | ( | ) | [static] |
Reimplemented from clearpath::Message.
ostream & clearpath::DataSystemStatus::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from clearpath::Message.
Definition at line 1086 of file Message_data.cpp.
static void clearpath::DataSystemStatus::subscribe | ( | uint16_t | freq | ) | [static] |
static DataSystemStatus* clearpath::DataSystemStatus::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from clearpath::Message.
uint8_t clearpath::DataSystemStatus::currents_offset [private] |
Definition at line 1018 of file Message_data.h.
uint8_t clearpath::DataSystemStatus::temperatures_offset [private] |
Definition at line 1019 of file Message_data.h.
uint8_t clearpath::DataSystemStatus::voltages_offset [private] |
Definition at line 1017 of file Message_data.h.