#include <BaseObject.h>
Inherits MCore::MemoryObject.
Inherited by EMotionFX::ActorInstance, EMotionFX::ActorManager, EMotionFX::ActorUpdateScheduler, EMotionFX::AnimGraphInstance, EMotionFX::AnimGraphManager, EMotionFX::AnimGraphObjectData, EMotionFX::Attachment, EMotionFX::BlendSpaceManager, EMotionFX::BlendSpaceParamEvaluator, EMotionFX::ChunkProcessor, EMotionFX::EMotionFXManager, EMotionFX::EventManager, EMotionFX::Importer, EMotionFX::LayerPass, EMotionFX::Mesh, EMotionFX::MeshDeformer, EMotionFX::MeshDeformerStack, EMotionFX::MorphSetup, EMotionFX::MorphSetupInstance, EMotionFX::MorphTarget, EMotionFX::MorphTargetStandard::DeformData, EMotionFX::Motion, EMotionFX::MotionInstance, EMotionFX::MotionInstancePool, EMotionFX::MotionManager, EMotionFX::MotionQueue, EMotionFX::MotionSystem, EMotionFX::Node, EMotionFX::NodeAttribute, EMotionFX::NodeMap, EMotionFX::Recorder, EMotionFX::SharedData, EMotionFX::Skeleton, EMotionFX::SoftSkinManager, EMotionFX::SubMesh, EMotionFX::ThreadData, EMotionFX::TransformData, and EMotionFX::VertexAttributeLayer.
Public Member Functions | |
BaseObject () | |
virtual | ~BaseObject () |
Public Member Functions inherited from MCore::MemoryObject | |
MemoryObject () | |
virtual | ~MemoryObject () |
void | IncreaseReferenceCount () |
void | DecreaseReferenceCount () |
void | Destroy () |
uint32 | GetReferenceCount () const |
Protected Member Functions | |
void | Delete () override |
virtual void | Delete () |
A reference counted base API object. This interface provides a unified consistent way of destroying objects. To delete an object make a call to the Destroy method, which is inherited from the MCore::MemoryObject class.
EMotionFX::BaseObject::BaseObject | ( | ) |
The constructor.
|
virtual |
The destructor, which does NOT automatically call Destroy.
|
overrideprotectedvirtual |
This will delete the actual object from memory. Unlike Destroy, this really forces a delete on the object's memory, calling the destructor and releasing the allocated memory. Basically it internally does a "delete this;".
Reimplemented from MCore::MemoryObject.