Go to the documentation of this file.
12 #ifndef RTCTK_COMPONENTFRAMEWORK_DATAPATH_DDS_HPP_
13 #define RTCTK_COMPONENTFRAMEWORK_DATAPATH_DDS_HPP_
19 #include <log4cplus/logger.h>
55 Dds(std::string qos_file,
58 virtual ~Dds() noexcept;
112 void DestroyTopic(Topic *topic,
bool to_be_removed =
true);
158 #endif //#ifndef RTCTK_COMPONENTFRAMEWORK_dataPATH_DDS_HPP_
size_t GetNumberOfTopics() const noexcept
Definition: dds.cpp:332
static const std::string DEFAULT_QOS_PROFILE
default profile name for different DDS QoSs
Definition: dds.hpp:147
void DestroyTopic(Topic *topic, bool to_be_removed=true)
Destroys DDS topic.
Definition: dds.cpp:288
void SetQosProfile(std::string &qos_profile)
Set FastDDS QoS profile after creation.
Definition: dds.hpp:68
void CreateParticipant()
Creates DDS participant.
Definition: dds.cpp:119
std::string m_qos_profile
Definition: dds.hpp:36
log4cplus::Logger m_logger
Definition: dds.hpp:44
Definition: commandReplier.cpp:20
Dds(std::string qos_file, std::string qos_profile=DEFAULT_QOS_PROFILE, DomainId_t domain_id=DEFAULT_DOMAIN_ID)
Constructor for Base class for both DDS Publisher and DDS Subscriber.
Definition: dds.cpp:25
void DestroyAllTopics()
Destroys all DDS topics from internal map.
Definition: dds.cpp:317
void SetInterfaceWhiteList(const std::vector< std::string > &iwl)
Sets the interfaces that can be used for DDS sample traffic.
Definition: dds.cpp:107
std::vector< std::string > m_interfaceWhiteList
Definition: dds.hpp:40
DomainId_t m_domain_id
Definition: dds.hpp:38
const std::string GetTopicName(size_t index) const noexcept
Definition: dds.cpp:337
void DestroyParticipant()
Destroys DDS participant created in CreateParticipant.
Definition: dds.cpp:215
static const DomainId_t DEFAULT_DOMAIN_ID
default Domain Id for different DDS
Definition: dds.hpp:153
Declares some common DDS functionality.
Topic * CreateTopic(const std::string &topic_name)
Creates DDS topic.
Definition: dds.cpp:235
void CreateManyTopics(std::vector< std::string > &topic_names)
Creates many DDS topics.
Definition: dds.cpp:305
Definition: mudpiProcessingError.hpp:119
DomainParticipant * m_participant
Definition: dds.hpp:34
DomainParticipantFactory * m_factory
Definition: dds.hpp:33
static const std::string TELEM_DP_QOS_FILE
default file name for different DDS QoSs
Definition: dds.hpp:141
Common functionallty needed to create DDS entities like participant and topic that can be later used ...
Definition: dds.hpp:31
virtual ~Dds() noexcept
Definition: dds.cpp:97
virtual void DumpDDSstatistics()
Dumps / logs varios DDS statistic like NACks, ACKs, ...
Definition: dds.cpp:346
std::vector< Topic * > m_topics
Definition: dds.hpp:43