ITarget::link_source Method

When overridden in a derived class, links a specified source block to this ITarget block.

virtual void link_source(
   _Inout_ ISource<_Type> * _PSource
) = 0;

Parameters

  • _PSource
    The ISource block being linked to this ITarget block.

Remarks

This function should not be called directly on an ITarget block. 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

ITarget Class