blob: 540bf6e1315084c12899217230adce168b52e02f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// $Id$
#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);
}
|