[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'daemonapp' (#fcl)

TCustomDaemonMapper

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Daemon mapper

Declaration

Source position: daemonapp.pp line 269

type TCustomDaemonMapper = class(TComponent) end;

public

  constructor Create(); override;

  

Create a new instance of TCustomDaemonMapper

  destructor Destroy; override;

  

Clean up and destroy a TCustomDaemonMapper instance.

published

  property DaemonDefs: TDaemonDefs; [rw]

  

Collection of daemons

  property OnCreate: TNotifyEvent; [rw]

  

Event called when the daemon mapper is created

  property OnDestroy: TNotifyEvent; [rw]

  

Event called when the daemon mapper is freed.

  property OnRun: TNotifyEvent; [rw]

  

Event called when the daemons are executed.

  property OnInstall: TNotifyEvent; [rw]

  

Event called when the daemons are installed

  property OnUnInstall: TNotifyEvent; [rw]

  

Event called when the daemons are uninstalled

Inheritance

TCustomDaemonMapper

  

Daemon mapper

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

The TCustomDaemonMapper class is responsible for mapping a daemon definition to an actual TDaemon instance. It maintains a TDaemonDefs collection with daemon definitions, which can be used to map the definition of a daemon to a TDaemon descendent class.

An IDE such as Lazarus can design a TCustomDaemonMapper instance visually, to help establish the relationship between various TDaemonDef definitions and the actual TDaemon instances that will be used to run the daemons.

The TCustomDaemonMapper class has no support for streaming. The TDaemonMapper class has support for streaming (and hence visual designing).

See also

TDaemon

  

Daemon class for visual development

TDaemonDef

  

Daemon definition

TDaemonDefs

  

Collection of daemon definitions.

TDaemonMapper

  

Daemon mapper for designing in IDE


Documentation generated on: Nov 14 2015