software engineer &        architecture


class Garbage_Heap

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

acdk::lang::sys::Garbage_Heap Class Reference

#include <Garbage_Heap.h>

Inheritance diagram for acdk::lang::sys::Garbage_Heap:

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

Detailed Description

This heap does only Reference Counting without Garbage Collecting.

Public Member Functions

 Garbage_Heap (RHeapFrame top=Nil, int flags=HeapIsThread, const char *name=)
virtual ~Garbage_Heap ()
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

size_t _allocated
int _objectCount

Constructor & Destructor Documentation

acdk::lang::sys::Garbage_Heap::Garbage_Heap RHeapFrame  top = Nil,
int  flags = HeapIsThread,
const char *  name =

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

Member Function Documentation

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

return the current Allocator for this HeapFrame

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

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

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

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

uses NotifyObjectEventListener::listedAllocated

flags combination of ListObjectsFlags

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

Member Data Documentation

size_t acdk::lang::sys::Garbage_Heap::_allocated [protected]

int acdk::lang::sys::Garbage_Heap::_objectCount [protected]

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