Class DataFirmwareInfo

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class DataFirmwareInfo : public clearpath::Message

Public Types

enum payloadOffsets

Values:

enumerator MAJOR_FIRM_VER
enumerator MINOR_FIRM_VER
enumerator MAJOR_PROTO_VER
enumerator MINOR_PROTO_VER
enumerator WRITE_TIME
enumerator PAYLOAD_LEN

Public Functions

DataFirmwareInfo(void *input, size_t msg_len)
DataFirmwareInfo(const DataFirmwareInfo &other)
uint8_t getMajorFirmwareVersion()
uint8_t getMinorFirmwareVersion()
uint8_t getMajorProtocolVersion()
uint8_t getMinorProtocolVersion()
WriteTime getWriteTime()
virtual std::ostream &printMessage(std::ostream &stream = std::cout)

Public Static Functions

static DataFirmwareInfo *popNext()
static DataFirmwareInfo *waitNext(double timeout = 0)
static DataFirmwareInfo *getUpdate(double timeout = 0)
static void subscribe(uint16_t freq)
static enum MessageTypes getTypeID()
class WriteTime

Public Functions

inline WriteTime(uint32_t time)
inline uint8_t minute()
inline uint8_t hour()
inline uint8_t day()
inline uint8_t month()
inline uint8_t year()

Public Members

uint32_t rawTime