Base class for SmartEngine AI objects. It is not common to deal with this class directly.
More...
#include <Object.h>
|
virtual ObjectId | GetId () const =0 |
| Returns the ID of this object. More...
|
|
virtual void | AddRef () const =0 |
| Increments the internal reference count on this object. It is not common to use this method directly. More...
|
|
virtual void | Release () const =0 |
| Decrements the internal reference count on this object. It is not common to use this method directly. More...
|
|
virtual int | GetRefCount () const =0 |
| Returns the number of references to this object. More...
|
|
virtual void * | QueryInterface (ObjectClassId id)=0 |
| Queries the object for an interface and returns a pointer to that interface if found. More...
|
|
void | operator= (IObject const &x)=delete |
|
Base class for SmartEngine AI objects. It is not common to deal with this class directly.
◆ AddRef()
virtual void SmartEngine::IObject::AddRef |
( |
| ) |
const |
|
pure virtual |
Increments the internal reference count on this object. It is not common to use this method directly.
◆ GetId()
virtual ObjectId SmartEngine::IObject::GetId |
( |
| ) |
const |
|
pure virtual |
Returns the ID of this object.
◆ GetRefCount()
virtual int SmartEngine::IObject::GetRefCount |
( |
| ) |
const |
|
pure virtual |
Returns the number of references to this object.
◆ operator=()
void SmartEngine::IObject::operator= |
( |
IObject const & |
x | ) |
|
|
delete |
◆ QueryInterface()
virtual void* SmartEngine::IObject::QueryInterface |
( |
ObjectClassId |
id | ) |
|
|
pure virtual |
Queries the object for an interface and returns a pointer to that interface if found.
◆ Release()
virtual void SmartEngine::IObject::Release |
( |
| ) |
const |
|
pure virtual |
Decrements the internal reference count on this object. It is not common to use this method directly.
If the internal reference count reaches 0, the object will be cleaned up internally and further use of the object will most likely result in a crash.
◆ __pad0__
SmartEngine::IObject::__pad0__ |
◆ private
SmartEngine::IObject::private |