Public Member Functions | Public Attributes | List of all members
MessagePacket Class Referenceabstract

#include <messages.h>

Inheritance diagram for MessagePacket:
Inheritance graph
[legend]

Public Member Functions

virtual bool consumeWith (URMessagePacketConsumer &consumer)=0
 
 MessagePacket (uint64_t timestamp, uint8_t source)
 
virtual bool parseWith (BinParser &bp)=0
 

Public Attributes

uint8_t source
 
uint64_t timestamp
 

Detailed Description

Definition at line 41 of file messages.h.

Constructor & Destructor Documentation

MessagePacket::MessagePacket ( uint64_t  timestamp,
uint8_t  source 
)
inline

Definition at line 44 of file messages.h.

Member Function Documentation

virtual bool MessagePacket::consumeWith ( URMessagePacketConsumer consumer)
pure virtual

Implemented in VersionMessage.

virtual bool MessagePacket::parseWith ( BinParser bp)
pure virtual

Implemented in VersionMessage.

Member Data Documentation

uint8_t MessagePacket::source

Definition at line 51 of file messages.h.

uint64_t MessagePacket::timestamp

Definition at line 50 of file messages.h.


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


ur_modern_driver
Author(s): Thomas Timm Andersen, Simon Rasmussen
autogenerated on Fri Jun 26 2020 03:37:01