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
policy
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 {
namespace
core {
namespace
policy {
26
27
struct
OwnershipKind_def
{
28
enum
type
{
29
SHARED
30
31
#ifdef OMG_DDS_OWNERSHIP_SUPPORT
32
,
33
EXCLUSIVE
34
#endif // OMG_DDS_OWNERSHIP_SUPPORT
35
};
36
};
37
typedef
dds::core::safe_enum<OwnershipKind_def>
OwnershipKind
;
38
39
struct
DurabilityKind_def
{
40
enum
type
{
41
VOLATILE
,
42
TRANSIENT_LOCAL
43
44
#ifdef OMG_DDS_PERSISTENCE_SUPPORT
45
,
46
TRANSIENT,
47
PERSISTENT
48
#endif // #ifdef OMG_DDS_PERSISTENCE_SUPPORT
49
};
50
};
51
typedef
dds::core::safe_enum<DurabilityKind_def>
DurabilityKind
;
52
53
struct
PresentationAccessScopeKind_def
{
54
enum
Type
{
55
INSTANCE
,
56
TOPIC
57
58
#ifdef OMG_DDS_OBJECT_MODEL_SUPPORT
59
,
60
GROUP
61
#endif // OMG_DDS_OBJECT_MODEL_SUPPORT
62
}; };
63
64
65
66
struct
ReliabilityKind_def
{
67
enum
type
{
68
BEST_EFFORT
,
69
RELIABLE
70
};
71
};
72
typedef
dds::core::safe_enum<ReliabilityKind_def>
ReliabilityKind
;
73
74
75
struct
DestinationOrderKind_def
{
76
enum
type
{
77
BY_RECEPTION_TIMESTAMP
,
78
BY_SOURCE_TIMESTAMP
79
}; };
80
81
typedef
dds::core::safe_enum<DestinationOrderKind_def>
DestinationOrderKind
;
82
83
struct
HistoryKind_def
{
84
enum
type
{
85
KEEP_LAST
,
86
KEEP_ALL
87
};};
88
89
typedef
dds::core::safe_enum<HistoryKind_def>
HistoryKind
;
90
91
struct
LivelinessKind_def
{
92
enum
type
{
93
AUTOMATIC
,
94
MANUAL_BY_PARTICIPANT
,
95
MANUAL_BY_TOPIC
96
}; };
97
typedef
dds::core::safe_enum<LivelinessKind_def>
LivelinessKind
;
98
99
namespace
TypeConsistencyEnforcementKind_def {
100
enum
type
{
101
EXACT_TYPE_TYPE_CONSISTENCY
,
102
EXACT_NAME_TYPE_CONSISTENCY
,
103
DECLARED_TYPE_CONSISTENCY
,
104
ASSIGNABLE_TYPE_CONSISTENCY
105
}; };
106
107
typedef
dds::core::safe_enum<TypeConsistencyEnforcementKind_def>
TypeConsistencyEnforcementKind
;
108
109
} } }
110
#endif
/* OMG_DDS_CORE_POLICY_POLICYKIND_HPP_ */
Generated on Sat Nov 3 2012 00:02:18 for DDS-PSM-C++ by
1.8.2