Fast DDS  Version 3.6.1.0
Fast DDS
BaseStatus.hpp
1 // Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
19 #ifndef FASTDDS_DDS_CORE_STATUS__BASESTATUS_HPP
20 #define FASTDDS_DDS_CORE_STATUS__BASESTATUS_HPP
21 
22 #include <cstdint>
23 
24 namespace eprosima {
25 namespace fastdds {
26 namespace dds {
27 
29 struct BaseStatus
30 {
32  int32_t total_count = 0;
33 
35  int32_t total_count_change = 0;
36 };
37 
44 
45 } //namespace dds
46 
48 
49 } //namespace fastdds
50 } //namespace eprosima
51 
52 #endif // FASTDDS_DDS_CORE_STATUS__BASESTATUS_HPP
Definition: DomainParticipant.hpp:46
A struct storing the base status.
Definition: BaseStatus.hpp:30
int32_t total_count_change
Increment since the last time the status was read.
Definition: BaseStatus.hpp:35
int32_t total_count
Total cumulative count.
Definition: BaseStatus.hpp:32