Class TgoMemoryPool

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TgoMemoryPool = class(TObject)

Description

Hierarchy

  • TObject
  • TgoMemoryPool

Overview

Methods

Public constructor Create(const ABlockSize: Integer; const AMaxBlocksQueued: Integer = MAX_BLOCKS_QUEUED);
Public destructor Destroy; override;
Public function RequestMem: Pointer; overload;
Public function RequestMem(const AName: String): Pointer; overload;
Public procedure ReleaseMem(P: Pointer); overload;
Public procedure ReleaseMem(P: Pointer; const AName: String); overload;

Properties

Public property BlockSize: Integer read FBlockSize;
Public property Count: Integer read GetCount;
Public property Size: Integer read GetSize;

Description

Methods

Public constructor Create(const ABlockSize: Integer; const AMaxBlocksQueued: Integer = MAX_BLOCKS_QUEUED);
 
Public destructor Destroy; override;
 
Public function RequestMem: Pointer; overload;
 
Public function RequestMem(const AName: String): Pointer; overload;
 
Public procedure ReleaseMem(P: Pointer); overload;
 
Public procedure ReleaseMem(P: Pointer; const AName: String); overload;
 

Properties

Public property BlockSize: Integer read FBlockSize;
 
Public property Count: Integer read GetCount;
 
Public property Size: Integer read GetSize;
 

Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26