19#ifndef FASTDDS_DDS_TOPIC__TOPIC_HPP
20#define FASTDDS_DDS_TOPIC__TOPIC_HPP
22#include <fastdds/fastdds_dll.hpp>
23#include <fastdds/dds/core/Entity.hpp>
24#include <fastdds/dds/core/ReturnCode.hpp>
25#include <fastdds/dds/core/status/BaseStatus.hpp>
26#include <fastdds/dds/topic/TopicDescription.hpp>
27#include <fastdds/dds/topic/qos/TopicQos.hpp>
41class DomainParticipant;
43class DomainParticipantImpl;
62 const std::string& topic_name,
63 const std::string& type_name,
69 const std::string& topic_name,
70 const std::string& type_name,
148 friend class ::dds::topic::Topic;
The DomainEntity class is a subclass of Entity created in order to differentiate between DomainPartic...
Definition Entity.hpp:166
Class DomainParticipant used to group Publishers and Subscribers into a single working unit.
Definition DomainParticipant.hpp:78
StatusMask is a bitmap or bitset field.
Definition StatusMask.hpp:48
static StatusMask all()
Get all StatusMasks.
Definition StatusMask.hpp:104
Class TopicDescription, represents the fact that both publications and subscriptions are tied to a si...
Definition TopicDescription.hpp:38
Class Topic, represents the fact that both publications and subscriptions are tied to a single data-t...
Definition Topic.hpp:53
FASTDDS_EXPORTED_API const TopicQos & get_qos() const
Allows accessing the Topic Qos.
friend class TopicProxy
Definition Topic.hpp:54
FASTDDS_EXPORTED_API ReturnCode_t get_qos(TopicQos &qos) const
Retrieves the Topic Qos.
FASTDDS_EXPORTED_API ReturnCode_t get_inconsistent_topic_status(InconsistentTopicStatus &status)
Allows the application to retrieve the INCONSISTENT_TOPIC_STATUS status of a Topic.
FASTDDS_EXPORTED_API ReturnCode_t set_qos(const TopicQos &qos)
Allows modifying the Topic Qos.
virtual DomainParticipant * get_participant() const override
Getter for the DomainParticipant.
FASTDDS_EXPORTED_API ReturnCode_t set_listener(TopicListener *listener, const StatusMask &mask=StatusMask::all())
Modifies the TopicListener.
FASTDDS_EXPORTED_API const TopicListener * get_listener() const
Retrieves the attached TopicListener.
TopicProxy * impl_
Definition Topic.hpp:146
TopicDescriptionImpl * get_impl() const override
friend class DomainParticipantImpl
Definition Topic.hpp:55
friend class ::dds::topic::Topic
Definition Topic.hpp:148
Class TopicListener, it should be used by the end user to implement specific callbacks to certain act...
Definition TopicListener.hpp:37
Class TopicQos, containing all the possible Qos that can be set for a determined Topic.
Definition TopicQos.hpp:40
Definition DomainParticipant.hpp:45
FASTDDS_EXPORTED_API const TopicQos TOPIC_QOS_DEFAULT
int32_t ReturnCode_t
Definition DDSReturnCode.hpp:59
A struct storing the base status.
Definition BaseStatus.hpp:30