summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/tests/Policies/ownership_qos_test.cpp
blob: eb36fc8dfca00eb286a1d26a842aaf3cf52aa2f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "ownership_qos_test.h"

OwnershipPolicyTest::OwnershipPolicyTest ()
{
}

bool
OwnershipPolicyTest::check (const ::DDS_OwnershipQosPolicy & dds_qos,
                            const ::DDS::OwnershipQosPolicy & qos)
{
  return dds_qos.kind ==
         static_cast <DDS_OwnershipQosPolicyKind> (qos.kind);
}