[Overview][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Template for memory manager implementations.
Source position: lclmemmanager.pas line 34
type TLCLMemManager = class |
||
protected |
||
|
Internal member with the pointer the first item in the memory manager. |
|
|
Member used to store the value for the FreeCount property. |
|
|
Member used to store the value for the Count property. |
|
|
Member used to store the value for the MinimumFreeCount property. |
|
|
Member used to store the value for the MaximumFreeCountRatio property. |
|
|
Member used to store the value for the AllocatedCount property. |
|
|
Member used to store the value for the FreedCount property. |
|
procedure DisposeItem(); |
|
Maintains values in FreeCount and Count when the memory manager item is freed. |
function NewItem; |
|
Gets a pointer to a free memory manager item, or creates a new one. |
procedure FreeFirstItem; virtual; |
|
Frees the first item in the memory manager and maintains the list. |
public |
||
property MinimumFreeCount: Integer; [rw] |
|
Minimum block size that can be freed in the memory manager. |
property MaximumFreeCountRatio: Integer; [rw] |
|
Threshold which determines if the memory manager marks a block or frees it. |
|
Total number of items in the memory manager list. |
|
|
Number of items marked as free in the list. |
|
property AllocatedCount: Int64; [r] |
|
Number of items allocated in the memory manager list. |
property FreedCount: Int64; [r] |
|
Number of freed memory blocks in the list. |
procedure Clear; |
|
Frees all items in the memory manager list. |
constructor Create; |
|
Constructor for the class instance. |
destructor Destroy; override; |
|
Destructor for the class instance. |
end; |
|
Template for memory manager implementations. |
|
| | ||
TObject |
TLCLMemManager is a class which provides a template for memory manager implementations used in the LCL. It is used as a base class for specialized memory managers in widgetset classes.
Version 3.2 | Generated 2024-02-25 | Home |