THYNonVisualPlugin
Overview
THYNonVisualPlugin is the base class for Hydra non-visual cross-platform plugins. You will use this class as a base for your own non-visual cross-platform plugins, please refer to this article for more information about non-visual plugins.
Location
- Unit: Hydra.Core.NonVisualPlugin.pas
- Ancestry: TDataModule | THYPlugin | THYNonVisualPlugin
CrossPlatformHost protected (declared in THYPlugin)
Reference to an instance of a cross platform host.
property CrossPlatformHost: IHYCrossPlatformHost read
NewInstance override (declared in THYPlugin)
Allocates memory for an instance of an object type and returns a pointer to that new instance.
class function NewInstance: TObject
OnPause
Gets or sets event handler that reacts on Pause calls.
property OnPause: TNotifyEvent read write
OnResume
Gets or sets event handler that reacts on Resume calls.
property OnResume: TNotifyEvent read write
OnStart
Gets or sets event handler that reacts on Start calls.
property OnStart: TNotifyEvent read write
OnStop
Gets or sets event handler that reacts on Stop calls.
property OnStop: TNotifyEvent read write
Pause protected safecall
Pauses executing the non-visual plugin. Call to this method triggers OnPause event.
procedure Pause
Resume protected safecall
Resumes executing the non-visual plugin. Call to this method triggers OnResume event.
procedure Resume
Start protected safecall
Starts executing the non-visual plugin. Call to this method triggers OnStart event.
procedure Start
Stop protected safecall
Stops executing the non-visual plugin. Call to this method triggers OnStop event.
procedure Stop
CrossPlatformHost protected (declared in THYPlugin)
Reference to an instance of a cross platform host.
property CrossPlatformHost: IHYCrossPlatformHost read
NewInstance override (declared in THYPlugin)
Allocates memory for an instance of an object type and returns a pointer to that new instance.
class function NewInstance: TObject
Pause protected safecall
Pauses executing the non-visual plugin. Call to this method triggers OnPause event.
procedure Pause
Resume protected safecall
Resumes executing the non-visual plugin. Call to this method triggers OnResume event.
procedure Resume
Start protected safecall
Starts executing the non-visual plugin. Call to this method triggers OnStart event.
procedure Start
Stop protected safecall
Stops executing the non-visual plugin. Call to this method triggers OnStop event.
procedure Stop
OnPause
Gets or sets event handler that reacts on Pause calls.
property OnPause: TNotifyEvent read write
OnResume
Gets or sets event handler that reacts on Resume calls.
property OnResume: TNotifyEvent read write
OnStart
Gets or sets event handler that reacts on Start calls.
property OnStart: TNotifyEvent read write
OnStop
Gets or sets event handler that reacts on Stop calls.
property OnStop: TNotifyEvent read write