22 #ifndef SERIAL_PORT_HANDLER_COLLECTION_H 23 #define SERIAL_PORT_HANDLER_COLLECTION_H 28 #include <boost/asio.hpp> 38 std::shared_ptr<std::shared_ptr<SerialPortHandler>>
GetSerialPortHandler(
const std::string &a_SerialPortName, std::shared_ptr<HdlcdServerHandler> a_HdlcdServerHandler);
45 boost::asio::io_service& m_IOService;
46 std::map<std::string, std::weak_ptr<std::shared_ptr<SerialPortHandler>>> m_SerialPortHandlerMap;
49 #endif // SERIAL_PORT_HANDLER_COLLECTION_H
void DeregisterSerialPortHandler(std::shared_ptr< SerialPortHandler > a_SerialPortHandler)
SerialPortHandlerCollection(boost::asio::io_service &a_IOService)
std::shared_ptr< std::shared_ptr< SerialPortHandler > > GetSerialPortHandler(const std::string &a_SerialPortName, std::shared_ptr< HdlcdServerHandler > a_HdlcdServerHandler)