Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TObservers

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

Declaration

Source position: classesh.inc line 323

type TObservers = class

public

type

  TCanObserveEvent = function(

  const aID: Integer

):Boolean of object;

  TObserverAddedEvent = procedure(

  const aID: Integer;

  const aObserver: IObserver

) of object;

public

  property OnCanObserve: TCanObserveEvent; [rw]

  property OnObserverAdded: TObserverAddedEvent; [rw]

  function CanObserve(); virtual; overload;

  procedure AddObserver();

  procedure RemoveObserver();

  function IsObserving(); virtual; overload;

  function TryIsObserving(); virtual;

  function GetSingleCastObserver(); virtual;

  function GetMultiCastObserverArray(); virtual;

  function GetMultiCastObserver(); virtual;

end;

Inheritance

TObservers

|

TObject

  

Base class of all classes.


Documentation generated on: Nov 22 2024