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 in an electronic device, the method comprising:
- reading an interface definition file;
identifying at least one remote function call interface in the interface definition file;
in the electronic device, 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;
in the electronic device, 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; and
providing code in the electronic device that is configured to automatically modify the byte order or the data type size of data that is transmitted via the messaging interface.
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.
-
Citations
4 Claims
-
1. A method of generating code in an electronic device, the method comprising:
-
reading an interface definition file; identifying at least one remote function call interface in the interface definition file; in the electronic device, 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; in the electronic device, 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; and providing code in the electronic device that is configured to automatically modify the byte order or the data type size of data that is transmitted via the messaging interface. - View Dependent Claims (2)
-
-
3. A system for generating code in an electronic device, the system comprising:
a code generator, in an electronic device, configured to read an interface definition file, wherein the code generator is configured to identify at least one remote function call interface in the interface definition file, wherein the code generator is configured to automatically generate 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, wherein the code generator is configured to automatically generate second code for execution on a second platform, and wherein the generated second code invokes a routine via the remote function call interface, the code generator being configured to automatically modify the byte order or the data type size of data that is transmitted via the messaging interface. - View Dependent Claims (4)
Specification