SmartEngine  1.6.0
Public Member Functions | Public Attributes | List of all members
SmartEngine::IObject Class Referenceabstract

Base class for SmartEngine AI objects. It is not common to deal with this class directly. More...

#include <Object.h>

Inheritance diagram for SmartEngine::IObject:
SmartEngine::IAgent SmartEngine::IAgentFactory SmartEngine::IContext SmartEngine::ICuriosityModule SmartEngine::IGraphInputOutput SmartEngine::IGraphManager SmartEngine::IGraphModel SmartEngine::IGraphModelOutput SmartEngine::IGraphNode SmartEngine::ILossTrainer SmartEngine::IMatrix SmartEngine::IMemoryBuffer SmartEngine::IResource SmartEngine::IRLTrainer SmartEngine::ISerializable

Public Member Functions

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
 

Public Attributes

 private
 
 __pad0__: IObject() {} IObject(IObject const&) = delete
 

Detailed Description

Base class for SmartEngine AI objects. It is not common to deal with this class directly.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ __pad0__

SmartEngine::IObject::__pad0__

◆ private

SmartEngine::IObject::private