OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
Status.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>
27 
28 namespace dds
29 {
30 namespace core
31 {
32 namespace status
33 {
34 
40 {
41 public:
43 
44 public:
48  int32_t total_count() const;
49 
54  int32_t total_count_change() const;
55 };
56 
62 {
63 public:
65 
66 public:
71  int32_t total_count() const;
72 
77  int32_t total_count_change() const;
78 };
79 
80 
86 {
87 public:
89 
90 public:
94  int32_t total_count() const;
95 
100  int32_t total_count_change() const;
101 
106  const dds::core::status::SampleRejectedState last_reason() const;
107 
112  const dds::core::InstanceHandle last_instance_handle() const;
113 };
114 
120 {
121 public:
123 
124 public:
132  int32_t total_count() const;
133 
138  int32_t total_count_change() const;
139 };
140 
146 {
147 public:
149 
150 public:
160  int32_t alive_count() const;
161 
170  int32_t not_alive_count() const;
171 
176  int32_t alive_count_change() const;
177 
182  int32_t not_alive_count_change() const;
183 
188  const dds::core::InstanceHandle last_publication_handle() const;
189 };
190 
196 {
197 public:
199 
200 public:
207  int32_t total_count() const;
208 
213  int32_t total_count_change() const;
214 
219  const dds::core::InstanceHandle last_instance_handle() const;
220 };
221 
227 {
228 public:
230 public:
231 
238  int32_t total_count() const;
239 
244  int32_t total_count_change() const;
245 
250  const dds::core::InstanceHandle last_instance_handle() const;
251 };
252 
253 
259 {
260 public:
262 
263 public:
269  int32_t total_count() const;
270 
275  int32_t total_count_change() const;
276 
281  dds::core::policy::QosPolicyId last_policy_id() const;
282 
289  const dds::core::policy::QosPolicyCountSeq policies() const;
290 
299  const dds::core::policy::QosPolicyCountSeq&
300  policies(dds::core::policy::QosPolicyCountSeq& dst) const;
301 };
302 
308 {
309 public:
311 
312 public:
318  int32_t total_count() const;
319 
324  int32_t total_count_change() const;
325 
330  dds::core::policy::QosPolicyId last_policy_id() const;
331 
338  const dds::core::policy::QosPolicyCountSeq policies() const;
339 
348  const dds::core::policy::QosPolicyCountSeq&
349  policies(dds::core::policy::QosPolicyCountSeq& dst) const;
350 };
351 
357 {
358 public:
360 
361 public:
368  int32_t total_count() const;
369 
374  int32_t total_count_change() const;
375 
380  int32_t current_count() const;
381 
386  int32_t current_count_change() const;
387 
392  const dds::core::InstanceHandle last_subscription_handle() const;
393 };
394 
400 {
401 public:
403 
404 public:
411  int32_t total_count() const;
412 
417  int32_t total_count_change() const;
418 
423  int32_t current_count() const;
424 
429  int32_t current_count_change() const;
430 
435  const dds::core::InstanceHandle last_publication_handle() const;
436 };
437 
438 }
439 }
440 }/* namespace dds::core::status */
441 
442 #endif /* OMG_TDDS_CORE_STATUS_STATUS_HPP_ */
Class to contain the statistics about samples that have been rejected.
Definition: State.hpp:40
This class is the base for various value-type dds objects.
Definition: Value.hpp:28
Class to hold the handle associated with in sample instance.
Definition: array.hpp:23