DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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>
27 
28 namespace dds { namespace core { namespace status {
29 
30  template <typename D>
32  public:
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:
44 
45  public:
46  int32_t total_count() const;
47  int32_t total_count_change() const;
48  };
49 
50 
51  template <typename D>
53  public:
55 
56  public:
57  int32_t total_count() const;
58  int32_t total_count_change() const;
61  };
62 
63  template <typename D>
65  public:
67 
68  public:
69  int32_t total_count() const;
70  int32_t total_count_change() const;
71  };
72 
73  template <typename D>
75  public:
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;
84  };
85 
86  template <typename D>
88  public:
90 
91  public:
92  int32_t total_count() const;
93  int32_t total_count_change() const;
95  };
96 
97  template <typename D>
99  public:
101  public:
102  int32_t total_count() const;
103  int32_t total_count_change() const;
105  };
106 
107 
108 
109  template <typename D>
111  public:
113 
114  public:
115  int32_t total_count() const;
116  int32_t total_count_change() const;
119 
122  };
123 
124  template <typename D>
126  public:
128 
129  public:
130  int32_t total_count() const;
131  int32_t total_count_change() const;
136  };
137 
138  template <typename D>
140  public:
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;
149  };
150 
151  template <typename D>
153  public:
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;
162  };
163 
164 } } }/* namespace tdds::core::status */
165 
166 #endif /* OMG_TDDS_CORE_STATUS_STATUS_HPP_ */