| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
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
18
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
39 using SampleLostStatus = BaseStatus;
41 using LivelinessLostStatus = BaseStatus;
43 using InconsistentTopicStatus = BaseStatus;
44
45} //namespace dds
46
47 using LivelinessLostStatus = fastdds::dds::BaseStatus;
48
49} //namespace fastdds
50} //namespace eprosima
51
52#endif // FASTDDS_DDS_CORE_STATUS__BASESTATUS_HPP
eprosima::fastdds::dds
Definition BuiltinTopicKey.hpp:26
eprosima::fastdds::dds::LivelinessLostStatus
BaseStatus LivelinessLostStatus
Alias of BaseStatus.
Definition BaseStatus.hpp:41
eprosima::fastdds::dds::InconsistentTopicStatus
BaseStatus InconsistentTopicStatus
Alias of BaseStatus.
Definition BaseStatus.hpp:43
eprosima::fastdds::dds::SampleLostStatus
BaseStatus SampleLostStatus
Alias of BaseStatus.
Definition BaseStatus.hpp:39
eprosima::fastdds
eprosima::fastdds::LivelinessLostStatus
fastdds::dds::BaseStatus LivelinessLostStatus
Definition BaseStatus.hpp:47
eprosima
eProsima namespace.
eprosima::fastdds::dds::BaseStatus
A struct storing the base status.
Definition BaseStatus.hpp:30
eprosima::fastdds::dds::BaseStatus::total_count_change
int32_t total_count_change
Increment since the last time the status was read.
Definition BaseStatus.hpp:35
eprosima::fastdds::dds::BaseStatus::total_count
int32_t total_count
Total cumulative count.
Definition BaseStatus.hpp:32