RTC Toolkit  2.0.0
ddsCommon.hpp
Go to the documentation of this file.
1 
15 #ifndef RTCTK_COMPONENTFRAMEWORK_DDSCOMMON_HPP
16 #define RTCTK_COMPONENTFRAMEWORK_DDSCOMMON_HPP
17 
18 #include "agnostictopicifPubSubTypes.h"
19 
20 #include <fastdds/dds/publisher/DataWriter.hpp>
21 #include <fastdds/dds/publisher/Publisher.hpp>
22 #include <fastdds/dds/publisher/PublisherListener.hpp>
23 
24 #include <fastdds/dds/subscriber/DataReader.hpp>
25 #include <fastdds/dds/subscriber/DataReaderListener.hpp>
26 #include <fastdds/dds/subscriber/Subscriber.hpp>
27 #include <fastdds/dds/subscriber/SubscriberListener.hpp>
28 
29 #include <fastdds/dds/core/LoanableSequence.hpp>
30 #include <fastdds/dds/domain/DomainParticipant.hpp>
31 #include <fastdds/dds/domain/DomainParticipantFactory.hpp>
32 #include <fastrtps/types/TypesBase.h>
33 
34 #include <fastdds/dds/core/condition/WaitSet.hpp>
35 #include <fastdds/dds/core/status/StatusMask.hpp>
36 
37 #include <fastdds/dds/domain/qos/DomainParticipantFactoryQos.hpp>
38 
39 #include <fastdds/rtps/transport/UDPv4TransportDescriptor.h>
40 
41 namespace rtctk::componentFramework {
42 using namespace eprosima::fastdds::dds;
43 
44 FASTDDS_SEQUENCE(AgnosticTopicSeq, AgnosticTopic);
45 
46 FASTDDS_SEQUENCE(SampleInfoSeq, SampleInfo);
47 
48 std::string RetcodeToString(ReturnCode_t retcode);
49 
50 const char* GetTopicName(DataWriter* writer);
51 const char* GetTopicName(DataReader* reader);
52 } // namespace rtctk::componentFramework
53 
54 #endif // RTCTK_COMPONENTFRAMEWORK_DDSCOMMON_HPP
rtctk::componentFramework::RetcodeToString
std::string RetcodeToString(ReturnCode_t retcode)
Definition: ddsCommon.cpp:17
rtctk::componentFramework
Definition: commandReplier.cpp:20
rtctk::componentFramework::FASTDDS_SEQUENCE
FASTDDS_SEQUENCE(AgnosticTopicSeq, AgnosticTopic)
rtctk::componentFramework::GetTopicName
const char * GetTopicName(DataWriter *writer)
Definition: ddsCommon.cpp:21