|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
tests::acdk::lang::dmi::SharedOwned Class ReferenceInheritance diagram for tests::acdk::lang::dmi::SharedOwned:
List of all members.
|
Public Types |
typedef std::map< acdk::lang::Object *,
SharedOwnedValue > | SharedMap |
Public Member Functions |
| SharedOwned () |
SharedOwnedValue * | getCreate (acdk::lang::Object *obj) |
void | removeShared (acdk::lang::Object *obj) |
bool | canRelease (acdk::lang::Object *o) |
void | checkBalance (acdk::lang::Object *o) |
SharedOwnedValue * | get (acdk::lang::Object *o) |
int | getMasterRefs (acdk::lang::Object *o) |
int | incMasterRef (acdk::lang::Object *o) |
int | decrMasterRef (acdk::lang::Object *o) |
int | getStrongRefs (acdk::lang::Object *o) |
int | incStrongRef (acdk::lang::Object *o) |
int | decrStrongRef (acdk::lang::Object *o) |
virtual void | getCollectableFields (FieldReferences &fields) |
void | dumpRelations (ReferedMap &refMap, acdk::lang::Object *o) |
Public Attributes |
SharedMap | _map |
Protected Member Functions |
bool | balance (ReferedMap &refMap, acdk::lang::Object *releaseObject) |
int | getClusterRefCounts (ReferedMap &refMap, int &refC, int &inRefC) |
| return masterRefC
|
bool | isMaster (ReferedMap &refMap, acdk::lang::Object *o) |
void | onDelete (ReferedMap &refMap, acdk::lang::Object *o) |
int | getMasterRefCountOfCluster (ReferedMap &refMap) |
virtual void | notifyBeforeConstruction (acdk::lang::Object *obj) |
virtual void | notifyWhileDestruction (acdk::lang::Object *obj) |
| called in destructor of given object.
|
virtual bool | listHeaps (IN(::acdk::lang::sys::RHeapFrame) theheap) |
| used as callback function to list all heaps of all threads.
|
virtual bool | listedAllocated (IN(::acdk::lang::sys::RHeapFrame) theheap, void *obj,::acdk::lang::sys::AllocatedType type, int size) |
| used as callback function, used by::acdk::lang::sys::HeapFrame::listObjects()
|
virtual bool | notifyBeforeDestruction (acdk::lang::Object *obj) |
| called if RefCount == 0.
|
Member Typedef Documentation
Constructor & Destructor Documentation
tests::acdk::lang::dmi::SharedOwned::SharedOwned |
( |
|
) |
[inline] |
|
Member Function Documentation
int tests::acdk::lang::dmi::SharedOwned::decrMasterRef |
( |
acdk::lang::Object * |
o |
) |
[inline] |
|
int tests::acdk::lang::dmi::SharedOwned::decrStrongRef |
( |
acdk::lang::Object * |
o |
) |
[inline] |
|
int tests::acdk::lang::dmi::SharedOwned::getClusterRefCounts |
( |
ReferedMap & |
refMap, |
|
|
int & |
refC, |
|
|
int & |
inRefC |
|
) |
[protected] |
|
virtual void tests::acdk::lang::dmi::SharedOwned::getCollectableFields |
( |
FieldReferences & |
fields |
) |
[inline, virtual] |
|
int tests::acdk::lang::dmi::SharedOwned::getMasterRefCountOfCluster |
( |
ReferedMap & |
refMap |
) |
[protected] |
|
int tests::acdk::lang::dmi::SharedOwned::getMasterRefs |
( |
acdk::lang::Object * |
o |
) |
[inline] |
|
int tests::acdk::lang::dmi::SharedOwned::getStrongRefs |
( |
acdk::lang::Object * |
o |
) |
[inline] |
|
virtual void tests::acdk::lang::dmi::SharedOwned::notifyBeforeConstruction |
( |
acdk::lang::Object * |
obj |
) |
[inline, protected, virtual] |
|
virtual bool tests::acdk::lang::dmi::SharedOwned::notifyBeforeDestruction |
( |
acdk::lang::Object * |
obj |
) |
[inline, protected, virtual] |
|
virtual void tests::acdk::lang::dmi::SharedOwned::notifyWhileDestruction |
( |
acdk::lang::Object * |
obj |
) |
[inline, protected, virtual] |
|
void tests::acdk::lang::dmi::SharedOwned::removeShared |
( |
acdk::lang::Object * |
obj |
) |
[inline] |
|
Member Data Documentation
|
|