Method for implementing component object model interfaces
AssigneeUnisys Corporation
InventorJames A. Sievert
Life of this patent
Estimating the term…
Abstract
A method for implementing a hierarchy of component object model interfaces. A hierarchy of component object model interfaces is defined in which an interface at a lowest level of the hierarchy inherits from an interface at the highest level of the hierarchy. A class is defined that includes a first template class that is associated with the highest level of the hierarchy. A second template class inherits from the first template class and is associated with the lowest level of the hierarchy. The second template class is instantiated with an interface as a template parameter. Thus, the instantiation of an object of the most specialized class provides the base interface from which the most generalized class derives.
Claims17
A computer-implemented method for implementing a hierarchy of component object model interfaces, comprising:
- defining a hierarchy of component object model interfaces, wherein an interface at a lowest level of the hierarchy inherits from an interface at the highest level of the hierarchy;
- defining a first template class that is associated with the highest level of the hierarchy;
- defining a second template class that inherits from the first template class and is associated with the lowest level of the hierarchy;
- and
- instantiating the second template class with an interface as a template parameter.
A computer-implemented method for implementing a hierarchy of component object model interfaces, comprising:
- defining a hierarchy of component object model interfaces, wherein an interface at a lowest level of the hierarchy inherits from an interface at the highest level of the hierarchy;
- defining a first template class that is associated with the highest level of the hierarchy;
- defining a second class that inherits from the first template class and is associated with the lowest level of the hierarchy;
- and
- providing an interface of the lowest level of the hierarchy as a template parameter to a template class directly inherited by the second class.
A computer-implemented method for implementing a hierarchy of component object model interfaces, comprising:
- defining a hierarchy of component object model interfaces, wherein an interface at a lowest level of the hierarchy inherits from an interface at the highest level of the hierarchy;
- defining a first template class that is associated with the highest level of the hierarchy;
- defining a second template class that inherits from the first template class and is associated with the lowest level of the hierarchy;
- and
- instantiating the second template class with a selected one of the component object model interfaces as a template parameter.
Dependencies are inferred from the claim text.