2005/5/9

     
 

class HeapFrame

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

acdk::lang::sys::HeapFrame Class Reference

#include <HeapFrame.h>

Inheritance diagram for acdk::lang::sys::HeapFrame:

acdk::lang::sys::SysObject acdk::lang::sys::BitmapPagedHeap acdk::lang::sys::BoehmGCHeapFrame acdk::lang::sys::Garbage_Heap acdk::lang::sys::PagedHeap acdk::lang::sys::RC_GC_Heap acdk::lang::sys::RC_Heap acdk::lang::sys::StackHeap List of all members.

Detailed Description

HeapFrame declares just an abstrakt interface Please refer to class ObjectHeap for more detailed information.


Public Member Functions

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

virtual Allocatorallocator ()=0
 return the current Allocator for this HeapFrame

virtual bool gc (bool recursiv=true)=0
virtual void listObjects (::acdk::lang::ref::NotifyObjectEventListener *listener, int flags)=0
 uses NotifyObjectEventListener::listedAllocated

RHeapFrame up ()
const RHeapFrame up () const
void setUpFrame (RHeapFrame up)
int flags ()
const char * name () const
int threadId ()
 is really an acdk::lang::ThreadId

virtual bool _setInFieldToNil (const Object *obj, bool recursiv)

Protected Attributes

RHeapFrame _top
core_string _name
int _flags
int _threadId
 is really an acdk::lang::ThreadId


Friends

class ObjectHeap


Constructor & Destructor Documentation

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

virtual acdk::lang::sys::HeapFrame::~HeapFrame  )  [virtual]
 


Member Function Documentation

virtual bool acdk::lang::sys::HeapFrame::_setInFieldToNil const Object obj,
bool  recursiv
[virtual]
 

virtual Allocator* acdk::lang::sys::HeapFrame::allocator  )  [pure virtual]
 

return the current Allocator for this HeapFrame

Implemented in acdk::lang::sys::BitmapPagedHeap, acdk::lang::sys::BoehmGCHeapFrame, acdk::lang::sys::Garbage_Heap, acdk::lang::sys::PagedHeap, acdk::lang::sys::RC_GC_Heap, acdk::lang::sys::RC_Heap, and acdk::lang::sys::StackHeap.

virtual bool acdk::lang::sys::HeapFrame::dispose  )  [inline, virtual]
 

manually remove this HeapFrame object.

return true, if this will be deleted

Reimplemented in acdk::lang::sys::StackHeap.

int acdk::lang::sys::HeapFrame::flags  )  [inline]
 

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

Implemented in acdk::lang::sys::BitmapPagedHeap, acdk::lang::sys::BoehmGCHeapFrame, acdk::lang::sys::Garbage_Heap, acdk::lang::sys::PagedHeap, acdk::lang::sys::RC_GC_Heap, acdk::lang::sys::RC_Heap, and acdk::lang::sys::StackHeap.

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

uses NotifyObjectEventListener::listedAllocated

Parameters:
flags combination of ListObjectsFlags

Implemented in acdk::lang::sys::BitmapPagedHeap, acdk::lang::sys::BoehmGCHeapFrame, acdk::lang::sys::Garbage_Heap, acdk::lang::sys::PagedHeap, acdk::lang::sys::RC_GC_Heap, acdk::lang::sys::RC_Heap, and acdk::lang::sys::StackHeap.

const char* acdk::lang::sys::HeapFrame::name  )  const [inline]
 

void acdk::lang::sys::HeapFrame::setUpFrame RHeapFrame  up  )  [inline]
 

int acdk::lang::sys::HeapFrame::threadId  )  [inline]
 

is really an acdk::lang::ThreadId

const RHeapFrame acdk::lang::sys::HeapFrame::up  )  const [inline]
 

RHeapFrame acdk::lang::sys::HeapFrame::up  )  [inline]
 


Friends And Related Function Documentation

friend class ObjectHeap [friend]
 


Member Data Documentation

int acdk::lang::sys::HeapFrame::_flags [protected]
 

core_string acdk::lang::sys::HeapFrame::_name [protected]
 

int acdk::lang::sys::HeapFrame::_threadId [protected]
 

is really an acdk::lang::ThreadId

RHeapFrame acdk::lang::sys::HeapFrame::_top [protected]