Fast DDS
Version 3.6.1.0
Fast DDS
Toggle main menu visibility
Loading...
Searching...
No Matches
TopicListener.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_TOPIC__TOPICLISTENER_HPP
20
#define FASTDDS_DDS_TOPIC__TOPICLISTENER_HPP
21
22
#include <fastdds/fastdds_dll.hpp>
23
#include <fastdds/dds/core/status/BaseStatus.hpp>
24
25
namespace
eprosima
{
26
namespace
fastdds
{
27
namespace
dds
{
28
29
class
Topic
;
30
36
class
FASTDDS_EXPORTED_API
TopicListener
37
{
38
public
:
39
43
TopicListener
()
44
{
45
}
46
50
virtual
~TopicListener
()
51
{
52
}
53
61
virtual
void
on_inconsistent_topic
(
62
Topic
* topic,
63
InconsistentTopicStatus
status)
64
{
65
(void)topic;
66
(void)status;
67
}
68
69
};
70
71
}
// namespace dds
72
}
// namespace fastdds
73
}
// namespace eprosima
74
75
#endif
// FASTDDS_DDS_TOPIC__TOPICLISTENER_HPP
eprosima::fastdds::dds::Topic
Class Topic, represents the fact that both publications and subscriptions are tied to a single data-t...
Definition
Topic.hpp:53
eprosima::fastdds::dds::TopicListener::on_inconsistent_topic
virtual void on_inconsistent_topic(Topic *topic, InconsistentTopicStatus status)
Virtual function to be implemented by the user containing the actions to be performed when another to...
Definition
TopicListener.hpp:61
eprosima::fastdds::dds::TopicListener::~TopicListener
virtual ~TopicListener()
Destructor.
Definition
TopicListener.hpp:50
eprosima::fastdds::dds::TopicListener::TopicListener
TopicListener()
Constructor.
Definition
TopicListener.hpp:43
eprosima::fastdds::dds
Definition
BuiltinTopicKey.hpp:26
eprosima::fastdds::dds::InconsistentTopicStatus
BaseStatus InconsistentTopicStatus
Alias of BaseStatus.
Definition
BaseStatus.hpp:43
eprosima::fastdds
eprosima
eProsima namespace.
include
fastdds
dds
topic
TopicListener.hpp
Generated on
for