...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Typedef for the typical usage of a random-access handle.
typedef basic_random_access_handle random_access_handle;
Name |
Description |
---|---|
The underlying implementation type of I/O object. |
|
A basic_handle is always the lowest layer. |
|
The native representation of a handle. |
|
(Deprecated: Use native_handle_type.) 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 read at the specified offset. |
|
Start an asynchronous write at the specified offset. |
|
Construct a basic_random_access_handle without opening it. Construct a basic_random_access_handle on an existing native handle. Move-construct a basic_random_access_handle from another. |
|
Cancel all asynchronous operations associated with the handle. |
|
Close the handle. |
|
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. |
|
(Deprecated: Use native_handle().) Get the native handle representation. |
|
Get the native handle representation. |
|
Move-assign a basic_random_access_handle from another. |
|
Read some data from the handle at the specified offset. |
|
Write some data to the handle at the specified offset. |
Name |
Description |
---|---|
Get the underlying implementation of the I/O object. |
|
Get the service associated with the I/O object. |
Name |
Description |
---|---|
(Deprecated: Use get_implementation().) The underlying implementation of the I/O object. |
|
(Deprecated: Use get_service().) The service associated with the I/O object. |
The windows::basic_random_access_handle
class
template provides asynchronous and blocking random-access handle functionality.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/windows/random_access_handle.hpp
Convenience header: boost/asio.hpp