THYFMXNonVisualPlugin
Overview
THYFMXNonVisualPlugin is the base class for Hydra FMX non-visual plugins. You will use this class as a base for your own non-visual plugins, please refer to this article for more information about non-visual plugins.
Location
- Unit: Hydra.FMX.NonVisualPlugin.pas
- Ancestry: TDataModule | THYPlugin | THYNonVisualPlugin | THYFMXNonVisualPlugin
CrossPlatformHost protected (declared in THYPlugin)
Reference to an instance of a cross platform host.
property CrossPlatformHost: IHYCrossPlatformHost read
Host
The reference to the plugin host interface.
property Host: IHYFMXHost 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
OnSetHost
Gets or sets event handler that fired whenever reference to a host changed.
property OnSetHost: THYHostSetEvent read write
delegate: procedure OnSetHost(const Sender: TObject; const aHost: IHYFMXHost)
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 (declared in THYNonVisualPlugin)
Pauses executing the non-visual plugin. Call to this method triggers OnPause event.
procedure Pause
Resume protected safecall (declared in THYNonVisualPlugin)
Resumes executing the non-visual plugin. Call to this method triggers OnResume event.
procedure Resume
Start protected safecall (declared in THYNonVisualPlugin)
Starts executing the non-visual plugin. Call to this method triggers OnStart event.
procedure Start
Stop protected safecall (declared in THYNonVisualPlugin)
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
Host
The reference to the plugin host interface.
property Host: IHYFMXHost read
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
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 (declared in THYNonVisualPlugin)
Pauses executing the non-visual plugin. Call to this method triggers OnPause event.
procedure Pause
Resume protected safecall (declared in THYNonVisualPlugin)
Resumes executing the non-visual plugin. Call to this method triggers OnResume event.
procedure Resume
Start protected safecall (declared in THYNonVisualPlugin)
Starts executing the non-visual plugin. Call to this method triggers OnStart event.
procedure Start
Stop protected safecall (declared in THYNonVisualPlugin)
Stops executing the non-visual plugin. Call to this method triggers OnStop event.
procedure Stop
OnSetHost
Gets or sets event handler that fired whenever reference to a host changed.
property OnSetHost: THYHostSetEvent read write
delegate: procedure OnSetHost(const Sender: TObject; const aHost: IHYFMXHost)