Provides random-access handle functionality.
template< typename Executor = any_io_executor> class basic_random_access_handle : public windows::basic_overlapped_handle< any_io_executor >
Name |
Description |
---|---|
Rebinds the handle type to another executor. |
|
The type of the executor associated with the object. |
|
An overlapped_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 read at the specified offset. |
|
Start an asynchronous write at the specified offset. |
|
basic_random_access_handle [constructor] |
Construct a random-access handle without opening it. |
Cancel all asynchronous operations associated with the handle. |
|
Close the handle. |
|
Get the executor associated with the object. |
|
Determine whether the handle is open. |
|
Get a reference to the lowest layer. |
|
Get the native handle representation. |
|
Move-assign a random-access handle from another. |
|
Read some data from the handle at the specified offset. |
|
Release ownership of the underlying native handle. |
|
Write some data to the handle at the specified offset. |
The windows::basic_random_access_handle
class
provides asynchronous and blocking random-access handle functionality.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: asio/windows/basic_random_access_handle.hpp
Convenience header: asio.hpp