software engineer &        architecture


class RC_Heap

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

acdk::lang::sys::RC_Heap Class Reference

#include <RC_Heap.h>

Inheritance diagram for acdk::lang::sys::RC_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

 RC_Heap (RHeapFrame top=0, int flags=HeapIsThread, const char *name=)
virtual ~RC_Heap ()
virtual Allocatorallocator ()
 return the current Allocator for this HeapFrame

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

virtual bool gc (bool recursiv=true)

Protected Attributes

size_t _allocated
int _objectCount

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

return the current Allocator for this HeapFrame

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

virtual bool acdk::lang::sys::RC_Heap::gc bool  recursiv = true  )  [inline, virtual]

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

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

uses NotifyObjectEventListener::listedAllocated

flags combination of ListObjectsFlags

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

Member Data Documentation

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

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

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