OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
PolicyKind.hpp
Go to the documentation of this file.
1 #ifndef OMG_DDS_CORE_POLICY_POLICYKIND_HPP_
2 #define OMG_DDS_CORE_POLICY_POLICYKIND_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 
24 
25 namespace dds
26 {
27 namespace core
28 {
29 namespace policy
30 {
31 
32 #if defined (__SUNPRO_CC) && defined(SHARED)
33 # undef SHARED
34 #endif
36 {
37  enum Type
38  {
43  #ifdef OMG_DDS_OWNERSHIP_SUPPORT
44  ,
49  #endif // OMG_DDS_OWNERSHIP_SUPPORT
50  };
51 };
52 
53 
55 {
56  enum Type
57  {
58  VOLATILE,
65  TRANSIENT_LOCAL
78  #ifdef OMG_DDS_PERSISTENCE_SUPPORT
79  ,
80  TRANSIENT,
92  PERSISTENT
100  #endif // #ifdef OMG_DDS_PERSISTENCE_SUPPORT
101  };
102 };
103 
105 {
106  enum Type
107  {
109  TOPIC
111  #ifdef OMG_DDS_OBJECT_MODEL_SUPPORT
112  ,
113  GROUP
114  #endif // OMG_DDS_OBJECT_MODEL_SUPPORT
115  };
116 };
117 
118 
120 {
121  enum Type
122  {
123  BEST_EFFORT,
129  RELIABLE
139  };
140 };
141 
142 
144 {
145  enum Type
146  {
147  BY_RECEPTION_TIMESTAMP,
150  BY_SOURCE_TIMESTAMP
153  };
154 };
155 
156 
158 {
159  enum Type
160  {
161  KEEP_LAST,
178  KEEP_ALL
196  };
197 };
198 
199 
201 {
202  enum Type
203  {
204  AUTOMATIC,
208  MANUAL_BY_PARTICIPANT,
216  MANUAL_BY_TOPIC
221  };
222 };
223 
225 {
226  enum Type
227  {
231  ASSIGNABLE_TYPE_CONSISTENCY
232  };
233 };
234 
235 
236 }
237 }
238 }
239 #endif /* OMG_DDS_CORE_POLICY_POLICYKIND_HPP_ */
Definition: array.hpp:23