Satellite-Gateway
HdlcdClientError Class Reference

#include <HdlcdClientError.h>

Inheritance diagram for HdlcdClientError:
Collaboration diagram for HdlcdClientError:

Public Member Functions

uint16_t GetSerialPortNbr () const
 
uint16_t GetErrorCode () const
 
- Public Member Functions inherited from Frame
 Frame ()
 The constructor of Frame objects. More...
 
virtual ~Frame ()
 The destructor of Frame objects. 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...
 

Static Public Member Functions

static HdlcdClientError Create (uint16_t a_SerialPortNbr, uint16_t a_ErrorCode)
 
static std::shared_ptr< HdlcdClientErrorCreateDeserializedFrame ()
 

Additional Inherited Members

- 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

Definition at line 30 of file HdlcdClientError.h.

Member Function Documentation

static HdlcdClientError HdlcdClientError::Create ( uint16_t  a_SerialPortNbr,
uint16_t  a_ErrorCode 
)
inlinestatic

Definition at line 32 of file HdlcdClientError.h.

Here is the caller graph for this function:

static std::shared_ptr<HdlcdClientError> HdlcdClientError::CreateDeserializedFrame ( )
inlinestatic

Definition at line 39 of file HdlcdClientError.h.

uint16_t HdlcdClientError::GetErrorCode ( ) const
inline

Definition at line 52 of file HdlcdClientError.h.

uint16_t HdlcdClientError::GetSerialPortNbr ( ) const
inline

Definition at line 47 of file HdlcdClientError.h.


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