ADTF
Loading...
Searching...
No Matches
class_factory_intf.h
Go to the documentation of this file.
1
7
8#ifndef _ADTF_UCOM_ANT_CLASS_FACTORY_INTERFACE_INCLUDES_HEADER_
9#define _ADTF_UCOM_ANT_CLASS_FACTORY_INTERFACE_INCLUDES_HEADER_
10
11namespace adtf
12{
13namespace ucom
14{
15namespace ant
16{
17
23class DOEXPORT IClassFactory : public IObject
24{
25public:
30 ADTF_IID(IClassFactory, "class_factory.ant.ucom.adtf.iid");
31
32public:
47 virtual tResult CreateInstance(const char* strCID,
48 iobject_ptr<IObject>& oObject,
49 const tChar* strNameOfObject = "") const = 0;
50
60 virtual tResult GetClasses(iobject_enum<const IClassInfo>& lstOfClasses) const = 0;
61
62protected:
64 ~IClassFactory() = default;
65};
66
67}//namespace ant
68
71
72}//namespace ucom
73}//namespace adtf
74
75#endif //_ADTF_UCOM_ANT_CLASS_FACTORY_INTERFACE_INCLUDES_HEADER_
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition class_factory_intf.h:24
virtual tResult CreateInstance(const char *strCID, iobject_ptr< IObject > &oObject, const tChar *strNameOfObject="") const =0
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...
~IClassFactory()=default
Protected destructor --> Only the final implementation can be destroyed!
ADTF_IID(IClassFactory, "class_factory.ant.ucom.adtf.iid")
Definition object_intf.h:33
Definition object_list.h:22
Base object pointer to realize binary compatible reference counting in interface methods.
Definition object_ptr_intf.h:112
Namespace for all functionality of the ADTF UCOM SDK provided since v3.0.
Definition test_runtime.h:14
Namespace for the ADTF uCOM SDK.
Definition adtf_system.h:324
ant::IClassFactory IClassFactory
Alias always bringing the latest version of ant::IClassFactory into scope.
Definition class_factory_intf.h:70
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14