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>
45 class ReaderProxyData;
46 class WriterProxyData;
91 std::string& filename);
98 tinyxml2::XMLDocument& doc);
101 tinyxml2::XMLElement* xml_endpoint,
111 tinyxml2::XMLElement* xml_endpoint,
120 tinyxml2::XMLElement* xml_endpoint,
130 const char* partname,
132 rtps::ReaderProxyData** rdataptr);
141 const char* partname,
143 rtps::WriterProxyData** wdataptr);
147 std::set<int16_t> m_endpointIds;
148 std::set<uint32_t> m_entityIds;
150 std::vector<StaticRTPSParticipantInfo*> m_RTPSParticipants;
Class StaticRTPSParticipantInfo, contains the information of writers and readers loaded from the XML ...
Definition: XMLEndpointParser.h:56
std::vector< rtps::ReaderProxyData * > m_readers
Vector of ReaderProxyData pointer.
Definition: XMLEndpointParser.h:70
std::string m_RTPSParticipantName
RTPS PArticipant name.
Definition: XMLEndpointParser.h:68
StaticRTPSParticipantInfo()
Definition: XMLEndpointParser.h:59
std::vector< rtps::WriterProxyData * > m_writers
Vector of ReaderProxyData pointer.
Definition: XMLEndpointParser.h:72
virtual ~StaticRTPSParticipantInfo()
Definition: XMLEndpointParser.h:63
Class XMLEndpointParser used to parse the XML file that contains information about remote endpoints.
Definition: XMLEndpointParser.h:80
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.
XMLP_ret
Enum class XMLP_ret, used to provide a strongly typed result from the operations within this module.
Definition: XMLParserCommon.h:30
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23
Definition: XMLEndpointParser.h:35