- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# FUTrackable Class Reference
[Utility Classes.]

A trackable object. More...

`#include <FUTracker.h>`

Inheritance diagram for FUTrackable:

List of all members.

## 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

## Detailed Description

A trackable object.

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 & Destructor Documentation

FUTrackable::FUTrackable | ( |  | ) |

| Constructor. Although it is not an abstract class, this class is not meant to be used directly.

virtual FUTrackable::~FUTrackable | ( |  | ) | `[virtual]`

| Destructor. This function informs the trackers of this object's release.

## Member Function Documentation

void FUTrackable::Detach | ( |  | ) | `[protected]`

| 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.

size_t FUTrackable::GetTrackerCount | ( |  | ) | const`[inline]`

| Retrieves the number of tracker tracking the object. This can be used as an expensive reference counting mechanism. Returns: The number of trackers tracking the object.

The documentation for this class was generated from the following file:

- FUtils/FUTracker.h