System and method for automatically generating code templates for communication via a predefined communication interface
First Claim
Patent Images
1. A method of generating code, the method comprising:
- reading an interface definition file;
identifying at least one communication interface, wherein the communication interface defines at least a pointer that is passed via the communication interface; and
automatically generating code to invoke the communication interface, wherein the generated code includes code to invoke a routine to define at least one attribute of the pointer.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for providing seamless communication with threads executing on an embedded computer. Using a DAT system, a programmer can test the communication interfaces of a thread via either a scripting program, any COM-compliant program, or a graphical test utility. The DAT system automatically formats a block of data that is transmitted between the embedded computer and a host computer and accounts for machine specific enumeration sizes, machine specific pointer sizes, machine specific structure alignment boundaries, machine specific integer sizes, and machine specific byte ordering.
38 Citations
7 Claims
-
1. A method of generating code, the method comprising:
-
reading an interface definition file;
identifying at least one communication interface, wherein the communication interface defines at least a pointer that is passed via the communication interface; and
automatically generating code to invoke the communication interface, wherein the generated code includes code to invoke a routine to define at least one attribute of the pointer.
-
-
2. A system for generating code, the system comprising:
-
means for reading an interface definition file;
means for identifying at least one communication interface, wherein the communication interface defines at least a pointer that is passed via the communication interface; and
means for automatically generating code to invoke the communication interface, wherein the generated code includes code to invoke a routine to define at least one attribute of the pointer.
-
-
3. A method of generating code, the method comprising:
-
reading an interface definition file;
identifying at least one communication interface; and
automatically generating code to invoke the communication interface.
-
-
4. A method of generating code, the method comprising:
-
reading an interface definition file;
identifying at least one remote function call interface in the interface definition file;
automatically generating a first code for execution on a first platform, wherein a first program executing the first code communicates with a second program executing a second code via a messaging interface; and
automatically generating a second code for execution on a second platform, wherein the generated second code invokes a routine via the remote function call interface. - View Dependent Claims (5)
-
-
6. A system for generating code, the system comprising:
-
means for reading an interface definition file;
means for identifying at least one remote function call interface in the interface definition file;
means for automatically generating a first code for execution on a first platform, wherein a first program executing the first code communicates with a second program executing a second code via a messaging interface; and
means for automatically generating a second code for execution on a second platform, wherein the generated second code invokes a routine via the remote function call interface. - View Dependent Claims (7)
-
Specification