Sign in Join
FPDoc Onlineexperiment

TNotifyEventCollection class

In unit fpMkUnit

Collection of notification event handlers

Declaration

pascal
TNotifyEventCollection = class(TCollection)

Inheritance

  1. TNotifyEventCollection
  2. TCollection
  3. TPersistent
  4. TObject

Description

TNotifyEventCollection is a specialized collection that manages multiple notification event handlers.

This class provides methods for adding, removing, and invoking notification events at specific build process stages.

Build systems use this collection to maintain lists of callbacks that should be executed at defined trigger points.

Methods

createpublicCreates a new notification event collection
GetEnumeratorpublicGets enumerator for iterating notify events
AppendEventpublicAdds a notification event handler to the collection
AppendProcEventpublicAdds a procedural notification event to the collection
CallEventspublicInvokes all event handlers for the specified action

Inherited

From TCollection (29)

Add Assign BeginUpdate Changed Clear Count Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetItem GetItemAttr GetNamePath Insert ItemClass Items Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount

From TPersistent (6)

AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.