HDLC-Daemon
SerialPortHandler Class Reference

#include <SerialPortHandler.h>

Inheritance diagram for SerialPortHandler:
Collaboration diagram for SerialPortHandler:

Public Member Functions

 SerialPortHandler (const std::string &a_SerialPortName, std::shared_ptr< SerialPortHandlerCollection > a_SerialPortHandlerCollection, boost::asio::io_service &a_IOService)
 
 ~SerialPortHandler ()
 
void AddHdlcdServerHandler (std::shared_ptr< HdlcdServerHandler > a_HdlcdServerHandler)
 
void DeliverPayloadToHDLC (const std::vector< unsigned char > &a_Payload, bool a_bReliable)
 
bool Start ()
 
void Stop ()
 
void SuspendSerialPort ()
 
void ResumeSerialPort ()
 
void PropagateSerialPortState ()
 
- Public Member Functions inherited from ISerialPortHandler
virtual ~ISerialPortHandler ()
 

Detailed Description

Definition at line 37 of file SerialPortHandler.h.

Constructor & Destructor Documentation

SerialPortHandler::SerialPortHandler ( const std::string &  a_SerialPortName,
std::shared_ptr< SerialPortHandlerCollection a_SerialPortHandlerCollection,
boost::asio::io_service &  a_IOService 
)

Definition at line 29 of file SerialPortHandler.cpp.

SerialPortHandler::~SerialPortHandler ( )

Definition at line 37 of file SerialPortHandler.cpp.

Here is the call graph for this function:

Member Function Documentation

void SerialPortHandler::AddHdlcdServerHandler ( std::shared_ptr< HdlcdServerHandler a_HdlcdServerHandler)

Definition at line 41 of file SerialPortHandler.cpp.

Here is the call graph for this function:

void SerialPortHandler::DeliverPayloadToHDLC ( const std::vector< unsigned char > &  a_Payload,
bool  a_bReliable 
)

Definition at line 85 of file SerialPortHandler.cpp.

void SerialPortHandler::PropagateSerialPortState ( )
virtual

Implements ISerialPortHandler.

Definition at line 79 of file SerialPortHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SerialPortHandler::ResumeSerialPort ( )

Definition at line 66 of file SerialPortHandler.cpp.

Here is the call graph for this function:

bool SerialPortHandler::Start ( )

Definition at line 100 of file SerialPortHandler.cpp.

void SerialPortHandler::Stop ( )

Definition at line 105 of file SerialPortHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SerialPortHandler::SuspendSerialPort ( )

Definition at line 51 of file SerialPortHandler.cpp.

Here is the call graph for this function:


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