42 typedef std::shared_ptr<Object>
ObjectPtr;
131 ObjectFactory(
const ObjectFactory&) =
delete;
132 ObjectFactory& operator=(
const ObjectFactory&) =
delete;
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
This namespace contains all functionality of the DOB (Components DOSE and DOTS).
Definition Connection.h:38
This namespace contains the DOB Typesystem functionality and definitions.
Definition ArrayContainer.h:37
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
The base class for all DOB objects.
Definition Object.h:55
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.
ObjectPtr(* CreateObjectCallback)(Int64 handle)
Function signature of the create callback function.
Definition ObjectFactory.h:84
#define DOTS_CPP_API
Definition Defs.h:33