...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Provides pipe functionality.
template< typename Executor = any_io_executor> class basic_readable_pipe
Name |
Description |
---|---|
Rebinds the pipe type to another executor. |
|
The type of the executor associated with the object. |
|
A basic_readable_pipe is always the lowest layer. |
|
The native representation of a pipe. |
Name |
Description |
---|---|
Assign an existing native pipe to the pipe. |
|
Start an asynchronous read. |
|
basic_readable_pipe [constructor] |
Construct a basic_readable_pipe without opening it. |
Cancel all asynchronous operations associated with the pipe. |
|
Close the pipe. |
|
Get the executor associated with the object. |
|
Determine whether the pipe is open. |
|
Get a reference to the lowest layer. |
|
Get the native pipe representation. |
|
Move-assign a basic_readable_pipe from another. |
|
Read some data from the pipe. |
|
~basic_readable_pipe [destructor] |
Destroys the pipe. |
The basic_readable_pipe
class provides a wrapper over pipe functionality.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/basic_readable_pipe.hpp
Convenience header: boost/asio.hpp