HelloWorld.idl

IDL Type Description

The data type to be disseminated by RTI Data Distribution Service is described in language independent IDL. The IDL file is input to rtiddsgen, which produces the following files.

The programming language specific type representation of the type Foo = HelloWorld, for use in the application code.

User Data Type Support types as required by the DDS specification for use in the application code.

Methods required by the RTI Data Distribution Service implementation. These contains the auto-generated methods for serializing and deserializing the type.

HelloWorld.idl

[$(NDDSHOME)/example/C/helloWorld/HelloWorld.idl]

struct HelloWorld {
    string<128> msg;
};

RTI Data Distribution Service C API Version 4.5e Copyright © 23 Oct 2011 Real-Time Innovations, Inc