【OpenDDS Development Guide V3.20】Chapter 8: opendds_idl

opendds_idl is one of the code generators used in building opendds and opendds applications.

How it generates source code from IDL files can be customized in a number of different ways.

See Section 2.1.2 for an overview of the default usage modes.

The OpenDDS IDL compiler is $DDS_ROOT/bin/invoked using the OpenDDS_IDL executable located (on PATH).

It parses an IDL file and generates the serialization and key support code required by OpenDDS to marshal and unmarshal the types described in the IDL file, as well as type support code for data readers and writers.

For each IDL file processed, for example xyz.idl, it generates three files: xyzTypeSupport.idl, xyzTypeSupportImpl.h, and xyzTypeSupportImpl.cpp.

In typical usage, opendds_idl is passed a number of options and the idl filename as arguments.

For example, opendds_idl[options…]Foo.idlthe rest of this chapter describes all the command line options and the way opendds_idl uses to generate alternate maps.

8.1 opendds_idl command line options

The following table summarizes the options supported by opendds_idl.

Table 8-1 opendds_idl command line options

Option Description Default
-v

Guess you like

Origin blog.csdn.net/u012739527/article/details/128111402