Garmin Fleet Management Controller  2.19.0
Packet Class Referenceabstract

Abstract base class for a packet of data. More...

#include <Packet.h>

+ Inheritance diagram for Packet:

Public Member Functions

 Packet ()
 Constructor. More...
 
virtual ~Packet ()
 Destructor. More...
 
virtual const uint8getRawBytes ()=0
 Get pointer to the raw frame. More...
 
virtual uint32 getRawSize ()=0
 Get the size of the raw frame. More...
 

Detailed Description

Abstract base class for a packet of data.

Definition at line 18 of file Packet.h.

Constructor & Destructor Documentation

Packet::Packet ( )

Constructor.

Definition at line 17 of file Packet.cpp.

Packet::~Packet ( )
virtual

Destructor.

Definition at line 24 of file Packet.cpp.

Member Function Documentation

virtual const uint8* Packet::getRawBytes ( )
pure virtual

Get pointer to the raw frame.

Returns
The pointer to the raw frame.

Implemented in GarminPacket.

Referenced by Logger::logRawData().

virtual uint32 Packet::getRawSize ( )
pure virtual

Get the size of the raw frame.

Returns
The size of the raw frame in bytes

Implemented in GarminPacket.

Referenced by Logger::logRawData().


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