#include <Message_data.h>
Public Member Functions | |
DataRangefinders (void *input, size_t msg_len) | |
DataRangefinders (const DataRangefinders &other) | |
double | getDistance (int rangefinder) |
uint8_t | getRangefinderCount () |
virtual std::ostream & | printMessage (std::ostream &stream=std::cout) |
Static Public Member Functions | |
static enum MessageTypes | getTypeID () |
static DataRangefinders * | getUpdate (double timeout=0) |
static DataRangefinders * | popNext () |
static void | subscribe (uint16_t freq) |
static DataRangefinders * | waitNext (double timeout=0) |
Definition at line 741 of file Message_data.h.
sawyer::DataRangefinders::DataRangefinders | ( | void * | input, |
size_t | msg_len | ||
) |
sawyer::DataRangefinders::DataRangefinders | ( | const DataRangefinders & | other | ) |
double sawyer::DataRangefinders::getDistance | ( | int | rangefinder | ) |
Definition at line 762 of file Message_data.cpp.
uint8_t sawyer::DataRangefinders::getRangefinderCount | ( | ) |
static enum MessageTypes sawyer::DataRangefinders::getTypeID | ( | ) | [static] |
static DataRangefinders* sawyer::DataRangefinders::getUpdate | ( | double | timeout = 0 | ) | [static] |
static DataRangefinders* sawyer::DataRangefinders::popNext | ( | ) | [static] |
Reimplemented from sawyer::Message.
ostream & sawyer::DataRangefinders::printMessage | ( | std::ostream & | stream = std::cout | ) | [virtual] |
Reimplemented from sawyer::Message.
Definition at line 767 of file Message_data.cpp.
static void sawyer::DataRangefinders::subscribe | ( | uint16_t | freq | ) | [static] |
static DataRangefinders* sawyer::DataRangefinders::waitNext | ( | double | timeout = 0 | ) | [static] |
Reimplemented from sawyer::Message.