blob: 661fe7a042104bc53d15d558c3d4fea562c4842e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "presentation_qos_test.h"
PresentationPolicyTest::PresentationPolicyTest ()
{
}
bool
PresentationPolicyTest::check (const ::DDS_PresentationQosPolicy & dds_qos,
const ::DDS::PresentationQosPolicy & qos)
{
return dds_qos.access_scope ==
static_cast <DDS_PresentationQosPolicyAccessScopeKind>(qos.access_scope) &&
dds_qos.coherent_access ==
static_cast <DDS_Boolean> (qos.coherent_access) &&
dds_qos.ordered_access ==
static_cast <DDS_Boolean> (qos.ordered_access);
}
|