A method of generating an implementation for an interface definition language interface (IDL), includes identifying parents for an interface; computing a set of directly implemented methods for parent interfaces; generating an implementation of the interface with concrete parent interfaces to generate a plurality of delegation fields; generating initialization and setting method for the delegation fields; and generating indirectly implemented methods with a body that delegates functionality to one of the delegate fields.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method of generating an implementation for an interface definition language interface (IDL), comprising: identifying parents for an interface; computing a set of directly implemented methods for all parent interfaces; generating an implementation of the interface with concrete parent interfaces to generate a plurality of delegation fields; generating initialization and setting methods for the plurality of delegation fields; generating indirectly implemented methods with a body that delegates functionality to one of the delegation fields; generating inherited methods and required fields to guarded blocks; generating delegation source code for an abstract interface; generating a full body implementation, wherein the delegation source code is generated, a delegation object attribute is created, and an initialize inheritance tree method is created; and supporting the generation of the delegation source code for implementation of the IDL interface that extends all the parent interfaces using an implementation generator; wherein the specifics of generation of the indirectly implemented methods depends on the type of delegation chosen; wherein the IDL interface is written using an editor component; and wherein the implementation generator supports a none delegation setting, a static delegation setting, and a virtual delegation setting.
2. A computer system adapted to generate an implementation for an interface definition language interface (IDL), comprising: a processor; a memory element, and software instructions for enabling the computer under control of the processor, to perform: identifying parents for an interface; computing a set of directly implemented methods for all parent interfaces; generating an implementation of the interface with concrete parent interfaces to generate a plurality of delegation fields; generating initialization and setting method for the delegation fields; generating indirectly implemented methods with a body that delegates functionality to one of the delegation fields; generating inherited methods and required fields to guarded blocks; generating delegation source code for an abstract interface; generating a full body implementation, wherein the delegation source code is generated, a delegation object attribute is created, and an initialize inheritance tree method is created; and supporting the generation of full delegation source code for implementation of the IDL interface that extends the parents interface using an implementation generator; wherein the specifics of generation of indirectly implemented methods depends on the type of delegation chosen; wherein the IDL interface is written using an editor component; and wherein the implementation generator supports a none delegation setting, a static delegation setting, and a virtual delegation setting.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
May 18, 2001
September 7, 2004
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.