Sign in Join
FPDoc Onlineexperiment

TObservedHook.FPONotifyObservers procedure

Member of TObservedHookpublicIn unit fpObserver

Core method to notify all observers about operations

Declaration

pascal
procedure FPONotifyObservers(ASender: TObject; 
 AOperation: TFPObservedOperation; 
 Data: Pointer)

Arguments

ASender

Object sending the notification

AOperation

Type of operation that occurred

Data

Additional data associated with the operation

Description

The FPONotifyObservers method is the central notification mechanism that calls the FPOObservedChanged method on all attached observers.

This method is used internally by all other notification methods and can be called directly for custom notification scenarios. The operation parameter specifies the type of change that occurred.

The method iterates through the observer list in reverse order to handle observers that might detach themselves during notification.

See also

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