This documentation is archived and is not being maintained.

ITarget::unlink_source Method

When overridden in a derived class, unlinks a specified source block from this ITarget block.

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


The ISource block being unlinked from this ITarget block.

This function should not be called directly on an ITarget block. Blocks should be disconnected using the unlink_target or unlink_targets methods on ISource blocks, which will invoke the unlink_source method on the corresponding target.

Header: agents.h

Namespace: Concurrency