class PagedHeap

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::PagedHeap Class Reference

#include <PagedHeap.h>

Inheritance diagram for acdk::lang::sys::PagedHeap:

acdk::lang::sys::HeapFrame acdk::lang::sys::SysObject List of all members.

Public Member Functions

 PagedHeap (int pagesize=4000, RHeapFrame top=0, int flags=HeapIsThread, const char *name=)
virtual bool onDestroy (Object *obj)
virtual bool gc (bool recursiv=true)
virtual Allocatorallocator ()
 return the current Allocator for this HeapFrame

virtual void listObjects (::acdk::lang::ref::NotifyObjectEventListener *listener, int flags)
 uses NotifyObjectEventListener::listedAllocated

Protected Attributes

RPagedAllocator _allocator

Constructor & Destructor Documentation

acdk::lang::sys::PagedHeap::PagedHeap int  pagesize = 4000,
RHeapFrame  top = 0,
int  flags = HeapIsThread,
const char *  name =

Member Function Documentation

virtual Allocator* acdk::lang::sys::PagedHeap::allocator  )  [inline, virtual]

return the current Allocator for this HeapFrame

Implements acdk::lang::sys::HeapFrame.

virtual bool acdk::lang::sys::PagedHeap::gc bool  recursiv = true  )  [virtual]

Implements acdk::lang::sys::HeapFrame.

virtual void acdk::lang::sys::PagedHeap::listObjects ::acdk::lang::ref::NotifyObjectEventListener listener,
int  flags

uses NotifyObjectEventListener::listedAllocated

flags combination of ListObjectsFlags

Implements acdk::lang::sys::HeapFrame.

virtual bool acdk::lang::sys::PagedHeap::onDestroy Object obj  )  [virtual]

Member Data Documentation

RPagedAllocator acdk::lang::sys::PagedHeap::_allocator [protected]