TEventBase Class

Base class for multicast event implementation

Namespace: Spring.Events.Base
type
 TEventBase = class(TInterfacedObject, IEvent)
 end;

The TEventBase type exposes the following members.

Show:
 NameDescription
DisabledFlag

Represents constant DisabledFlag.

Top
Show:
 NameDescription
Create

Initializes a new instance of the TEventBase class.

Destroy

Represents the destructor of the TEventBase class.

Top
Show:
 NameDescription
CanInvoke

Returns True when the event will do anything because it is Enabled and contains any event handler. Otherwise returns False.

Count

Represents property Count.

Enabled

Gets the value indicates whether the multicast event is enabled, or sets the value to enable or disable the event.

Handlers

Represents property Handlers.

OnChanged

Represents property OnChanged.

Top
Show:
 NameDescription
Add(TMethodPointer)

Represents method Add(TMethodPointer).

Clear

Clears all event handlers.

Delete(Integer)

Represents method Delete(Integer).

GetCanInvoke

Represents method GetCanInvoke.

GetCount

Represents method GetCount.

GetEnabled

Represents method GetEnabled.

GetHandlers

Represents method GetHandlers.

GetInvoke

Represents method GetInvoke.

GetOnChanged

Represents method GetOnChanged.

HandleNotification(TComponent,TOperation)

Represents method HandleNotification(TComponent,TOperation).

LockEnter

Represents method LockEnter.

LockLeave

Represents method LockLeave.

Notify(TObject,TMethodPointer,TCollectionNotification)

Represents method Notify(TObject,TMethodPointer,TCollectionNotification).

Remove(TMethodPointer)

Represents method Remove(TMethodPointer).

RemoveAll(Pointer)

Removes all event handlers which were registered by an instance.

SetEnabled(Boolean)

Represents method SetEnabled(Boolean).

SetOnChanged(TNotifyEvent)

Represents method SetOnChanged(TNotifyEvent).

Top
Show:
 NameDescription
Invoke

Represents property Invoke.

Top
Show:
 NameDescription
fCount

Represents field fCount.

fHandlers

Represents field fHandlers.

fInvoke

Represents field fInvoke.

fLock

Represents field fLock.

fNotificationHandler

Represents field fNotificationHandler.

fOnChanged

Represents field fOnChanged.

Top