#include <FUTracker.h>
Inheritance diagram for FUTrackable:
Public Member Functions | |
FUTrackable () | |
Constructor. | |
virtual | ~FUTrackable () |
Destructor. | |
size_t | GetTrackerCount () const |
Retrieves the number of tracker tracking the object. | |
Protected Member Functions | |
void | Detach () |
Detaches all the trackers of this object. | |
Friends | |
class | FUTracker |
Each object holds a pointer to the trackers that track it. This pointer is useful so that the trackers can be notified if the object is released.
|
Constructor. Although it is not an abstract class, this class is not meant to be used directly. |
|
Destructor. This function informs the trackers of this object's release. |
|
Detaches all the trackers of this object. The trackers will be notified that this object has been released. It is not recommended to call this function outside of the Release() function. Reimplemented from FUObject. |
|
Retrieves the number of tracker tracking the object. This can be used as an expensive reference counting mechanism.
|