Share via


target_block::link_source Method

Links a specified source block to this target_block object.

virtual void link_source(
   ISource<_Source_type> * _PSource
);

Parameters

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

Remarks

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.

Requirements

Header: agents.h

Namespace: Concurrency

See Also

Reference

target_block Class