Class TCEFComponentIdList

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TCEFComponentIdList = class(TObject)

Description

Class used to keep a list of valid custom component IDs for any component that handles a CEF Task event.

Hierarchy

Overview

Fields

Protected FList: TList;
Protected FIdGen: integer;
Protected FSyncObj: TCriticalSection;

Methods

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);

Properties

Public property Initialized : boolean read GetInitialized;

Description

Fields

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.

Methods

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.

Properties

Public property Initialized : boolean read GetInitialized;

Returns true when this class is fully initialized and ready to be used.


Generated by PasDoc 0.16.0-snapshot.