Esempio n. 1
0
CLineServer::TPointer CLineServer::Create( boost::asio::io_service & p_service, unsigned short p_port, TSetCallback p_set, TGetCallback p_get )
{
    return TPointer( new CLineServer(p_service,p_port,p_set,p_get) );
}
Esempio n. 2
0
CSimulationInterface::TPointer CSimulationInterface::Create( boost::asio::io_service & p_service,
    CDeviceTable & p_command, CDeviceTable & p_state, unsigned short p_port, size_t p_index )
{
    Logger::Info << __PRETTY_FUNCTION__ << std::endl;
    return TPointer( new CSimulationInterface(p_service,p_command,p_state,p_port,p_index) );
}