21 SMARTENGINE_DECLARE_CLASS(
IObject)
65 SMARTENGINE_EXPORT
void Object_AddRef(ObjPtr
object);
66 SMARTENGINE_EXPORT
void Object_Release(ObjPtr
object);
72 #include "ObjectPtr.h"
void operator=(IObject const &x)=delete
virtual void Release() const =0
Decrements the internal reference count on this object. It is not common to use this method directly.
Definition: A2CTrainer.h:10
Base class for SmartEngine AI objects. It is not common to deal with this class directly.
Definition: Object.h:19
unsigned int ObjectClassId
Definition: Object.h:13
virtual void * QueryInterface(ObjectClassId id)=0
Queries the object for an interface and returns a pointer to that interface if found.
virtual void AddRef() const =0
Increments the internal reference count on this object. It is not common to use this method directly.
int64 ObjectId
Definition: Object.h:12
virtual int GetRefCount() const =0
Returns the number of references to this object.