Networking TS

PrevUpHomeNext

executor_binder

A call wrapper type to bind an executor of type Executor to an object of type T.

template<
    typename T,
    typename Executor>
class executor_binder
Types

Name

Description

argument_type

The type of the function's argument.

executor_type

The type of the associated executor.

first_argument_type

The type of the function's first argument.

result_type

The return type if a function.

second_argument_type

The type of the function's second argument.

target_type

The type of the target object.

Member Functions

Name

Description

executor_binder

Construct an executor wrapper for the specified object.

Copy constructor.

Construct a copy, but specify a different executor.

Construct a copy of a different executor wrapper type.

Construct a copy of a different executor wrapper type, but specify a different executor.

Move constructor.

Move construct the target object, but specify a different executor.

Move construct from a different executor wrapper type.

Move construct from a different executor wrapper type, but specify a different executor.

get

Obtain a reference to the target object.

get_executor

Obtain the associated executor.

operator()

~executor_binder

Destructor.


PrevUpHomeNext