Go to the documentation of this file.
11 #ifndef RTCTK_COMPONENTFRAMEWORK_DATAPATH_DDS_HPP_
12 #define RTCTK_COMPONENTFRAMEWORK_DATAPATH_DDS_HPP_
52 Dds(std::string qos_library =
"RtcTk_Default_Library",
53 std::string qos_profile =
"RtcTk_Default_Profile");
54 virtual ~Dds() noexcept;
110 void DestroyTopic(Topic *topic,
bool to_be_removed =
true);
137 #endif //#ifndef RTCTK_COMPONENTFRAMEWORK_dataPATH_DDS_HPP_
Dds(std::string qos_library="RtcTk_Default_Library", std::string qos_profile="RtcTk_Default_Profile")
Definition: dds.cpp:22
size_t GetNumberOfTopics() const noexcept
Definition: dds.cpp:356
void DestroyTopic(Topic *topic, bool to_be_removed=true)
Destroys DDS topic.
Definition: dds.cpp:308
void SetQosProfile(std::string &qos_profile)
Set RTI DDS QoS profile after creation.
Definition: dds.hpp:71
void CreateParticipant()
Creates DDS participant.
Definition: dds.cpp:139
std::string m_qos_profile
Definition: dds.hpp:32
Definition: commandReplier.cpp:20
void DestroyAllTopics()
Destroys all DDS topics from internal map.
Definition: dds.cpp:337
std::string m_qos_library
Definition: dds.hpp:31
void SetInterfaceWhiteList(const std::vector< std::string > &iwl)
Sets the interfaces that can be used for DDS sample traffic i.e.
Definition: dds.cpp:125
int SetDDSParticipantQoSProperty(DomainParticipantQos &participant_qos, const char *prop, const char *value, const char *sf="")
std::vector< std::string > m_interfaceWhiteList
Definition: dds.hpp:34
void SetQosLibrary(std::string &qos_library)
Set RTI DDS QoS library after creation.
Definition: dds.hpp:63
const std::string GetTopicName(size_t index) const noexcept
Definition: dds.cpp:361
void DestroyParticipant()
Destroys DDS participant created in CreateParticipant.
Definition: dds.cpp:213
Declares common DDS types.
Topic * CreateTopic(const std::string &topic_name)
Creates DDS topic.
Definition: dds.cpp:233
void CreateManyTopics(std::vector< std::string > &topic_names)
Creates many DDS topics.
Definition: dds.cpp:325
Definition: mudpiProcessingError.hpp:119
DomainParticipant * m_participant
Definition: dds.hpp:29
DomainParticipantFactory * m_factory
Definition: dds.hpp:28
Common functionallty needed to create DDS entities like participant and topic that can be later used ...
Definition: dds.hpp:26
virtual ~Dds() noexcept
Definition: dds.cpp:89
virtual void DumpDDSstatistics()
Dumps / logs varios DDS statistic like NACks, ACKs, ...
Definition: dds.cpp:370
int PrintDDSParticipantQoSProperty(DomainParticipantQos &participant_qos, const char *prop, const char *sf="")
std::vector< Topic * > m_topics
Definition: dds.hpp:37