DDS-PSM-C++
1.0
ISO C++ API for OpenSplice DDS
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
src
hpp
dds
core
TEntityQos.hpp
Go to the documentation of this file.
1
#ifndef OMG_TDDS_CORE_QOS_ENTITY_QOS_HPP_
2
#define OMG_TDDS_CORE_QOS_ENTITY_QOS_HPP_
3
4
/* Copyright 2010, Object Management Group, Inc.
5
* Copyright 2010, PrismTech, Corp.
6
* Copyright 2010, Real-Time Innovations, Inc.
7
* All rights reserved.
8
*
9
* Licensed under the Apache License, Version 2.0 (the "License");
10
* you may not use this file except in compliance with the License.
11
* You may obtain a copy of the License at
12
*
13
* http://www.apache.org/licenses/LICENSE-2.0
14
*
15
* Unless required by applicable law or agreed to in writing, software
16
* distributed under the License is distributed on an "AS IS" BASIS,
17
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
* See the License for the specific language governing permissions and
19
* limitations under the License.
20
*/
21
22
#include <
dds/core/Value.hpp
>
23
24
25
namespace
dds {
26
namespace
core {
27
template
<
typename
DELEGATE>
28
class
TEntityQos
;
29
}
30
}
31
32
/* Acts as a container for Qos policies allowing to set and retrieve all
33
* the policies of an entity as a unit.
34
*/
35
template
<
typename
DELEGATE>
36
class
dds::core::TEntityQos
:
public
dds::core::Value
<DELEGATE> {
37
public
:
38
TEntityQos
();
39
40
TEntityQos
(
const
TEntityQos
& other);
41
42
template
<
typename
T>
43
TEntityQos
(
const
TEntityQos<T>
& qos);
44
45
public
:
46
~TEntityQos
();
47
48
public
:
56
template
<
typename
POLICY>
57
TEntityQos
&
policy
(
const
POLICY& p);
58
65
template
<
typename
POLICY>
66
const
POLICY&
policy
()
const
;
67
74
template
<
typename
POLICY>
75
POLICY&
policy
();
76
77
template
<
typename
POLICY>
78
TEntityQos
&
operator <<
(
const
POLICY& p);
79
80
template
<
typename
POLICY>
81
const
TEntityQos
&
operator >>
(POLICY& p)
const
;
82
83
template
<
typename
T>
84
TEntityQos<DELEGATE>
&
operator =
(
const
TEntityQos<T>
& other);
85
86
};
87
/* namespace tdds / namespace core / namespace qos */
88
89
#endif
/* OMG_TDDS_CORE_QOS_ENTITY_QOS_HPP_ */
Generated on Sat Nov 3 2012 00:02:18 for DDS-PSM-C++ by
1.8.2