Skip to content

Commit bd1805b

Browse files
Applied suggestions
Signed-off-by: Eugenio Collado <[email protected]>
1 parent 65e6336 commit bd1805b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

code/DDSCodeTester.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2059,7 +2059,7 @@ void dds_topic_examples()
20592059
std::string idl_file = "<path_to_idl>.idl";
20602060
std::string type_name = "YourType";
20612061
std::vector<std::string> include_paths;
2062-
include_paths.push_back("<path_to_included_idl>.idl");
2062+
include_paths.push_back("<path/to/folder/containing/included/idl/files>");
20632063

20642064
// Retrieve the instance of the desired type
20652065
DynamicTypeBuilder::_ref_type dyn_type_builder =

docs/fastdds/xtypes/idl_parsing.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
Dynamic Types IDL Parsing
88
=========================
99

10-
*Fast DDS* supports the implementation of |DynamicTypes| for parsing IDL files at runtime to generate
11-
dynamic data types. The |DynamicTypeBuilderFactory::create_type_w_uri| API allows users to provide a URI
12-
pointing to an IDL file. Fast DDS will process the file and return the corresponding DynamicTypeBuilder,
13-
which can then be used to create a DynamicType.
14-
15-
This feature enables applications to dynamically load type definitions from IDL files instead of relying
16-
solely on pre-generated types or XML profiles. This enhances flexibility, as new data types can be introduced
17-
without modifying and recompiling the application.
10+
*Fast DDS* supports the implementation of |DynamicTypes| for parsing IDL files at runtime to generate dynamic data types.
11+
The |DynamicTypeBuilderFactory::create_type_w_uri| API allows users to provide a URI pointing to an IDL file.
12+
Fast DDS will process the file and return the corresponding DynamicTypeBuilder, which can then be used to create a
13+
DynamicType.
14+
15+
This feature enables applications to dynamically load type definitions from IDL files instead of relying solely on
16+
pre-generated types or XML profiles.
17+
This enhances flexibility, as new data types can be introduced without modifying and recompiling the application.
1818

1919
Type definition
2020
^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)