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

# TDaemonMapper

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

Daemon mapper for designing in IDE

## Declaration

Source position: daemonapp.pp line 323

`type TDaemonMapper = class(TCustomDaemonMapper)`
`constructor Create(); override;` |  | Create a new TDaemonMapper instance and initializes it from streamed resources.
`constructor CreateNew();` |  | Create a new TDaemonMapper instance without initialization
`end;`

## Inheritance

`TDaemonMapper` |  | Daemon mapper for designing in IDE
`TCustomDaemonMapper` |  | Daemon mapper
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent,IFPObserved`
`TObject`

## Description

TDaemonMapper is a direct descendent of TCustomDaemonMapper, but introduces no new functionality. It's sole purpose is to make it possible for an IDE to stream the TDaemonMapper instance.

For this purpose, it overrides the Create constructor and tries to find a resource with the same name as the class name, and tries to stream the instance from this resource.

If the instance should not be streamed, the CreateNew constructor can be used instead.

## See also

CreateNew |  | Create a new TDaemonMapper instance without initialization
Create |  | Create a new TDaemonMapper instance and initializes it from streamed resources.