THYBaseModule

Overview

The THYBaseModule is a base class that represents a module loaded by the Hydra framework.

Location


Properties


FileName

Returns the file name of a loaded plugin module.

property FileName: string read

Handle

Gets the handle of the loaded plugin. Can be unavailable for some plugins.

property Handle: THandle read

Instance Methods


constructor Create  virtual

Creates a new instance of the class.

constructor Create(aModuleManager: THYBaseModuleManager; aFileName: string)

Parameters:

  • aModuleManager: Owner
  • aFileName: Path to the plugin module file.

CreateWrapper  protected

Calls correspondent method in associated ModuleManager

function CreateWrapper(aPlugin: IDispatch; aDescriptor: THYPluginDescriptor): IInterface

Parameters:

  • aPlugin: Cross-platform plugin instance
  • aDescriptor: Plugin descriptor