-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQosChecker.h
40 lines (32 loc) · 916 Bytes
/
QosChecker.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* DataRepresentation.h
*
* Created on: Sep 9, 2012
* Author: knuthelv
*/
#ifndef DDS_Policy_QosChecker_h_Included
#define DDS_Policy_QosChecker_h_Included
#include"DDS/CommonDefines.h"
#include"DDS/TopicQoS.h"
#include"DDS/PublisherQoS.h"
#include"DDS/DataWriterQoS.h"
#include"DDS/SubscriberQoS.h"
#include"DDS/DataReaderQoS.h"
#include"DDS/DomainParticipantQoS.h"
#include"DDS/Policy/IncludeLibs.h"
#include"DDS/Export.h"
namespace DDS { namespace Policy {
/**
@brief Helper class to check consistency of QoS
*/
class DLL_STATE QosChecker
{
private:
QosChecker();
public:
static bool IsConsistent(const TopicQoS &topicQos);
static bool IsCompatible(const TopicQoS &offeredTopicQos, const TopicQoS &requestedTopicQos);
static bool IsChangeable(const TopicQoS &offeredTopicQos, const TopicQoS &requestedTopicQos);
};
}} // DDS::Policy
#endif //DDS_Policy_QosChecker_h_Included