-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPublisherQoS.h
54 lines (42 loc) · 1.23 KB
/
PublisherQoS.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef DDS_Publication_PublisherQoS_h_IsIncluded
#define DDS_Publication_PublisherQoS_h_IsIncluded
#include"DDS/Policy/IncludeLibs.h"
#include"DDS/Export.h"
namespace DDS
{
class DLL_STATE PublisherQoS
{
public:
PublisherQoS() {}
// PublisherQoS(const PublisherQoS& other);
PublisherQoS(const DDS::Policy::Presentation& presentation,
const DDS::Policy::Partition& partition,
const DDS::Policy::GroupData& groupData,
const DDS::Policy::EntityFactory& factoryPolicy);
public:
template <typename POLICY>
const POLICY& policy() const;
template <typename POLICY>
POLICY& policy();
public:
void policy(const DDS::Policy::Presentation& presentation);
void policy(const DDS::Policy::Partition& partition);
void policy(const DDS::Policy::GroupData& groupData);
void policy(const DDS::Policy::EntityFactory& factoryPolicy);
public:
/**
* @brief Default
* @return
*/
static PublisherQoS Default()
{
return PublisherQoS();
}
private:
DDS::Policy::Presentation presentation_;
DDS::Policy::Partition partition_;
DDS::Policy::GroupData groupData_;
DDS::Policy::EntityFactory factoryPolicy_;
};
}
#endif