This documentation is archived and is not being maintained.

ISource::acquire_ref Method

When overridden in a derived class, acquires a reference count on this ISource block, to prevent deletion.

virtual void acquire_ref(
   ITarget<_Type> * _PTarget
) = 0;

_PTarget

A pointer to the target block that is calling this method.

This method is called by an ITarget object that is being linked to this source during the link_target method.

Header: agents.h

Namespace: Concurrency

Show: