iRefTracker Struct Reference
The reference tracker interface. More...
#include <iutil/reftrack.h>
Inheritance diagram for iRefTracker:

Public Member Functions | |
virtual void | AddAlias (void *obj, void *mapTo)=0 |
Add an alias. | |
virtual void | MatchDecRef (void *object, int refCount, void *tag)=0 |
Match the most recent DecRef() to a 'tag' so it can be tracked what DecRef()ed a ref. | |
virtual void | MatchIncRef (void *object, int refCount, void *tag)=0 |
Match the most recent IncRef() to a 'tag' so it can be tracked what IncRef()ed a ref. | |
virtual void | RemoveAlias (void *obj, void *mapTo)=0 |
Remove an alias. | |
virtual void | TrackConstruction (void *object)=0 |
Called by an object if it constructed. | |
virtual void | TrackDecRef (void *object, int refCount)=0 |
Called by an object if it has been DecRef()ed. | |
virtual void | TrackDestruction (void *object, int refCount)=0 |
Called by an object if it destructed. | |
virtual void | TrackIncRef (void *object, int refCount)=0 |
Called by an object if it has been IncRef()ed. |
Detailed Description
The reference tracker interface.Exposed by iSCF::SCF if enabled at compile-time.
Definition at line 29 of file reftrack.h.
Member Function Documentation
|
Add an alias. Basically says "mapTO is the same as obj." Used for embedded interfaces. |
|
Match the most recent DecRef() to a 'tag' so it can be tracked what DecRef()ed a ref. csRef<>s employ this mechanism and tag DecRef()s with 'this'. |
|
Match the most recent IncRef() to a 'tag' so it can be tracked what IncRef()ed a ref. csRef<>s employ this mechanism and tag IncRef()s with 'this'. |
|
Remove an alias.
|
|
Called by an object if it constructed.
|
|
Called by an object if it has been DecRef()ed.
|
|
Called by an object if it destructed.
|
|
Called by an object if it has been IncRef()ed.
|
The documentation for this struct was generated from the following file:
- iutil/reftrack.h
Generated for Crystal Space by doxygen 1.4.4