HDLC-Daemon
HdlcdPacket Class Reference

Class HdlcdPacket. More...

#include <HdlcdPacket.h>

Inheritance diagram for HdlcdPacket:
Collaboration diagram for HdlcdPacket:

Public Member Functions

virtual E_HDLCD_PACKET GetHdlcdPacketType () const
 
- Public Member Functions inherited from Frame
 Frame ()
 The constructor of Frame objects. More...
 
virtual ~Frame ()
 The destructor of Frame objects. More...
 
virtual const std::vector< unsigned char > Serialize () const =0
 The purely virtual serializer method. More...
 
size_t BytesNeeded () const
 Query the amount of outstanding data during reception for frame assembly. More...
 
bool ParseBytes (const unsigned char *a_ReadBuffer, size_t &a_ReadBufferOffset, size_t &a_BytesAvailable)
 Deliver a chunk of received bytes in the phase of deserialization. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Frame
virtual bool Deserialize ()=0
 The purely virtual deserializer method. More...
 
- Protected Attributes inherited from Frame
std::vector< unsigned char > m_Buffer
 The buffer containing partly received frames or higher-layer payload. More...
 
size_t m_BytesRemaining
 The amount of bytes required to finalize frame assembly during reception. More...
 

Detailed Description

Class HdlcdPacket.

This is the base class for all packet types of the HDLCd access protocol. This base class inherits from the Frame class and thus allows easy exchange via FrameEndpoint entities.

Definition at line 64 of file HdlcdPacket.h.

Member Function Documentation

virtual E_HDLCD_PACKET HdlcdPacket::GetHdlcdPacketType ( ) const
inlinevirtual

Definition at line 66 of file HdlcdPacket.h.


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