Open 3D Engine EMotionFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
EMotionFX::BaseObject Class Reference

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ BaseObject()

EMotionFX::BaseObject::BaseObject ( )

The constructor.

◆ ~BaseObject()

virtual EMotionFX::BaseObject::~BaseObject ( )
virtual

The destructor, which does NOT automatically call Destroy.

Member Function Documentation

◆ Delete()

void EMotionFX::BaseObject::Delete ( )
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.


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