2005/5/9

     
 

class StackHeap

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

acdk::lang::sys::StackHeap Class Reference

#include <StackHeap.h>

Inheritance diagram for acdk::lang::sys::StackHeap:

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

Public Member Functions

 StackHeap (int pagesize=1024 *1024, RHeapFrame top=0, int flags=HeapIsThread, const char *name=)
 ~StackHeap ()
virtual bool dispose ()
 manually remove this HeapFrame object.

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


Private Attributes

StackAllocScope stk

Constructor & Destructor Documentation

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

acdk::lang::sys::StackHeap::~StackHeap  ) 
 


Member Function Documentation

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

return the current Allocator for this HeapFrame

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

virtual bool acdk::lang::sys::StackHeap::dispose  )  [virtual]
 

manually remove this HeapFrame object.

return true, if this will be deleted

Reimplemented from acdk::lang::sys::HeapFrame.

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

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

virtual void acdk::lang::sys::StackHeap::listObjects ::acdk::lang::ref::NotifyObjectEventListener listener,
int  flags
[virtual]
 

uses NotifyObjectEventListener::listedAllocated

Parameters:
flags combination of ListObjectsFlags

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

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


Member Data Documentation

StackAllocScope acdk::lang::sys::StackHeap::stk [private]