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 write

Handle

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

property Handle: THandle read write

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