asio C++ library

PrevUpHomeNext

basic_writable_pipe

Provides pipe functionality.

template<
    typename Executor = any_io_executor>
class basic_writable_pipe
Types

Name

Description

rebind_executor

Rebinds the pipe type to another executor.

executor_type

The type of the executor associated with the object.

lowest_layer_type

A basic_writable_pipe is always the lowest layer.

native_handle_type

The native representation of a pipe.

Member Functions

Name

Description

assign

Assign an existing native pipe to the pipe.

async_write_some

Start an asynchronous write.

basic_writable_pipe [constructor]

Construct a basic_writable_pipe without opening it.

Construct a basic_writable_pipe on an existing native pipe.

Move-construct a basic_writable_pipe from another.

cancel

Cancel all asynchronous operations associated with the pipe.

close

Close the pipe.

get_executor

Get the executor associated with the object.

is_open

Determine whether the pipe is open.

lowest_layer

Get a reference to the lowest layer.

Get a const reference to the lowest layer.

native_handle

Get the native pipe representation.

operator=

Move-assign a basic_writable_pipe from another.

write_some

Write some data to the pipe.

~basic_writable_pipe [destructor]

Destroys the pipe.

The basic_writable_pipe class provides a wrapper over pipe functionality.

Thread Safety

Distinct objects: Safe.

Shared objects: Unsafe.

Requirements

Header: asio/basic_writable_pipe.hpp

Convenience header: asio.hpp


PrevUpHomeNext