artefaktur
software engineer &        architecture

 
 
 
 

class BoehmGCHeapFrame

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

acdk::lang::sys::BoehmGCHeapFrame Class Reference

#include <BoehmGCAllocator.h>

Inheritance diagram for acdk::lang::sys::BoehmGCHeapFrame:

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

Public Member Functions

 BoehmGCHeapFrame (RHeapFrame top=Nil, int flags=HeapHasGC|HeapIsConsGC, const char *name=)
virtual ~BoehmGCHeapFrame ()
virtual void add (const Object *obj, size_t size)
virtual bool onDestroy (Object *obj)
 will called after finalize, before 'delete obj'

virtual bool removeObject (const Object *obj, bool recursiv=true)
 will called in ~ObjectBase();

virtual bool hasObject (const Object *obj, bool recursiv=true) const
virtual void printObjects (sys::core_output &os, bool recursiv=true) const
virtual int objectCount (bool recursiv=true) const
virtual size_t totalAllocated (bool recursiv=true) const
virtual bool checkCyclicReferences (bool recursiv=true) const
virtual bool gc (bool recursiv=true)
virtual bool gc (const Object *obj, bool recursiv=true)
virtual void listObjects (::acdk::lang::ref::NotifyObjectEventListener *listener, int flags)
 uses NotifyObjectEventListener::listedAllocated

virtual Allocatorallocator ()
 return the current Allocator for this HeapFrame


Private Attributes

RBoehmGCAllocator _allocator

Constructor & Destructor Documentation

acdk::lang::sys::BoehmGCHeapFrame::BoehmGCHeapFrame RHeapFrame  top = Nil,
int  flags = HeapHasGC | HeapIsConsGC,
const char *  name =
[inline]
 

virtual acdk::lang::sys::BoehmGCHeapFrame::~BoehmGCHeapFrame  )  [inline, virtual]
 


Member Function Documentation

virtual void acdk::lang::sys::BoehmGCHeapFrame::add const Object obj,
size_t  size
[inline, virtual]
 

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

return the current Allocator for this HeapFrame

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

virtual bool acdk::lang::sys::BoehmGCHeapFrame::checkCyclicReferences bool  recursiv = true  )  const [inline, virtual]
 

virtual bool acdk::lang::sys::BoehmGCHeapFrame::gc const Object obj,
bool  recursiv = true
[inline, virtual]
 

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

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

virtual bool acdk::lang::sys::BoehmGCHeapFrame::hasObject const Object obj,
bool  recursiv = true
const [inline, virtual]
 

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

uses NotifyObjectEventListener::listedAllocated

Parameters:
flags combination of ListObjectsFlags

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

virtual int acdk::lang::sys::BoehmGCHeapFrame::objectCount bool  recursiv = true  )  const [inline, virtual]
 

virtual bool acdk::lang::sys::BoehmGCHeapFrame::onDestroy Object obj  )  [inline, virtual]
 

will called after finalize, before 'delete obj'

virtual void acdk::lang::sys::BoehmGCHeapFrame::printObjects sys::core_output os,
bool  recursiv = true
const [inline, virtual]
 

virtual bool acdk::lang::sys::BoehmGCHeapFrame::removeObject const Object obj,
bool  recursiv = true
[inline, virtual]
 

will called in ~ObjectBase();

virtual size_t acdk::lang::sys::BoehmGCHeapFrame::totalAllocated bool  recursiv = true  )  const [inline, virtual]
 


Member Data Documentation

RBoehmGCAllocator acdk::lang::sys::BoehmGCHeapFrame::_allocator [private]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer