IFPObserver

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

Interface for an object to observe other objects.

Declaration

Source position: classesh.inc line 176

Type
  IFPObserver = interface [SGUIDObserver]
    procedure FPOObservedChanged(ASender: TObject; 
                                Operation: TFPObservedOperation; 
                                Data: Pointer);
  end
  ;

Description

IFPObserver is the interface an object must implement if it wishes to receive change notifications from another object. The presence of this interface will be checked when the object registers itself using IFPObserver.FPOAttachObserver]() . The change notifications arrive because the FPOObservedChanged]() method is called by the observed object.

Members

Member Type Visibility Description
FPOObservedChanged Method default Entry point for change notifications

Inheritance

Class Description
IFPObserver Interface for an object to observe other objects.

See also

Name Description
IFPObserved Interface implemented by an object that can be observed.
FPOAttachObserver Attach a new observer to the object