The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

target_block::link_source Method


Links a specified source block to this target_block object.

virtual void link_source(
   _Inout_ ISource<_Source_type> * _PSource


A pointer to the ISource block that is to be linked.

This function should not be called directly on a target_block object. Blocks should be connected together using the link_target method on ISource blocks, which will invoke the link_source method on the corresponding target.


Header: agents.h

Namespace: concurrency