Class XMLEndpointParser used to parse the XML file that contains information about remote endpoints.
More...
#include <XMLEndpointParser.h>
Class XMLEndpointParser used to parse the XML file that contains information about remote endpoints.
◆ XMLEndpointParser()
◆ ~XMLEndpointParser()
◆ loadXMLFile()
XMLP_ret loadXMLFile |
( |
std::string & |
filename | ) |
|
Load the XML file.
- Parameters
-
filename | Name or data of the file to load and parse. The string could contain a filename (file://) or the XML content directly (data://), filename assumed if neither |
- Returns
- True if correct.
◆ loadXMLNode()
XMLP_ret loadXMLNode |
( |
tinyxml2::XMLDocument & |
doc | ) |
|
Load the XML node.
- Parameters
-
- Returns
- True if correct.
◆ loadXMLParticipantEndpoint()
◆ loadXMLReaderEndpoint()
Load a Reader endpoint.
- Parameters
-
xml_endpoint | Reference of a tree child for a reader. |
pdata | Pointer to the RTPSParticipantInfo where the reader must be added. |
- Returns
- True if correctly added.
◆ loadXMLWriterEndpoint()
Load a Writer endpoint.
- Parameters
-
xml_endpoint | Reference of a tree child for a writer. |
pdata | Pointer to the RTPSParticipantInfo where the reader must be added. |
- Returns
- True if correctly added.
◆ lookforReader()
XMLP_ret lookforReader |
( |
const char * |
partname, |
|
|
uint16_t |
id, |
|
|
rtps::ReaderProxyData ** |
rdataptr |
|
) |
| |
Look for a reader in the previously loaded endpoints.
- Parameters
-
[in] | partname | RTPSParticipant name |
[in] | id | Id of the reader |
[out] | rdataptr | Pointer to pointer to return the information. |
- Returns
- True if found.
◆ lookforWriter()
XMLP_ret lookforWriter |
( |
const char * |
partname, |
|
|
uint16_t |
id, |
|
|
rtps::WriterProxyData ** |
wdataptr |
|
) |
| |
Look for a writer in the previously loaded endpoints.
- Parameters
-
[in] | partname | RTPSParticipant name |
[in] | id | Id of the writer |
[out] | wdataptr | Pointer to pointer to return the information. |
- Returns
- True if found
The documentation for this class was generated from the following file: