OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
StatusImpl.hpp
Go to the documentation of this file.
1 /*
2  * Vortex OpenSplice
3  *
4  * This software and documentation are Copyright 2006 to 2021 ADLINK
5  * Technology Limited, its affiliated companies and licensors. All rights
6  * reserved.
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21 #ifndef OSPL_DDS_CORE_STATUS_TSTATUS_IMPL_HPP_
22 #define OSPL_DDS_CORE_STATUS_TSTATUS_IMPL_HPP_
23 
28 /*
29  * OMG PSM class declaration
30  */
32 // Implementation
33 
34 namespace dds
35 {
36 namespace core
37 {
38 namespace status
39 {
40 
41 //InconsistentTopicStatus
42 
43 
45 
46 
48 {
49  return this->delegate().total_count();
50 }
51 
52 
54 {
55  return this->delegate().total_count_change();
56 }
57 
58 //SampleLostStatus
59 
60 
62 
63 
65 {
66  return this->delegate().total_count();
67 }
68 
69 
71 {
72  return this->delegate().total_count_change();
73 }
74 
75 //SampleRejectedStatus
76 
77 
79 
80 
82 {
83  return this->delegate().total_count();
84 }
85 
86 
88 {
89  return this->delegate().total_count_change();
90 }
91 
92 
94 {
95  return this->delegate().last_reason();
96 }
97 
98 
100 {
101  return this->delegate().last_instance_handle();
102 }
103 //LivelinessLostStatus
104 
106 
107 
109 {
110  return this->delegate().total_count();
111 }
112 
113 
115 {
116  return this->delegate().total_count_change();
117 }
118 
119 //LivelinessChangedStatus
120 
121 
123 
124 
126 {
127  return this->delegate().alive_count();
128 }
129 
130 
132 {
133  return this->delegate().not_alive_count();
134 }
135 
136 
138 {
139  return this->delegate().alive_count();
140 }
141 
142 
144 {
145  return this->delegate().not_alive_count();
146 }
147 
148 
150 {
151  return this->delegate().last_publication_handle();
152 }
153 
154 //OfferedDeadlineMissedStatus
155 
156 
158 
159 
161 {
162  return this->delegate().total_count();
163 }
164 
165 
167 {
168  return this->delegate().total_count_change();
169 }
170 
171 
173 {
174  return this->delegate().last_instance_handle();
175 }
176 
177 //RequestedDeadlineMissedStatus
178 
179 
181 
182 
184 {
185  return this->delegate().total_count();
186 }
187 
188 
190 {
191  return this->delegate().total_count_change();
192 }
193 
194 
196 {
197  return this->delegate().last_instance_handle();
198 }
199 
200 //OfferedIncompatibleQosStatus
201 
202 
204 
205 
207 {
208  return this->delegate().total_count();
209 }
210 
211 
213 {
214  return this->delegate().total_count_change();
215 }
216 
217 
218 dds::core::policy::QosPolicyId OfferedIncompatibleQosStatus::last_policy_id() const
219 {
220  return this->delegate().last_policy_id();
221 }
222 
223 
224 const dds::core::policy::QosPolicyCountSeq OfferedIncompatibleQosStatus::policies() const
225 {
226  return this->delegate().policies();
227 }
228 
229 
230 const dds::core::policy::QosPolicyCountSeq& OfferedIncompatibleQosStatus::policies(dds::core::policy::QosPolicyCountSeq& dst) const
231 {
232  return this->delegate().policies(dst);
233 }
234 
235 //RequestedIncompatibleQosStatus
236 
237 
239 
240 
242 {
243  return this->delegate().total_count();
244 }
245 
246 
248 {
249  return this->delegate().total_count_change();
250 }
251 
252 
253 dds::core::policy::QosPolicyId RequestedIncompatibleQosStatus::last_policy_id() const
254 {
255  return this->delegate().last_policy_id();
256 }
257 
258 
259 const dds::core::policy::QosPolicyCountSeq RequestedIncompatibleQosStatus::policies() const
260 {
261  return this->delegate().policies();
262 }
263 
264 
265 const dds::core::policy::QosPolicyCountSeq& RequestedIncompatibleQosStatus::policies(dds::core::policy::QosPolicyCountSeq& dst) const
266 {
267  return this->delegate().policies(dst);
268 }
269 
270 //PublicationMatchedStatus
271 
272 
274 
275 
277 {
278  return this->delegate().total_count();
279 }
280 
281 
283 {
284  return this->delegate().total_count_change();
285 }
286 
287 
289 {
290  return this->delegate().current_count();
291 }
292 
293 
295 {
296  return this->delegate().current_count_change();
297 }
298 
299 
301 {
302  return this->delegate().last_subscription_handle();
303 }
304 
305 //SubscriptionMatchedStatus
306 
307 
309 
310 
312 {
313  return this->delegate().total_count();
314 }
315 
316 
318 {
319  return this->delegate().total_count_change();
320 }
321 
322 
324 {
325  return this->delegate().current_count();
326 }
327 
328 
330 {
331  return this->delegate().current_count_change();
332 }
333 
334 
336 {
337  return this->delegate().last_publication_handle();
338 }
339 
340 }
341 }
342 }
343 
344 // End of implementation
345 
346 #endif /* OSPL_DDS_CORE_STATUS_TSTATUS_IMPL_HPP_ */
Class to contain the statistics about samples that have been rejected.
Definition: State.hpp:40
const dds::core::InstanceHandle last_instance_handle() const
Definition: StatusImpl.hpp:195
dds::core::policy::QosPolicyId last_policy_id() const
Definition: StatusImpl.hpp:253
const dds::core::policy::QosPolicyCountSeq policies() const
Definition: StatusImpl.hpp:224
dds::core::policy::QosPolicyId last_policy_id() const
Definition: StatusImpl.hpp:218
const dds::core::InstanceHandle last_publication_handle() const
Definition: StatusImpl.hpp:335
const dds::core::status::SampleRejectedState last_reason() const
Definition: StatusImpl.hpp:93
This class is the base for various value-type dds objects.
Definition: Value.hpp:28
const dds::core::InstanceHandle last_instance_handle() const
Definition: StatusImpl.hpp:99
const dds::core::InstanceHandle last_instance_handle() const
Definition: StatusImpl.hpp:172
Class to hold the handle associated with in sample instance.
Definition: array.hpp:23
const dds::core::InstanceHandle last_subscription_handle() const
Definition: StatusImpl.hpp:300
const dds::core::policy::QosPolicyCountSeq policies() const
Definition: StatusImpl.hpp:259
const dds::core::InstanceHandle last_publication_handle() const
Definition: StatusImpl.hpp:149