Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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>>>;
Parameters
_Type
The payload type of the messages propagated to this block._FunctorType
The signature of functions that this block can accept.
Members
Public Constructors
Name |
Description |
|---|---|
Overloaded. Constructs a call messaging block. |
|
Destroys the call messaging block. |
Protected Methods
Name |
Description |
|---|---|
Executes the call function on the input messages. |
|
Processes a message that was accepted by this call messaging block. |
|
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. |
|
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. |
|
Overrides the supports_anonymous_source method to indicate that this block can accept messages offered to it by a source that is not linked. (Overrides ITarget::supports_anonymous_source.) |
Remarks
For more information, see Asynchronous Message Blocks.
Inheritance Hierarchy
call
Requirements
Header: agents.h
Namespace: concurrency