asio C++ library

PrevUpHomeNext

basic_io_object

Base class for all I/O objects.

template<
    typename IoObjectService>
class basic_io_object
Types

Name

Description

executor_type

The type of the executor associated with the object.

implementation_type

The underlying implementation type of I/O object.

service_type

The type of the service that will be used to provide I/O operations.

Member Functions

Name

Description

get_executor

Get the executor associated with the object.

get_io_service

(Deprecated: Use get_executor().) Get the io_service associated with the object.

Protected Member Functions

Name

Description

basic_io_object

Construct a basic_io_object.

Move-construct a basic_io_object.

get_implementation

Get the underlying implementation of the I/O object.

get_service

Get the service associated with the I/O object.

operator=

Move-assign a basic_io_object.

~basic_io_object

Protected destructor to prevent deletion through this type.

Remarks

All I/O objects are non-copyable. However, when using C++0x, certain I/O objects do support move construction and move assignment.

Requirements

Header: asio/basic_io_object.hpp

Convenience header: asio.hpp


PrevUpHomeNext