Declaration¶
Source position: daemonapp.pp line 283
type
TDaemonDefs = class(TCollection)
public
constructor Create;
function IndexOfDaemonDef : Integer;
function FindDaemonDef : TDaemonDef;
function DaemonDefByName : TDaemonDef;
property Daemons[Index : Integer]: TDaemonDef; {rw}
end;
Inheritance¶
Description¶
TDaemonDefs is the class of the global list of daemon definitions. It contains an item for each daemon in the application.
Normally it is not necessary to create an instance of TDaemonDefs manually. The global TCustomDaemonMapper instance will create a collection and maintain it.
Properties¶
| Member | Visibility | Description |
|---|---|---|
| Daemons | public | Indexed access to TDaemonDef instances. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | public | Create a new instance of a TDaemonDefs collection. |
| DaemonDefByName | public | Find and return instance of daemon definition with given name. |
| FindDaemonDef | public | Find and return instance of daemon definition with given name. |
| IndexOfDaemonDef | public | Return index of daemon definition. |
See also¶
| Name | Description |
|---|---|
| TCustomDaemonMapper | Daemon mapper. |
| TDaemonDef | Daemon definition. |