VCF::ImplementedInterfaceClass Class Reference
ImplementedInterfaceClass documentation. More...
#include <vcf/FoundationKit/InterfaceClass.h>
Inheritance diagram for VCF::ImplementedInterfaceClass:

Public Member Functions | |
| ImplementedInterfaceClass (const String &interfaceName, const String &interfaceID, const String &superInterfaceName) | |
| virtual | ~ImplementedInterfaceClass () |
| virtual Object * | createImplementingInstance () const =0 |
| creates a new instance of an Object that implements the interface represented by this InterfaceClass. | |
| virtual void * | createInterfaceInstance () const =0 |
| creates an instance of the interface. | |
Detailed Description
ImplementedInterfaceClass documentation.
Constructor & Destructor Documentation
|
||||||||||||||||
|
|
|
|
|
Member Function Documentation
|
|
creates a new instance of an Object that implements the interface represented by this InterfaceClass. Since multiple interfaces may be implemented by a given Object, more than one InterfaceClass may end up creating the same Object instance. |
|
|
creates an instance of the interface. Sadly this requires the use of a void* since we can't possibly know the correct interface base type. Perhaps this may be replaced the use of the Interface base class, though it will still require a type cast by the caller into the appropriate type |
The documentation for this class was generated from the following file:
- vcf/FoundationKit/InterfaceClass.h
