[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TResourceCacheItem - an item in a list (TResourceCache)
Source position: lclrescache.pas line 39
type TResourceCacheItem = class |
||
protected |
||
FDestroying: Boolean; |
|
FDestroying - local boolean variable to store Destroying status |
|
FReferenceCount - local variable to store Reference Count |
|
public |
||
Handle: TLCLHandle; |
|
Handle for Cache Item - use TLCLHandle instead of THandle since THandle = longint under 64bit linux |
|
The Resource Cache to which this Cache Item belongs |
|
|
FirstDescriptor - the descriptor for the first item in the list |
|
|
LastDescriptor - the descriptor for the last item in the list |
|
|
The Next item in the list |
|
|
Prev - the previous item in the list |
|
constructor Create(); |
|
|
destructor Destroy; override; |
|
|
procedure IncreaseRefCount; |
|
IncreaseRefCount - increment the reference count |
procedure DecreaseRefCount; |
|
DecreaseRefCount - decrement the reference count |
procedure AddToList(); |
|
AddToList - add an item to the cache list specified by First, Last |
procedure RemoveFromList(); |
|
RemoveFromList - remove an item from the cache list specified by First, Last |
procedure WarnReferenceHigh; virtual; |
|
WarnReferenceHigh - issue a warning if the number of references gets too high |
property ReferenceCount: Integer; [r] |
|
ReferenceCount - the number of references to this Item |
end; |
|
TResourceCacheItem - an item in a list (TResourceCache) |
|
| | ||
TObject |
lazarus-ccr.sourceforge.net |