Class TSimpleNotifyEventList

Unit

Declaration

type TSimpleNotifyEventList = class(specialize TMethodList<TSimpleNotifyEvent>)

Description

This item has no description. Showing description inherited from TMethodList.

List of methods (callbacks "of object"). This is just TList class from Generics.Collections, with some useful helpers.

In practice, for now, this just fixes the list for CASTLE_LIST_METHODS_WORKAROUND (avoids FPC 3.2.3 issues on 32-bit Arm).

Source: src/base/castleclassutils.pas (line 966).

Hierarchy

Overview

Methods

Public procedure ExecuteAll;
Public procedure Pack;
Public procedure Unassign(const Event: TSimpleNotifyEvent);

Description

Methods

Public procedure ExecuteAll;

Call all (assigned) Items, from first to last.

Source: src/base/castleclassutils.pas (line 969).

Public procedure Pack;

Remove all unassigned items.

Source: src/base/castleclassutils.pas (line 972).

Public procedure Unassign(const Event: TSimpleNotifyEvent);

Unassign all items equal this Event. This is useful to do when (possibly) iterating over this list, and doing Remove(Event) would be risky (shifting the items order). So it's safer to do Unassign(Event) and call Pack once we don't iterate over the list anymore.

Source: src/base/castleclassutils.pas (line 979).


Generated by PasDoc 0.17.0.snapshot.