Share via


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;

Parameters

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

Remarks

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

Requirements

Header: agents.h

Namespace: Concurrency

See Also

Reference

ISource Class