DOKK / manpages / debian 11 / fastddsgen / fastddsgen.1.en
FASTDDSGEN(1) eProsima FastDDS FASTDDSGEN(1)

fastddsgen - IDL source code generator

fastddsgen [options] FILE.idl [FILE.idl ...]

fastddsgen is a command line tool that generates eProsima Fast DDS source code using the data types defined in an IDL (Interface Definition Language) file. This generated source code can be used in any Fast DDS application in order to define the data type of a topic, which will later be used to publish or subscribe.

To declare the structured data, the IDL format must be used. IDL is a specification language, made by OMG (Object Management Group), which describes an interface in a language independent manner, allowing communication between software components that do not share the same language. The eProsima Fast DDS-Gen tool reads the IDL files and parses a subset of the OMG IDL specification to generate source code for data serialization. This subset includes the data type descriptions included in Defining a data type via IDL. The rest of the file content is ignored.

-help shows the help information

shows the current version of fastddsgen.
write generated files to DIR.
add DIR to the preprocessor include path.
use DIR as temporary directory
generate an example to compile the generated files for a specific platform.
add a serialization test to the generated example code
select programming language (default: C++)
overwrite existing output files.
disable the preprocessor.
use CPP as preprocessor executable.
name generated types compliant to ROS 2 conventions.
generate TypeObject files for the IDL and modify the generated constructor to register the TypeObject representation into the type factory.
apply case-sensitive matching to IDL grammar.

https://fast-dds.docs.eprosima.com/en/latest/fastddsgen

FastDDS is developed by Proyectos y Sistemas de Mantenimiento SL (eProsima). This manual page was written for Debian by Timo Röhling.

2.0.0+dfsg