Method for simplifying interfaces having dynamic libraries
US8250589B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Apr 3, 2009 |
| Grant date | Aug 21, 2012 |
| Priority date | — |
| Expiry date | Jan 30, 2031 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/4488
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method may include defining an interface class including a static member having an implementation pointer. The method may also include loading a main code segment including a stub implementation of the interface class. Additionally, the method may include instantiating the stub implementation of the interface class to provide a stub implementation object. The stub implementation of the interface class may include a first constructor configured to set the implementation pointer to the stub implementation object. Further, the method may include loading a dynamic library including a real implementation of the interface class. Still further, the method may include instantiating the real implementation of the interface class to provide a real implementation object. The real implementation of the interface class may include a second constructor configured to set the implementation pointer to the real implementation object.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.