IHYVCLInstanceCounting

Overview

The IHYInstanceCounting interface enables instance counting for the plugin factory. In the Hydra framework, this interface is used by the THYPluginFactory class to provide information about the number of created plugin instances.

This interface is implemented by both visual and non-visual plugins.

Location


Required Methods


RegisterFactory

Registers specified plugin factory.

procedure RegisterFactory(aFactory: TObject)

Parameters:

  • aFactory: Reference to an instance of the plugin factory.