Core method to notify all observers about operations
Source position: fpobserver.pp line 47
public procedure TObservedHook.FPONotifyObservers( |
ASender: TObject; |
AOperation: TFPObservedOperation; |
Data: Pointer |
); |
ASender |
|
Object sending the notification |
AOperation |
|
Type of operation that occurred |
Data |
|
Additional data associated with the operation |
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.
|
Notifies observers that an item was added |
|
|
Notifies observers that an item was deleted |
|
|
Notifies all observers that the object has changed |
|
|
Sends custom notification to all observers |