| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
MatchedStatus.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
18
19#ifndef FASTDDS_DDS_CORE_STATUS__MATCHEDSTATUS_HPP
20#define FASTDDS_DDS_CORE_STATUS__MATCHEDSTATUS_HPP
21
22#include <cstdint>
23
24 namespace eprosima {
25 namespace fastdds {
26 namespace dds {
27
29 struct MatchedStatus
30{
32 MatchedStatus() = default;
33
35 ~MatchedStatus() = default;
36
39 int32_t total_count = 0;
40
42 int32_t total_count_change = 0;
43
45 int32_t current_count = 0;
46
48 int32_t current_count_change = 0;
49};
50
51} // namespace dds
52} // namespace fastdds
53} // namespace eprosima
54
55#endif //FASTDDS_DDS_CORE_STATUS__MATCHEDSTATUS_HPP
eprosima::fastdds::dds
Definition BuiltinTopicKey.hpp:26
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::dds::MatchedStatus::~MatchedStatus
~MatchedStatus()=default
Destructor.
eprosima::fastdds::dds::MatchedStatus::current_count_change
int32_t current_count_change
The change in current_count since the last time the listener was called or the status was read.
Definition MatchedStatus.hpp:48
eprosima::fastdds::dds::MatchedStatus::MatchedStatus
MatchedStatus()=default
Constructor.
eprosima::fastdds::dds::MatchedStatus::current_count
int32_t current_count
The number of writers currently matched to the concerned reader.
Definition MatchedStatus.hpp:45
eprosima::fastdds::dds::MatchedStatus::total_count_change
int32_t total_count_change
The change in total_count since the last time the listener was called or the status was read.
Definition MatchedStatus.hpp:42
eprosima::fastdds::dds::MatchedStatus::total_count
int32_t total_count
Total cumulative count the concerned reader discovered a match with a writer.
Definition MatchedStatus.hpp:39