Classes | Public Types | Public Member Functions | Static Public Member Functions
sawyer::DataFirmwareInfo Class Reference

#include <Message_data.h>

Inheritance diagram for sawyer::DataFirmwareInfo:
Inheritance graph
[legend]

List of all members.

Classes

class  WriteTime

Public Types

enum  payloadOffsets {
  MAJOR_FIRM_VER = 0, MINOR_FIRM_VER, MAJOR_PROTO_VER, MINOR_PROTO_VER,
  WRITE_TIME, PAYLOAD_LEN = 8
}

Public Member Functions

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

Static Public Member Functions

static enum MessageTypes getTypeID ()
static DataFirmwareInfogetUpdate (double timeout=0)
static DataFirmwareInfopopNext ()
static void subscribe (uint16_t freq)
static DataFirmwareInfowaitNext (double timeout=0)

Detailed Description

Definition at line 305 of file Message_data.h.


Member Enumeration Documentation

Enumerator:
MAJOR_FIRM_VER 
MINOR_FIRM_VER 
MAJOR_PROTO_VER 
MINOR_PROTO_VER 
WRITE_TIME 
PAYLOAD_LEN 

Definition at line 308 of file Message_data.h.


Constructor & Destructor Documentation

sawyer::DataFirmwareInfo::DataFirmwareInfo ( void *  input,
size_t  msg_len 
)

Member Function Documentation

Definition at line 318 of file Message_data.cpp.

Definition at line 328 of file Message_data.cpp.

Definition at line 323 of file Message_data.cpp.

Definition at line 333 of file Message_data.cpp.

static DataFirmwareInfo* sawyer::DataFirmwareInfo::getUpdate ( double  timeout = 0) [static]

Definition at line 338 of file Message_data.cpp.

Reimplemented from sawyer::Message.

ostream & sawyer::DataFirmwareInfo::printMessage ( std::ostream &  stream = std::cout) [virtual]

Reimplemented from sawyer::Message.

Definition at line 343 of file Message_data.cpp.

static void sawyer::DataFirmwareInfo::subscribe ( uint16_t  freq) [static]
static DataFirmwareInfo* sawyer::DataFirmwareInfo::waitNext ( double  timeout = 0) [static]

Reimplemented from sawyer::Message.


The documentation for this class was generated from the following files:


roch_base
Author(s): Mike Purvis , Paul Bovbel , Carl
autogenerated on Sat Jun 8 2019 20:32:33