| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
SubscriptionMatchedStatus.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__SUBSCRIPTIONMATCHEDSTATUS_HPP
20#define FASTDDS_DDS_CORE_STATUS__SUBSCRIPTIONMATCHEDSTATUS_HPP
21
22#include <cstdint>
23
24#include <fastdds/dds/core/status/MatchedStatus.hpp>
25#include <fastdds/dds/common/InstanceHandle.hpp>
26
27 namespace eprosima {
28 namespace fastdds {
29 namespace dds {
30
32 struct SubscriptionMatchedStatus : public MatchedStatus
33{
35 InstanceHandle_t last_publication_handle;
36};
37
38} // namespace dds
39} // namespace fastdds
40} // namespace eprosima
41
42#endif //_SUBCRIPTION_MATCHED_STATUS_HPP_
eprosima::fastdds::dds
Definition BuiltinTopicKey.hpp:26
eprosima::fastdds::dds::InstanceHandle_t
eprosima::fastdds::rtps::InstanceHandle_t InstanceHandle_t
Definition InstanceHandle.hpp:31
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::dds::MatchedStatus::MatchedStatus
MatchedStatus()=default
Constructor.
eprosima::fastdds::dds::SubscriptionMatchedStatus
A structure storing the subscription status.
Definition SubscriptionMatchedStatus.hpp:33
eprosima::fastdds::dds::SubscriptionMatchedStatus::last_publication_handle
InstanceHandle_t last_publication_handle
Handle to the last writer that matched the reader causing the status change.
Definition SubscriptionMatchedStatus.hpp:35