Skip to content

Commit 3612d52

Browse files
Disable Type propagation of Fast DDS (#84)
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
1 parent ca395ab commit 3612d52

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

doc/test_description.template.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ product versions.
7070

7171
* Content Filtered Topic expression created with single quotes around strings
7272
values
73+
* Type Propagation property set to "disabled"
7374

7475
* **InterCOM DDS**:
7576

srcCxx/shape_configurator_eprosima_fast_dds.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@
3232
namespace DDS = eprosima::fastdds::dds;
3333
#define RETCODE_OK DDS::RETCODE_OK
3434

35+
void configure_fastdds_dp_qos(DDS::DomainParticipantQos &dp_qos)
36+
{
37+
dp_qos.properties().properties().emplace_back(
38+
"fastdds.type_propagation",
39+
"disabled");
40+
}
41+
3542
const char* get_qos_policy_name(DDS::QosPolicyId_t policy_id)
3643
{
3744
switch (policy_id) {

srcCxx/shape_main.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,10 @@ class ShapeApplication {
12191219
configure_participant_announcements_period(dp_qos, options->periodic_announcement_period_us);
12201220
#endif
12211221

1222+
#ifdef EPROSIMA_FAST_DDS
1223+
configure_fastdds_dp_qos(dp_qos);
1224+
#endif
1225+
12221226
if (options->datafrag_size > 0) {
12231227
bool result = false;
12241228
#if defined(RTI_CONNEXT_DDS)

0 commit comments

Comments
 (0)