...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_writable_pipe
Name |
Description |
---|---|
Rebinds the pipe type to another executor. |
|
The type of the executor associated with the object. |
|
A basic_writable_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 write. |
|
basic_writable_pipe [constructor] |
Construct a basic_writable_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_writable_pipe from another. |
|
Release ownership of the underlying native pipe. |
|
Write some data to the pipe. |
|
~basic_writable_pipe [destructor] |
Destroys the pipe. |
The basic_writable_pipe
class provides
a wrapper over pipe functionality.
Distinct objects: Safe.
Shared objects: Unsafe.
Header: boost/asio/basic_writable_pipe.hpp
Convenience header: boost/asio.hpp