logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fastddsgen - IDL source code generator

Author

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

4.0.3+dfsg                                                                                         FASTDDSGEN(1)

Description

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.

Name

       fastddsgen - IDL source code generator

Options

-help shows the help information

       -version
              shows the current version of fastddsgen.

       -dDIR write generated files to DIR.

       -IDIR add DIR to the preprocessor include path.

       -tDIR use DIR as temporary directory

       -examplePLATFORM
              generate an example to compile the generated files for a specific platform.

       -test  add a serialization test to the generated example code

       -languageLANG
              select programming language (default: C++)

       -replace
              overwrite existing output files.

       -ppDisable
              disable the preprocessor.

       -ppPathCPP
              use CPP as preprocessor executable.

       -typeros2
              name generated types compliant to ROS 2 conventions.

       -typeobject
              generate TypeObject files for the IDL  and  modify  the  generated  constructor  to  register  the
              TypeObject representation into the type factory.

       -cs    apply case-sensitive matching to IDL grammar.

See Also

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

Synopsis

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

See Also