#include <FUObject.h>
Inheritance diagram for FUObject:
Public Member Functions | |
FUObject () | |
Constructor. | |
virtual | ~FUObject () |
Destructor. | |
virtual void | Release () |
Releases this object. | |
virtual const FUObjectType & | GetObjectType () const |
Retrieves the type of the object class. | |
bool | IsType (const FUObjectType &_type) const |
Retrieves whether this object has exactly the given type. | |
bool | HasType (const FUObjectType &_type) const |
Retrieves whether this object is exactly or inherits the given type. | |
Static Public Member Functions | |
static const FUObjectType & | GetClassType () |
Retrieves the type of the base object class. | |
Protected Member Functions | |
void | Detach () |
Detaches this object from its owner. | |
Static Protected Attributes | |
static const uint32 | nextAvailableBit = 0 |
[INTERNAL] Necessary, in order for the flag macros to work on up-classes. | |
Friends | |
class | FUObjectOwner |
Each up-class of this basic object class hold an object type that acts just like RTTI to provide a safe way to up-cast.
|
Constructor. Although it is not an abstract class, this class is not meant to be used directly. |
|
Detaches this object from its owner. Mainly notifies the owner before the destructor is called. Reimplemented in FUTrackable. |
|
Retrieves the type of the base object class.
|
|
Retrieves the type of the object class.
|
|
Retrieves whether this object is exactly or inherits the given type.
|
|
Retrieves whether this object has exactly the given type.
|
|
Releases this object. This function essentially calls the destructor. This function is virtual and is always overwritten when using the ImplementObjectType macro. |