|
| | class_factory () |
| |
| virtual | ~class_factory () |
| |
| virtual tResult | CreateInstance (const char *strCID, iobject_ptr< IObject > &oObject, const tChar *strNameOfObject="") const |
| |
| tResult | GetClasses (iobject_enum< const IClassInfo > &lstOfClasses) const |
| | Enumerates all classes supported by the class factory and pushes it to lstOfClasses This method should be used for debugging or testing purposes only.
|
| |
| tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
| | Query interfaces on an object.
|
| |
| tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
| | Provides const correct interface querying.
|
| |
| void | Destroy () const override |
| | Switch from non-virtual destructor to virtual destructor.
|
| |
| tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
| | Query interfaces on an object.
|
| |
| tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
| | Provides const correct interface querying.
|
| |
| void | Destroy () const override |
| | Switch from non-virtual destructor to virtual destructor.
|
| |
| tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
| | Query interfaces on an object.
|
| |
| tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
| | Provides const correct interface querying.
|
| |
| void | Destroy () const override |
| | Switch from non-virtual destructor to virtual destructor.
|
| |
| | ADTF_IID (IObject, "object.ant.ucom.adtf.iid") |
| |
template<typename ... Classes>
class adtf::ucom::ant::class_factory< Classes >
The class class_factory provides a template based implementation of the IClassFactory interface, that can create exactly one kind of object for the class
- Parameters
-
- Template Parameters
-
| T | Class of the Object to create. |
| EXPLICIT_INTERFACE | If the class implementation T has ambiguous conversion to the IObject use EXPLICIT_INTERFACE to define an explicit cast. |