Next: , Previous: Input file format, Up: Top


6 GenoM IDL mappings

GenoM IDL is independent of the programming language used to implement the services and internals of a component. In order to use the GenoM generated source code, it is necessary for programmers to know how to access the service parameters and ports from their programming languages. This chapter defines the mapping of GenoM IDL constructs to the supported programming languages.

The mapping between GenoM IDL and a programming language diverges from the OMG CORBA standard. This is unfortunate, because this might lead to some confusion for the developers used to OMG CORBA, but it was necessary to define mappings well targetting real-time platforms. The design strategy that guided the definition of those mappings was to try to have contiguous memory segments, that do not require memory management primitives, for most of the data types. Only unbounded string and sequences do not follow this scheme.

GenoM currently implements mappings for the C and C++ languages. For the C language, See C mappings. For the C++ language, see See C++ mappings.