6. IDL interfaces ProΒΆ
eProsima FastDDS-Gen tool allows the generation of source code for a RPC over DDS application from an IDL file. The IDL file must contain the operation that can be called on both the client and server sides, and the parameters that can be passed to them. These operations are specified using the concept of interfaces defined in the OMG IDL specification.
The next subsections serves as a guide to how to define your own IDL interface, how to define exceptions for its operations, and how to develop RPC Client/Server applications.
- 6.1. Defining an IDL interface
- 6.2. Exceptions
- 6.3. Building a RPC Client/Server application
- 6.3.1. Background
- 6.3.2. Prerequisites
- 6.3.3. Create the application workspace
- 6.3.4. Import linked libraries and its dependencies
- 6.3.5. Configure the CMake project
- 6.3.6. Build the client/server interface
- 6.3.7. Generate the Fast DDS source code from the IDL file
- 6.3.8. Writing the application source code
- 6.3.9. Build the application
- 6.3.10. Run the application
- 6.3.11. Next steps
- 6.4. Building a RPC Client/Server application with data streaming
- 6.5. Customizing RPC Server request scheduling