Cyclone ISO C++ API Reference Guide
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
22
#include <dds/core/detail/conformance.hpp>
23
#include <
dds/core/SafeEnumeration.hpp
>
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
35
struct
OwnershipKind
36
{
37
enum
Type
38
{
39
SHARED
43
#ifdef OMG_DDS_OWNERSHIP_SUPPORT
44
,
45
EXCLUSIVE
49
#endif // OMG_DDS_OWNERSHIP_SUPPORT
50
};
51
};
52
53
54
struct
DurabilityKind
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
104
struct
PresentationAccessScopeKind
105
{
106
enum
Type
107
{
108
INSTANCE
,
109
TOPIC
111
#ifdef OMG_DDS_OBJECT_MODEL_SUPPORT
112
,
113
GROUP
114
#endif // OMG_DDS_OBJECT_MODEL_SUPPORT
115
};
116
};
117
118
119
struct
ReliabilityKind
120
{
121
enum
Type
122
{
123
BEST_EFFORT
,
129
RELIABLE
139
};
140
};
141
142
143
struct
DestinationOrderKind
144
{
145
enum
Type
146
{
147
BY_RECEPTION_TIMESTAMP
,
150
BY_SOURCE_TIMESTAMP
153
};
154
};
155
156
157
struct
HistoryKind
158
{
159
enum
Type
160
{
161
KEEP_LAST
,
178
KEEP_ALL
196
};
197
};
198
199
200
struct
LivelinessKind
201
{
202
enum
Type
203
{
204
AUTOMATIC
,
208
MANUAL_BY_PARTICIPANT
,
216
MANUAL_BY_TOPIC
221
};
222
};
223
224
struct
TypeConsistencyEnforcementKind
225
{
226
enum
Type
227
{
228
EXACT_TYPE_TYPE_CONSISTENCY
,
229
EXACT_NAME_TYPE_CONSISTENCY
,
230
DECLARED_TYPE_CONSISTENCY
,
231
ASSIGNABLE_TYPE_CONSISTENCY
232
};
233
};
234
235
236
}
237
}
238
}
239
#endif
/* OMG_DDS_CORE_POLICY_POLICYKIND_HPP_ */
dds::core::policy::LivelinessKind::Type
Type
Definition:
PolicyKind.hpp:202
dds::core::policy::HistoryKind::Type
Type
Definition:
PolicyKind.hpp:159
dds::core::policy::DestinationOrderKind::Type
Type
Definition:
PolicyKind.hpp:145
dds::core::policy::TypeConsistencyEnforcementKind::ASSIGNABLE_TYPE_CONSISTENCY
Definition:
PolicyKind.hpp:231
dds::core::policy::LivelinessKind
Definition:
PolicyKind.hpp:200
dds::core::policy::OwnershipKind::SHARED
Definition:
PolicyKind.hpp:39
dds::core::policy::HistoryKind::KEEP_LAST
Definition:
PolicyKind.hpp:161
dds::core::policy::LivelinessKind::MANUAL_BY_PARTICIPANT
Definition:
PolicyKind.hpp:208
dds::core::policy::ReliabilityKind::Type
Type
Definition:
PolicyKind.hpp:121
dds::core::policy::DestinationOrderKind::BY_SOURCE_TIMESTAMP
Definition:
PolicyKind.hpp:150
dds::core::policy::ReliabilityKind::RELIABLE
Definition:
PolicyKind.hpp:129
dds::core::policy::TypeConsistencyEnforcementKind::DECLARED_TYPE_CONSISTENCY
Definition:
PolicyKind.hpp:230
dds::core::policy::TypeConsistencyEnforcementKind::Type
Type
Definition:
PolicyKind.hpp:226
dds::core::policy::PresentationAccessScopeKind::INSTANCE
Definition:
PolicyKind.hpp:108
dds::core::policy::OwnershipKind::EXCLUSIVE
Definition:
PolicyKind.hpp:45
SafeEnumeration.hpp
dds::core::policy::DurabilityKind::TRANSIENT_LOCAL
Definition:
PolicyKind.hpp:65
dds::core::policy::DurabilityKind
Definition:
PolicyKind.hpp:54
dds::core::policy::ReliabilityKind::BEST_EFFORT
Definition:
PolicyKind.hpp:123
dds::core::policy::TypeConsistencyEnforcementKind::EXACT_TYPE_TYPE_CONSISTENCY
Definition:
PolicyKind.hpp:228
dds::core::policy::TypeConsistencyEnforcementKind
Definition:
PolicyKind.hpp:224
dds::core::policy::DestinationOrderKind::BY_RECEPTION_TIMESTAMP
Definition:
PolicyKind.hpp:147
dds
Definition:
array.hpp:30
dds::core::policy::DurabilityKind::Type
Type
Definition:
PolicyKind.hpp:56
dds::core::policy::DurabilityKind::TRANSIENT
Definition:
PolicyKind.hpp:80
dds::core::policy::DurabilityKind::VOLATILE
Definition:
PolicyKind.hpp:58
dds::core::policy::PresentationAccessScopeKind::TOPIC
Definition:
PolicyKind.hpp:109
dds::core::policy::LivelinessKind::AUTOMATIC
Definition:
PolicyKind.hpp:204
dds::core::policy::ReliabilityKind
Definition:
PolicyKind.hpp:119
dds::core::policy::OwnershipKind::Type
Type
Definition:
PolicyKind.hpp:37
dds::core::policy::LivelinessKind::MANUAL_BY_TOPIC
Definition:
PolicyKind.hpp:216
dds::core::policy::PresentationAccessScopeKind::Type
Type
Definition:
PolicyKind.hpp:106
dds::core::policy::HistoryKind
Definition:
PolicyKind.hpp:157
dds::core::policy::PresentationAccessScopeKind
Definition:
PolicyKind.hpp:104
dds::core::policy::PresentationAccessScopeKind::GROUP
Definition:
PolicyKind.hpp:113
dds::core::policy::HistoryKind::KEEP_ALL
Definition:
PolicyKind.hpp:178
dds::core::policy::TypeConsistencyEnforcementKind::EXACT_NAME_TYPE_CONSISTENCY
Definition:
PolicyKind.hpp:229
dds::core::policy::DurabilityKind::PERSISTENT
Definition:
PolicyKind.hpp:92
dds::core::policy::OwnershipKind
Definition:
PolicyKind.hpp:35
dds::core::policy::DestinationOrderKind
Definition:
PolicyKind.hpp:143
dds
core
policy
PolicyKind.hpp
Generated by
1.8.16