Provides object-oriented handle functionality.
template< typename ObjectHandleService = object_handle_service> class basic_object_handle : public windows::basic_handle< ObjectHandleService >
Name |
Description |
---|---|
The type of the executor associated with the object. |
|
The underlying implementation type of I/O object. |
|
A basic_handle is always the lowest layer. |
|
The native representation of a handle. |
|
The type of the service that will be used to provide I/O operations. |
Name |
Description |
---|---|
Assign an existing native handle to the handle. |
|
Start an asynchronous wait on the object handle. |
|
Construct a basic_object_handle without opening it. Construct a basic_object_handle on an existing native handle. Move-construct a basic_object_handle from another. |
|
Cancel all asynchronous operations associated with the handle. |
|
Close the handle. |
|
Get the executor associated with the object. |
|
(Deprecated: Use get_executor().) Get the io_service associated with the object. |
|
Determine whether the handle is open. |
|
Get a reference to the lowest layer. Get a const reference to the lowest layer. |
|
Get the native handle representation. |
|
Move-assign a basic_object_handle from another. |
|
Perform a blocking wait on the object handle. |
Name |
Description |
---|---|
Get the underlying implementation of the I/O object. |
|
Get the service associated with the I/O object. |
The windows::basic_object_handle
class template
provides asynchronous and blocking object-oriented handle functionality.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: asio/windows/basic_object_handle.hpp
Convenience header: asio.hpp