[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Daemon mapper
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 |
|
Daemon mapper |
|
| | ||
| | ||
| | ||
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).
|
Daemon class for visual development |
|
|
Daemon definition |
|
|
Collection of daemon definitions. |
|
|
Daemon mapper for designing in IDE |