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

# TDaemonDefs

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

Collection of daemon definitions.

## Declaration

Source position: daemonapp.pp line 276

`type TDaemonDefs = class(TCollection)`
`public`
`constructor Create();` |  | Create a new instance of a TDaemonDefs collection.
`function IndexOfDaemonDef();` |  | Return index of daemon definition
`function FindDaemonDef();` |  | Find and return instance of daemon definition with given name.
`function DaemonDefByName();` |  | Find and return instance of daemon definition with given name.
`property Daemons []: TDaemonDef; default; [rw]` |  | Indexed access to TDaemonDef instances
`end;`

## Inheritance

`TDaemonDefs` |  | Collection of daemon definitions.
`TCollection`
`TPersistent,IFPObserved`
`TObject`

## 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.

## See also

TCustomDaemonMapper |  | Daemon mapper
TDaemonDef |  | Daemon definition