20#ifndef XMLENDPOINTPARSER_H_
21#define XMLENDPOINTPARSER_H_
22#ifndef DOXYGEN_SHOULD_SKIP_THIS_PUBLIC
31#include <fastdds/rtps/builtin/data/ReaderProxyData.h>
32#include <fastdds/rtps/builtin/data/WriterProxyData.h>
33#include <fastrtps/xmlparser/XMLParserCommon.h>
34#include <fastrtps/xmlparser/XMLParser.h>
93 std::string& filename);
100 tinyxml2::XMLDocument& doc);
103 tinyxml2::XMLElement* xml_endpoint,
113 tinyxml2::XMLElement* xml_endpoint,
122 tinyxml2::XMLElement* xml_endpoint,
132 const char* partname,
134 rtps::ReaderProxyData** rdataptr);
143 const char* partname,
145 rtps::WriterProxyData** wdataptr);
149 XMLP_ret get_disable_positive_acks_qos(
150 tinyxml2::XMLElement* elem,
153 std::set<int16_t> m_endpointIds;
154 std::set<uint32_t> m_entityIds;
156 std::vector<StaticRTPSParticipantInfo*> m_RTPSParticipants;
Class StaticRTPSParticipantInfo, contains the information of writers and readers loaded from the XML ...
Definition XMLEndpointParser.h:57
std::vector< rtps::ReaderProxyData * > m_readers
Vector of ReaderProxyData pointer.
Definition XMLEndpointParser.h:71
std::string m_RTPSParticipantName
RTPS PArticipant name.
Definition XMLEndpointParser.h:69
StaticRTPSParticipantInfo()
Definition XMLEndpointParser.h:60
std::vector< rtps::WriterProxyData * > m_writers
Vector of ReaderProxyData pointer.
Definition XMLEndpointParser.h:73
virtual ~StaticRTPSParticipantInfo()
Definition XMLEndpointParser.h:64
Class XMLEndpointParser used to parse the XML file that contains information about remote endpoints.
Definition XMLEndpointParser.h:81
void loadXMLParticipantEndpoint(tinyxml2::XMLElement *xml_endpoint, StaticRTPSParticipantInfo *pdata)
virtual ~XMLEndpointParser()
XMLP_ret loadXMLNode(tinyxml2::XMLDocument &doc)
Load the XML node.
XMLP_ret loadXMLFile(std::string &filename)
Load the XML file.
XMLP_ret loadXMLWriterEndpoint(tinyxml2::XMLElement *xml_endpoint, StaticRTPSParticipantInfo *pdata)
Load a Writer endpoint.
XMLP_ret lookforWriter(const char *partname, uint16_t id, rtps::WriterProxyData **wdataptr)
Look for a writer in the previously loaded endpoints.
XMLP_ret lookforReader(const char *partname, uint16_t id, rtps::ReaderProxyData **rdataptr)
Look for a reader in the previously loaded endpoints.
XMLP_ret loadXMLReaderEndpoint(tinyxml2::XMLElement *xml_endpoint, StaticRTPSParticipantInfo *pdata)
Load a Reader endpoint.
Class XMLParser, used to load XML data.
Definition XMLParser.h:102
XMLP_ret
Enum class XMLP_ret, used to provide a strongly typed result from the operations within this module.
Definition XMLParserCommon.h:27
fastdds::dds::DisablePositiveACKsQosPolicy DisablePositiveACKsQosPolicy
Definition QosPolicies.h:96
eProsima namespace.
Definition LibrarySettingsAttributes.h:23
Definition XMLEndpointParser.h:36