Export (0) Print
Expand All

call Class

A call messaging block is a multi-source, ordered target_block that invokes a specified function when receiving a message.

template<
   class _Type,
   class _FunctorType = std::tr1::function<void(_Type const&)>
>
class call : public target_block<multi_link_registry<ISource<_Type>>>;

_Type

The payload type of the messages propagated to this block.

_FunctorType

The signature of functions that this block can accept.

Public Constructors

Name

Description

call::call Constructor

Overloaded. Constructs a call messaging block.

call::~call Destructor

Destroys the call messaging block.

Protected Methods

Name

Description

call::process_message Method

Processes a message that was accepted by this call messaging block.

call::propagate_message Method

Asynchronously passes a message from an ISource block to this call messaging block. It is invoked by the propagate method, when called by a source block.

call::send_message Method

Synchronously passes a message from an ISource block to this call messaging block. It is invoked by the send method, when called by a source block.

For more information, see Asynchronous Message Blocks.

Header: agents.h

Namespace: Concurrency

Community Additions

ADD
Show:
© 2015 Microsoft