Go to the documentation of this file.
11 #ifndef RTCTK_COMPONENTFRAMEWORK_DATAPATH_DDS_COMMON_HPP_
12 #define RTCTK_COMPONENTFRAMEWORK_DATAPATH_DDS_COMMON_HPP_
25 #pragma GCC diagnostic push
26 #pragma GCC diagnostic ignored "-Wregister"
29 #include "agnostictopicifSupport.h"
31 #include <ndds/ndds_cpp.h>
32 #include <ndds/ndds_namespace_cpp.h>
34 #pragma GCC diagnostic pop
46 #include <fastdds/dds/publisher/DataWriter.hpp>
47 #include <fastdds/dds/publisher/Publisher.hpp>
48 #include <fastdds/dds/publisher/PublisherListener.hpp>
50 #include <fastdds/dds/subscriber/DataReader.hpp>
51 #include <fastdds/dds/subscriber/DataReaderListener.hpp>
52 #include <fastdds/dds/subscriber/Subscriber.hpp>
53 #include <fastdds/dds/subscriber/SubscriberListener.hpp>
55 #include <fastdds/dds/core/LoanableSequence.hpp>
56 #include <fastdds/dds/domain/DomainParticipant.hpp>
57 #include <fastdds/dds/domain/DomainParticipantFactory.hpp>
58 #include <fastrtps/types/TypesBase.h>
60 #include <fastdds/dds/core/condition/WaitSet.hpp>
61 #include <fastdds/dds/core/status/StatusMask.hpp>
63 #include <fastdds/dds/domain/qos/DomainParticipantFactoryQos.hpp>
65 #include <fastdds/rtps/transport/UDPv4TransportDescriptor.h>
68 using namespace eprosima::fastdds::dds;
69 using namespace eprosima::fastrtps::types;
71 using eprosima::fastrtps::Duration_t;
76 #define STATUS_MASK_NONE StatusMask::none()
77 #define STATUS_MASK_ALL StatusMask::all()
78 #define DATA_AVAILABLE_STATUS StatusMask::data_available()
80 #define RETCODE_OK ReturnCode_t::RETCODE_OK
82 #define DDS_HANDLE_NIL eprosima::fastrtps::rtps::c_InstanceHandle_Unknown
83 #define DDS_RETCODE_TIMEOUT ReturnCode_t::RETCODE_TIMEOUT
84 #define RETCODE_NO_DATA ReturnCode_t::RETCODE_NO_DATA
85 #define DDS_RETCODE_OK ReturnCode_t::RETCODE_OK
109 #endif //#ifndef RTCTK_COMPONENTFRAMEWORK_DATAPATH_DDS_COMMON_HPP_
eprosima::fastdds::dds::DataWriter TypedDataWriter
Definition: ddsCommon.hpp:88
std::string RetcodeToString(ReturnCode_t retcode)
Definition: ddsCommon.cpp:16
Definition: commandReplier.cpp:20
FASTDDS_SEQUENCE(SampleInfoSeq, SampleInfo)
eprosima::fastdds::dds::DataReader TypedDataReader
Definition: ddsCommon.hpp:89
This class represents the structure AgnosticTopic defined by the user in the IDL file.
Definition: agnostictopicif.h:72
long DDS_Long
Definition: ddsCommon.hpp:91
unsigned long DDS_UnsignedLong
Definition: ddsCommon.hpp:92
Definition: agnostictopicifPubSubTypes.cpp:31
const char * GetTopicName(DataWriter *writer)
Definition: ddsCommon.cpp:24