8 #ifndef _ADTF_UCOM_ANT_CLASS_FACTORY_INTERFACE_INCLUDES_HEADER_
9 #define _ADTF_UCOM_ANT_CLASS_FACTORY_INTERFACE_INCLUDES_HEADER_
49 const tChar* strNameOfObject =
"")
const = 0;
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
A common result class usable as return value throughout.
The IClassFactory interface provides methods for creating new class instances.
~IClassFactory()=default
Protected destructor --> Use implemented Destroy() instead of delete!
virtual tResult GetClasses(iobject_enum< const IClassInfo > &lstOfClasses) const =0
Enumerates all classes supported by the class factory and pushes it to lstOfClasses This method shoul...
virtual tResult CreateInstance(const char *strCID, iobject_ptr< IObject > &oObject, const tChar *strNameOfObject="") const =0
Creates a new instance.
ADTF_IID(IClassFactory, "class_factory.ant.ucom.adtf.iid")
Marks the IClassFactory to be castable with the ucom_cast<>
Base class for every interface type within the uCOM.
Interface definition for a container of objects.
Base object pointer to realize binary compatible reference counting in interface methods.
ant::IClassFactory IClassFactory
Alias always bringing the latest version of ant::IClassFactory into scope.
Namespace for entire ADTF SDK.