source_block::link_target Method

Links a target block to this source_block object.

virtual void link_target(
   _Inout_ ITarget<_Target_type> * _PTarget
);

Parameters

  • _PTarget
    A pointer to an ITarget block to link to this source_block object.

Remarks

The method throws an invalid_argument exception if the parameter _PTarget is NULL.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

source_block Class