#include <source/ariba/utility/transport/asio/asio_io_service.h>

Static Public Member Functions | |
| static boost::asio::io_service & | alloc () |
| static void | free () |
| static void | start () |
| static void | stop () |
Protected Member Functions | |
| void | operator() () |
| asio_io_service () | |
| ~asio_io_service () | |
| void | internal_start () |
| void | internal_stop () |
Private Attributes | |
| int | references |
| volatile bool | running |
| volatile bool | destroy |
| boost::thread * | thread |
| boost::asio::io_service * | service |
Static Private Attributes | |
| static asio_io_service * | singleton = NULL |
Friends | |
| class | boost::thread |
| class | boost::detail::thread_data< boost::reference_wrapper< asio_io_service > > |
TODO: Doc
Definition at line 20 of file asio_io_service.h.
| ariba::transport::detail::asio_io_service::asio_io_service | ( | ) | [protected] |
| ariba::transport::detail::asio_io_service::~asio_io_service | ( | ) | [protected] |
Definition at line 41 of file asio_io_service.cpp.
| io_service & ariba::transport::detail::asio_io_service::alloc | ( | ) | [static] |
Definition at line 64 of file asio_io_service.cpp.
References asio_io_service(), DBG, references, service, and singleton.
| void ariba::transport::detail::asio_io_service::free | ( | ) | [static] |
Definition at line 76 of file asio_io_service.cpp.
References DBG, destroy, references, running, service, and singleton.
Referenced by ariba::transport::rfcomm::~rfcomm().
| void ariba::transport::detail::asio_io_service::internal_start | ( | ) | [protected] |
Definition at line 52 of file asio_io_service.cpp.
References running, and thread.
Referenced by start().
| void ariba::transport::detail::asio_io_service::internal_stop | ( | ) | [protected] |
| void ariba::transport::detail::asio_io_service::operator() | ( | ) | [protected] |
| void ariba::transport::detail::asio_io_service::start | ( | ) | [static] |
Definition at line 94 of file asio_io_service.cpp.
References internal_start(), and singleton.
| void ariba::transport::detail::asio_io_service::stop | ( | ) | [static] |
Definition at line 98 of file asio_io_service.cpp.
References internal_stop(), and singleton.
friend class boost::detail::thread_data< boost::reference_wrapper< asio_io_service > > [friend] |
Definition at line 31 of file asio_io_service.h.
friend class boost::thread [friend] |
Definition at line 30 of file asio_io_service.h.
volatile bool ariba::transport::detail::asio_io_service::destroy [private] |
Definition at line 24 of file asio_io_service.h.
Referenced by free(), and operator()().
int ariba::transport::detail::asio_io_service::references [private] |
Definition at line 22 of file asio_io_service.h.
volatile bool ariba::transport::detail::asio_io_service::running [private] |
Definition at line 23 of file asio_io_service.h.
Referenced by free(), internal_start(), internal_stop(), operator()(), and ~asio_io_service().
boost::asio::io_service* ariba::transport::detail::asio_io_service::service [private] |
Definition at line 26 of file asio_io_service.h.
Referenced by alloc(), asio_io_service(), free(), internal_stop(), operator()(), and ~asio_io_service().
asio_io_service * ariba::transport::detail::asio_io_service::singleton = NULL [static, private] |
Definition at line 28 of file asio_io_service.h.
Referenced by alloc(), free(), internal_stop(), operator()(), start(), and stop().
boost::thread* ariba::transport::detail::asio_io_service::thread [private] |
Definition at line 25 of file asio_io_service.h.
Referenced by internal_start(), and ~asio_io_service().
1.6.1