...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
An
windows::object_handle
is always the lowest layer.
typedef object_handle lowest_layer_type;
Name |
Description |
---|---|
The type of the executor associated with the object. |
|
An object_handle is always the lowest layer. |
|
The native representation of a handle. |
Name |
Description |
---|---|
Assign an existing native handle to the handle. |
|
Start an asynchronous wait on the object handle. |
|
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_context associated with the object. |
|
(Deprecated: Use get_executor().) Get the io_context 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. |
|
Construct an object_handle without opening it. Construct an object_handle on an existing native handle. Move-construct an object_handle from another. |
|
Move-assign an object_handle from another. |
|
Perform a blocking wait on the object handle. |
The windows::object_handle
class provides asynchronous and blocking object-oriented handle functionality.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/windows/object_handle.hpp
Convenience header: boost/asio.hpp