import "IClassFactory.idl";
Inheritance diagram for upf::IClassFactory:
Factory is a object that that can create new instances of the class it belongs to. UPF requires that every class registered in the system has factory object object associated with it which creates instance of the class. Factory construction and registration is handled automatically by UPF language binding (for example, C++ binding uses UPF_REGISTER_CLASS and UPF_EXPORTED_CLASS macros). Class' factory reference can be obtained from its IClassInfo object.
Public Methods | |
IObject | create () |
Creates new instance. |