Skip to content

IFPObserver

Interface for an object to observe other objects.

Declaration

Source position: classesh.inc line 188

type

  IFPObserver = interface
  [SGUIDObserver]
    procedure FPOObservedChanged;
  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.

Methods

Member Visibility Description
FPOObservedChanged default Entry point for change notifications.

See also

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