Base class for all I/O objects. More...
#include <basic_io_object.hpp>
Public Types | |
typedef IoObjectService | service_type |
The type of the service that will be used to provide I/O operations. More... | |
typedef service_type::implementation_type | implementation_type |
The underlying implementation type of I/O object. More... | |
Public Member Functions | |
boost::asio::io_service & | get_io_service () |
Get the io_service associated with the object. More... | |
Protected Member Functions | |
basic_io_object (boost::asio::io_service &io_service) | |
Construct a basic_io_object. More... | |
~basic_io_object () | |
Protected destructor to prevent deletion through this type. More... | |
service_type & | get_service () |
Get the service associated with the I/O object. More... | |
const service_type & | get_service () const |
Get the service associated with the I/O object. More... | |
implementation_type & | get_implementation () |
Get the underlying implementation of the I/O object. More... | |
const implementation_type & | get_implementation () const |
Get the underlying implementation of the I/O object. More... | |
Protected Attributes | |
service_type & | service |
(Deprecated: Use get_service().) The service associated with the I/O object. More... | |
implementation_type | implementation |
(Deprecated: Use get_implementation().) The underlying implementation of the I/O object. More... | |
Base class for all I/O objects.
typedef service_type::implementation_type boost::asio::basic_io_object< IoObjectService >::implementation_type |
The underlying implementation type of I/O object.
typedef IoObjectService boost::asio::basic_io_object< IoObjectService >::service_type |
The type of the service that will be used to provide I/O operations.
|
inlineexplicitprotected |
|
inlineprotected |
Protected destructor to prevent deletion through this type.
Performs:
|
inlineprotected |
Get the underlying implementation of the I/O object.
|
inlineprotected |
Get the underlying implementation of the I/O object.
|
inline |
Get the io_service associated with the object.
This function may be used to obtain the io_service object that the I/O object uses to dispatch handlers for asynchronous operations.
|
inlineprotected |
Get the service associated with the I/O object.
|
inlineprotected |
Get the service associated with the I/O object.
|
protected |
(Deprecated: Use get_implementation().) The underlying implementation of the I/O object.
Referenced by boost::asio::basic_io_object< DatagramSocketService >::basic_io_object(), boost::asio::basic_io_object< DatagramSocketService >::get_implementation(), and boost::asio::basic_io_object< DatagramSocketService >::~basic_io_object().
|
protected |
(Deprecated: Use get_service().) The service associated with the I/O object.
Referenced by boost::asio::basic_io_object< DatagramSocketService >::basic_io_object(), boost::asio::basic_io_object< DatagramSocketService >::get_io_service(), boost::asio::basic_io_object< DatagramSocketService >::get_service(), and boost::asio::basic_io_object< DatagramSocketService >::~basic_io_object().