42 typedef std::shared_ptr<Object>
ObjectPtr;
144 struct SingletonHelper
150 static std::once_flag m_onceFlag;
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
DotsC_Int64 Int64
64 bit integer type.
Definition Defs.h:69
std::shared_ptr< Object > ObjectPtr
A smart pointer to an Object.
Definition Object.h:44
DotsC_TypeId TypeId
A unique type identifier.
Definition Defs.h:218
This class is an object factory for all automatically generated DOB classes.
Definition ObjectFactory.h:52
std::vector< std::pair< TypeId, Int64 > > GetRegisteredTypes() const
GetRegisteredTypes - Get types wich have been registered in the ObjectFactory.
bool RegisterClass(const TypeId typeId, const Int64 checksum, CreateObjectCallback createFunction)
Register a class with the object factory.
ObjectPtr CreateObject(const TypeId typeId) const
Create a new "empty" object from a typeid.
static ObjectFactory & Instance()
Get the instance of the singleton.
ObjectPtr CreateObject(char const *const blob) const
Create a new object from a blob.
#define DOTS_CPP_API
Definition Defs.h:33