# US 2021/0342135 A1 · Method for generating a binding between a c/c++ library and an interpreted language, and carrying out said method to transform a three-dimensional (3d) model

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0342135 A1
- Document ID: US20210342135A1
- Status: Published application
- Kind: A1
- Application number: 17/282,563
- Filed: 2019-10-04
- Published: 2021-11-04
- Earliest claimed: 2018-10-04
- Assignees: Movida Production
- Applicants: Movida Production
- Inventors: Emmanuel Julien; François Gutherz
- Web page: https://patentgrep.com/patent/US20210342135A1

## CPC

- G06F 8/54: Link editing before load time
- G06F 8/41: Compilation
- G06F 9/44521: {Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading}
- G06F 9/449: {Object-oriented method invocation or resolution}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates to a method for generating a binding between a C/C++ library and one or more interpreted high-level languages, in order to expose the functionalities of the C/C++ library to this or these high-level languages, involving the following steps: a step of writing a definition of the binding in the form of a high-level language, a step of processing this definition in order to produce binding elements, a step of grouping the binding elements around each of the high-level language(s) to produce a C++ binding code, and a step of compiling the C++ code and linking this to the C/C++ library. This can be used, in particular, to implement human-machine interfaces for terrestrial, aerial or maritime mobile equipment.

## Claims

### Claim 1

A computer-implemented method for generating a binding between a C/C++ library and a software environment of one or more high-level interpreted languages to exhibit functionalities of the C/C++ library to the one or more high-level interpreted languages, the method comprising:
processing a definition of the binding, the definition having been previously written in a high-level language, the definition comprising functions to produce binding elements;
generating the binding elements exposed to the one or more high-level interpreted languages to produce a set of functions in C++ that are exposed to the one or more high-level interpreted languages; and
compiling a C++ code and linking the C++ code to the C/C++ library;
wherein generating the binding elements is further configured to allow the C/C++ library to call a written function in the one or more high-level interpreted languages to expand the functionalities of the C/C++ library.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the definition of the binding is written in a form of a program in the high-level language and using an application programming interface (API) describing the API of the C/C++ library as the API is to be exposed to developers of the high-level language.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the definition of the binding comprises anticipated parameters for the functions and returned values.

### Claim 4 (depends on 1)

The method according to claim 1, wherein processing the definition comprises a distribution of processing between:
high-level functionalities of each of the one or more high-level interpreted languages; and
C++ functionalities of a C++ language that are supported in a transparent manner by the binding and will be made accessible in the high-level language.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising processing documentation attached to the C/C++ library as a target high-level language and generating an XML file.

### Claim 6 (depends on 5)

The method according to claim 5, further comprising, following compiling the C++ code, obtaining a dynamic library integrating the C/C++ library and an interface layer compiled from the C++ code.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising, following compiling the C++ code, obtaining a static library intended for embedding the one or more high-level interpreted languages directly into the compiled C++ code.

### Claim 8

(canceled)

### Claim 9 (depends on 6)

The method of claim 6, further comprising:
transforming a 3D engine originating from the C/C++ library to be embedded in an item of equipment in which a software application is written in the high-level language;
importing the dynamic library; and
accessing, via the dynamic library, the functionalities of the C/C++ library.

### Claim 10 (depends on 9)

The method of claim 9, further comprising transforming 3D models originating from the C/C++ library into 3D models capable of being embedded in equipment within mobility systems.

### Claim 11 (depends on 7)

The method according to claim 7, further comprising:
transforming a 3D engine originating from the C/C++ library to be embedded in an item of equipment in which a software application is written in the high-level language;
importing the dynamic library; and
accessing, via the dynamic library, the functionalities of the C/C++ library.

### Claim 12 (depends on 11)

The method according to claim 11, further comprising transforming 3D models originating from the C/C++ library into 3D models capable of being embedded in equipment within mobility systems.

### Claim 13 (depends on 4)

The method according to claim 4, further comprising processing documentation attached to the C/C++ library as a target high-level language and generating an XML file.

### Claim 14 (depends on 3)

The method according to claim 3, further comprising processing documentation attached to the C/C++ library as a target high-level language and generating an XML file.

### Claim 15 (depends on 2)

The method according to claim 2, further comprising processing documentation attached to the C/C++ library as a target high-level language and generating an XML file.

### Claim 16 (depends on 3)

The method according to claim 3, wherein processing the definition comprises a distribution of processing between:
high-level functionalities of each of the one or more high-level interpreted languages; and
C++ functionalities of a C++ language that are supported in a transparent manner by the binding and will be made accessible in the high-level language.

### Claim 17 (depends on 2)

The method according to claim 2, wherein processing the definition comprises a distribution of processing between:
high-level functionalities of each of the one or more high-level interpreted languages; and
C++ functionalities of a C++ language that are supported in a transparent manner by the binding and will be made accessible in the high-level language.

### Claim 18 (depends on 2)

The method according to claim 2, wherein the definition of the binding comprises anticipated parameters for the functions and returned values.

### Claim 19

A non-transitory computer-readable storage medium having computer-readable instructions stored thereon, the computer-readable instructions configured to instruct one or more processors to:
process a definition of a binding between a C/C++ library and a software environment of one or more high-level interpreted languages to exhibit functionalities of the C/C++ library to the one or more high-level interpreted languages, the definition comprising functions to produce binding elements;
generate the binding elements to enable the C/C++ library to call a written function in the one or more high-level interpreted languages to expand the functionalities of the C/C++ library, the binding elements exposed to the one or more high-level interpreted languages to produce a set of functions in C++ that are exposed to the one or more high-level interpreted languages; and
compile a C++ code and link the C++ code to the C/C++ library.

### Claim 20

A computing system, comprising:
one or more processors; and
one or more non-transitory computer-readable media having computer-readable instructions stored thereon, the computer-readable instructions configured to instruct the one or more processors to:
process a definition of a binding between a C/C++ library and a software environment of one or more high-level interpreted languages to exhibit functionalities of the C/C++ library to the one or more high-level interpreted languages, the definition comprising functions to produce binding elements;
generate the binding elements to enable the C/C++ library to call a written function in the one or more high-level interpreted languages to expand the functionalities of the C/C++ library, the binding elements exposed to the one or more high-level interpreted languages to produce a set of functions in C++ that are exposed to the one or more high-level interpreted languages; and
compile a C++ code and link the C++ code to the C/C++ library.
