type TCEFComponentIdList = class(TObject)
Class used to keep a list of valid custom component IDs for any component that handles a CEF Task event.
| Protected | FList: TList; |
| Protected | FIdGen: integer; |
| Protected | FSyncObj: TCriticalSection; |
| Protected | function GetInitialized: boolean; |
| Protected | function Lock: boolean; |
| Protected | procedure Unlock; |
| Public | constructor Create; |
| Public | destructor Destroy; override; |
| Public | procedure AfterConstruction; override; |
| Public | function ValidID(aID : integer) : boolean; |
| Public | function NextID: integer; |
| Public | procedure RemoveID(aID : integer); |
| Public | property Initialized : boolean read GetInitialized; |
| Protected | FList: TList; |
|
Using a TList for backwards compatibility reasons. | |
| Protected | FIdGen: integer; |
|
This item has no description. | |
| Protected | FSyncObj: TCriticalSection; |
|
This item has no description. | |
| Protected | function GetInitialized: boolean; |
|
This item has no description. | |
| Protected | function Lock: boolean; |
|
This item has no description. | |
| Protected | procedure Unlock; |
|
This item has no description. | |
| Public | constructor Create; |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | procedure AfterConstruction; override; |
|
This item has no description. | |
| Public | function ValidID(aID : integer) : boolean; |
|
Returns true if a custom component ID is valid before executing a CEF task. | |
| Public | function NextID: integer; |
|
Returns the next component ID and adds this value to the valid ID list. | |
| Public | procedure RemoveID(aID : integer); |
|
Removes a component ID from the valid ID list when a component is destroyed. | |
| Public | property Initialized : boolean read GetInitialized; |
|
Returns true when this class is fully initialized and ready to be used. | |