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
status
TStatus.hpp
Go to the documentation of this file.
1
#ifndef OMG_TDDS_CORE_STATUS_STATUS_HPP_
2
#define OMG_TDDS_CORE_STATUS_STATUS_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
#include <
dds/core/InstanceHandle.hpp
>
24
#include <
dds/core/policy/CorePolicy.hpp
>
25
#include <
dds/core/policy/QosPolicyCount.hpp
>
26
#include <
dds/core/status/State.hpp
>
27
28
namespace
dds {
namespace
core {
namespace
status {
29
30
template
<
typename
D>
31
class
TInconsistentTopicStatus
:
public
dds::core::Value
<D> {
32
public
:
33
TInconsistentTopicStatus
();
34
35
public
:
36
int32_t
total_count
()
const
;
37
int32_t
total_count_change
()
const
;
38
};
39
40
template
<
typename
D>
41
class
TSampleLostStatus
:
public
dds::core::Value
<D> {
42
public
:
43
TSampleLostStatus
();
44
45
public
:
46
int32_t
total_count
()
const
;
47
int32_t
total_count_change
()
const
;
48
};
49
50
51
template
<
typename
D>
52
class
TSampleRejectedStatus
:
public
dds::core::Value
<D> {
53
public
:
54
TSampleRejectedStatus
();
55
56
public
:
57
int32_t
total_count
()
const
;
58
int32_t
total_count_change
()
const
;
59
const
dds::core::status::SampleRejectedState
last_reason
()
const
;
60
const
dds::core::InstanceHandle
last_instance_handle
()
const
;
61
};
62
63
template
<
typename
D>
64
class
TLivelinessLostStatus
:
public
dds::core::Value
<D> {
65
public
:
66
TLivelinessLostStatus
();
67
68
public
:
69
int32_t
total_count
()
const
;
70
int32_t
total_count_change
()
const
;
71
};
72
73
template
<
typename
D>
74
class
TLivelinessChangedStatus
:
public
dds::core::Value
<D> {
75
public
:
76
TLivelinessChangedStatus
();
77
78
public
:
79
int32_t
alive_count
()
const
;
80
int32_t
not_alive_count
()
const
;
81
int32_t
alive_count_change
()
const
;
82
int32_t
not_alive_count_change
()
const
;
83
const
dds::core::InstanceHandle
last_publication_handle
()
const
;
84
};
85
86
template
<
typename
D>
87
class
TOfferedDeadlineMissedStatus
:
public
dds::core::Value
<D> {
88
public
:
89
TOfferedDeadlineMissedStatus
();
90
91
public
:
92
int32_t
total_count
()
const
;
93
int32_t
total_count_change
()
const
;
94
const
dds::core::InstanceHandle
last_instance_handle
()
const
;
95
};
96
97
template
<
typename
D>
98
class
TRequestedDeadlineMissedStatus
:
public
dds::core::Value
<D> {
99
public
:
100
TRequestedDeadlineMissedStatus
();
101
public
:
102
int32_t
total_count
()
const
;
103
int32_t
total_count_change
()
const
;
104
const
dds::core::InstanceHandle
last_instance_handle
()
const
;
105
};
106
107
108
109
template
<
typename
D>
110
class
TOfferedIncompatibleQosStatus
:
public
dds::core::Value
<D>{
111
public
:
112
TOfferedIncompatibleQosStatus
();
113
114
public
:
115
int32_t
total_count
()
const
;
116
int32_t
total_count_change
()
const
;
117
dds::core::policy::QosPolicyId
last_policy_id
()
const
;
118
const
dds::core::policy::QosPolicyCountSeq
policies
()
const
;
119
120
dds::core::policy::QosPolicyCountSeq
&
121
policies
(
dds::core::policy::QosPolicyCountSeq
& dst)
const
;
122
};
123
124
template
<
typename
D>
125
class
TRequestedIncompatibleQosStatus
:
public
dds::core::Value
<D> {
126
public
:
127
TRequestedIncompatibleQosStatus
();
128
129
public
:
130
int32_t
total_count
()
const
;
131
int32_t
total_count_change
()
const
;
132
dds::core::policy::QosPolicyId
last_policy_id
()
const
;
133
const
dds::core::policy::QosPolicyCountSeq
policies
()
const
;
134
dds::core::policy::QosPolicyCountSeq
&
135
policies
(
dds::core::policy::QosPolicyCountSeq
& dst)
const
;
136
};
137
138
template
<
typename
D>
139
class
TPublicationMatchedStatus
:
public
dds::core::Value
<D> {
140
public
:
141
TPublicationMatchedStatus
() :
dds::core::Value<D>
();
142
143
public
:
144
int32_t
total_count
()
const
;
145
int32_t
total_count_change
()
const
;
146
int32_t
current_count
()
const
;
147
int32_t
current_count_change
()
const
;
148
const
dds::core::InstanceHandle
last_subscription_handle
()
const
;
149
};
150
151
template
<
typename
D>
152
class
TSubscriptionMatchedStatus
:
public
dds::core::Value
<D> {
153
public
:
154
TSubscriptionMatchedStatus
();
155
156
public
:
157
int32_t
total_count
()
const
;
158
int32_t
total_count_change
()
const
;
159
int32_t
current_count
()
const
;
160
int32_t
current_count_change
()
const
;
161
const
dds::core::InstanceHandle
last_publication_handle
()
const
;
162
};
163
164
} } }
/* namespace tdds::core::status */
165
166
#endif
/* OMG_TDDS_CORE_STATUS_STATUS_HPP_ */
Generated on Sat Nov 3 2012 00:02:18 for DDS-PSM-C++ by
1.8.2