5757#ifndef ADD_PARTITION
5858#define ADD_PARTITION (field, value ) StringSeq_push(field.name, value)
5959#endif
60+ #ifndef DDS_BOOLEAN_TRUE
61+ #define DDS_BOOLEAN_TRUE true
62+ #endif
63+ #ifndef DDS_BOOLEAN_FALSE
64+ #define DDS_BOOLEAN_FALSE false
65+ #endif
6066
6167using namespace DDS ;
6268
@@ -1339,7 +1345,7 @@ class ShapeApplication {
13391345
13401346 logger.log_message (" Subscriber QoS:" , Verbosity::DEBUG);
13411347
1342- #if defined(RTI_CONNEXT_DDS) || defined(TWINOAKS_COREDX)
1348+ #if defined(RTI_CONNEXT_DDS) || defined(TWINOAKS_COREDX) || defined(INTERCOM_DDS)
13431349 if (options->coherent_set_enabled ) {
13441350 sub_qos.presentation .coherent_access = DDS_BOOLEAN_TRUE;
13451351 }
@@ -1348,13 +1354,21 @@ class ShapeApplication {
13481354 }
13491355 if (options->ordered_access_enabled || options->coherent_set_enabled ) {
13501356 sub_qos.presentation .access_scope = options->coherent_set_access_scope ;
1351- #if defined(TWINOAKS_COREDX)
1357+ #if defined(TWINOAKS_COREDX) || defined(INTERCOM_DDS)
13521358 if ( sub_qos.presentation .access_scope >= GROUP_PRESENTATION_QOS )
13531359 {
13541360 logger.log_message (" Presentation Access Scope "
13551361 + QosUtils::to_string (sub_qos.presentation .access_scope )
13561362 + std::string (" : Not supported" ), Verbosity::ERROR);
13571363 }
1364+ #endif
1365+ #if defined(INTERCOM_DDS)
1366+ if (sub_qos.presentation .coherent_access && sub_qos.presentation .access_scope >= TOPIC_PRESENTATION_QOS)
1367+ {
1368+ logger.log_message (" Coherent Access with Presentation Access Scope "
1369+ + QosUtils::to_string (sub_qos.presentation .access_scope )
1370+ + std::string (" : Not supported" ), Verbosity::ERROR);
1371+ }
13581372 #endif
13591373 }
13601374
0 commit comments