24#include <fastdds/dds/core/policy/QosPolicies.hpp>
25#include <fastdds/dds/domain/qos/DomainParticipantFactoryQos.hpp>
26#include <fastdds/rtps/attributes/ThreadSettings.hpp>
27#include <fastdds/rtps/transport/PortBasedTransportDescriptor.hpp>
28#include <fastdds/rtps/transport/SocketTransportDescriptor.h>
29#include <fastrtps/attributes/LibrarySettingsAttributes.h>
30#include <fastrtps/attributes/ParticipantAttributes.h>
31#include <fastrtps/attributes/PublisherAttributes.h>
32#include <fastrtps/attributes/ReplierAttributes.hpp>
33#include <fastrtps/attributes/RequesterAttributes.hpp>
34#include <fastrtps/attributes/SubscriberAttributes.h>
35#include <fastrtps/transport/TransportDescriptorInterface.h>
36#include <fastrtps/types/DynamicTypeBuilderPtr.h>
37#include <fastrtps/xmlparser/XMLParserCommon.h>
49template <
class T>
class DataNode;
57typedef std::shared_ptr<fastdds::rtps::TransportDescriptorInterface>
sp_transport_t;
122 const std::string& filename,
133 const std::string& filename,
156 tinyxml2::XMLDocument& xmlDoc,
166 tinyxml2::XMLElement& profiles,
175 tinyxml2::XMLElement& types);
188 tinyxml2::XMLDocument& xmlDoc,
192 tinyxml2::XMLElement& profiles,
196 tinyxml2::XMLElement* p_root,
206 tinyxml2::XMLElement* p_root);
209 tinyxml2::XMLElement* p_root);
212 tinyxml2::XMLElement* p_root);
215 tinyxml2::XMLElement* p_root,
219 tinyxml2::XMLElement* p_root,
223 tinyxml2::XMLElement* p_root,
227 tinyxml2::XMLElement* p_root,
231 tinyxml2::XMLElement* p_root,
235 tinyxml2::XMLElement* p_root,
239 tinyxml2::XMLElement* p_root,
243 tinyxml2::XMLElement* p_root);
246 tinyxml2::XMLElement& p_root);
249 tinyxml2::XMLElement* p_root,
253 tinyxml2::XMLElement* p_root,
254 std::shared_ptr<fastdds::rtps::PortBasedTransportDescriptor> p_transport);
257 tinyxml2::XMLElement* p_root,
258 std::shared_ptr<fastdds::rtps::SocketTransportDescriptor> p_transport);
261 tinyxml2::XMLElement* p_root,
262 std::shared_ptr<fastdds::rtps::SocketTransportDescriptor> p_transport);
265 tinyxml2::XMLElement* p_root,
266 std::shared_ptr<fastdds::rtps::SocketTransportDescriptor> p_transport);
269 tinyxml2::XMLElement* p_root,
270 std::shared_ptr<fastdds::rtps::SocketTransportDescriptor> p_transport);
273 tinyxml2::XMLElement* p_root,
277 tinyxml2::XMLElement* p_root,
281 tinyxml2::XMLElement* p_root,
285 tinyxml2::XMLElement& p_root,
286 fastdds::rtps::PortBasedTransportDescriptor::ReceptionThreadsConfigMap& reception_threads);
294 tinyxml2::XMLElement& consumer);
297 tinyxml2::XMLElement& types);
300 tinyxml2::XMLElement* p_root);
303 tinyxml2::XMLElement* p_root);
306 tinyxml2::XMLElement* p_root);
309 tinyxml2::XMLElement* p_root);
312 tinyxml2::XMLElement* p_root);
315 tinyxml2::XMLElement* p_root);
318 tinyxml2::XMLElement* p_root);
321 tinyxml2::XMLElement* p_root);
324 tinyxml2::XMLElement* p_root);
327 tinyxml2::XMLElement* p_root,
333 tinyxml2::XMLElement* p_root,
338 tinyxml2::XMLElement* p_root,
343 tinyxml2::XMLElement* p_root,
346 const std::string& values);
349 tinyxml2::XMLElement* p_profile,
353 tinyxml2::XMLElement* p_profile,
357 tinyxml2::XMLElement* p_profile,
361 tinyxml2::XMLElement* p_profile,
365 tinyxml2::XMLElement* node,
369 tinyxml2::XMLElement* node,
373 tinyxml2::XMLElement* node,
376 template <
typename T>
378 tinyxml2::XMLElement* p_profile,
382 tinyxml2::XMLElement* elem,
387 tinyxml2::XMLElement* elem,
388 rtps::PropertyPolicy& propertiesPolicy,
392 tinyxml2::XMLElement* elem,
393 rtps::MemoryManagementPolicy_t& historyMemoryPolicy,
397 tinyxml2::XMLElement* elem,
398 fastdds::rtps::ExternalLocators& external_locators,
402 tinyxml2::XMLElement* elem,
403 rtps::LocatorList_t& locatorList,
407 tinyxml2::XMLElement* elem,
408 rtps::Locator_t& locator,
412 tinyxml2::XMLElement* elem,
413 rtps::Locator_t& locator,
417 tinyxml2::XMLElement* elem,
418 rtps::Locator_t& locator,
422 tinyxml2::XMLElement* elem,
423 rtps::Locator_t& locator,
427 tinyxml2::XMLElement* elem,
428 rtps::WriterTimes& times,
432 tinyxml2::XMLElement* elem,
433 rtps::ReaderTimes& times,
437 tinyxml2::XMLElement* elem,
438 Duration_t& duration,
442 tinyxml2::XMLElement* elem,
447 tinyxml2::XMLElement* elem,
452 tinyxml2::XMLElement* elem,
457 tinyxml2::XMLElement* elem,
462 tinyxml2::XMLElement* elem,
467 tinyxml2::XMLElement* elem,
472 tinyxml2::XMLElement* elem,
477 tinyxml2::XMLElement* elem,
482 tinyxml2::XMLElement* elem,
487 tinyxml2::XMLElement* elem,
492 tinyxml2::XMLElement* elem,
497 tinyxml2::XMLElement* elem,
502 tinyxml2::XMLElement* elem,
507 tinyxml2::XMLElement* elem,
512 tinyxml2::XMLElement* elem,
517 tinyxml2::XMLElement* elem,
522 tinyxml2::XMLElement* elem,
527 tinyxml2::XMLElement* elem,
532 tinyxml2::XMLElement* elem,
537 tinyxml2::XMLElement* elem,
542 tinyxml2::XMLElement* elem,
547 tinyxml2::XMLElement* elem,
552 tinyxml2::XMLElement* elem,
557 tinyxml2::XMLElement* elem,
558 rtps::ThroughputControllerDescriptor& throughputController,
562 tinyxml2::XMLElement* elem,
567 tinyxml2::XMLElement* elem,
568 rtps::PortParameters& port,
572 tinyxml2::XMLElement* elem,
573 rtps::RTPSParticipantAllocationAttributes& allocation,
577 tinyxml2::XMLElement* elem,
578 rtps::RemoteLocatorsAllocationAttributes& allocation,
582 tinyxml2::XMLElement* elem,
583 rtps::SendBuffersAllocationAttributes& allocation,
587 tinyxml2::XMLElement* elem,
588 rtps::DiscoverySettings& settings,
592 tinyxml2::XMLElement* elem,
593 rtps::TypeLookupSettings& settings,
597 tinyxml2::XMLElement* elem,
598 rtps::InitialAnnouncementConfig& config,
602 tinyxml2::XMLElement* elem,
603 rtps::BuiltinAttributes& builtin,
607 tinyxml2::XMLElement* elem,
608 std::vector<rtps::octet>& octet_vector,
612 tinyxml2::XMLElement* elem,
617 tinyxml2::XMLElement* elem,
622 tinyxml2::XMLElement* elem,
627 tinyxml2::XMLElement* elem,
632 tinyxml2::XMLElement* elem,
637 tinyxml2::XMLElement* elem,
638 rtps::DiscoveryProtocol_t* e,
642 tinyxml2::XMLElement* elem,
643 eprosima::fastdds::rtps::RemoteServerList_t& list,
647 tinyxml2::XMLElement* elem,
648 rtps::ParticipantFilteringFlags_t* e,
652 tinyxml2::XMLElement* elem,
653 eprosima::fastdds::rtps::RemoteServerAttributes& server,
657 tinyxml2::XMLElement* elem,
662 tinyxml2::XMLElement* elem,
663 std::vector<std::shared_ptr<fastdds::rtps::TransportDescriptorInterface>>& transports,
667 tinyxml2::XMLElement* elem,
672 tinyxml2::XMLElement* elem,
677 tinyxml2::XMLElement* elem,
678 rtps::GuidPrefix_t& prefix,
682 tinyxml2::XMLElement& elem,
683 fastdds::dds::DomainParticipantFactoryQos& qos);
686 tinyxml2::XMLElement* elem,
691 tinyxml2::XMLElement* elem,
696 tinyxml2::XMLElement& elem,
697 fastdds::rtps::ThreadSettings& thread_setting);
704 tinyxml2::XMLElement& elem,
705 fastdds::rtps::ThreadSettings& thread_setting,
709 tinyxml2::XMLElement& elem,
710 fastdds::dds::EntityFactoryQosPolicy& entity_factory);
713 tinyxml2::XMLElement* elem,
714 eprosima::fastdds::rtps::BuiltinTransports* bt,
715 eprosima::fastdds::rtps::BuiltinTransportsOptions* bt_opts,
720 static std::mutex collections_mtx_;
721 static std::set<std::string> flow_controller_descriptor_names_;
Class PublisherAttributes, used by the user to define the attributes of a Publisher.
Definition PublisherAttributes.h:41
Class SubscriberAttributes, used by the user to define the attributes of a Subscriber.
Definition SubscriberAttributes.h:39
Class TopicAttributes, used by the user to define the attributes of the topic associated with a Publi...
Definition TopicAttributes.h:36
Definition DynamicTypeBuilder.h:32
Class XMLParser, used to load XML data.
Definition XMLParser.h:102
static RTPS_DllAPI XMLP_ret getXMLSendBuffersAllocationAttributes(tinyxml2::XMLElement *elem, rtps::SendBuffersAllocationAttributes &allocation, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLSubscriberProf(tinyxml2::XMLElement *p_root, BaseNode &rootNode)
static RTPS_DllAPI XMLP_ret loadXML(const char *data, size_t length, up_base_node_t &root)
Load a XML data from buffer.
static RTPS_DllAPI XMLP_ret fillDataNode(tinyxml2::XMLElement *node, DataNode< TopicAttributes > &topic_node)
static RTPS_DllAPI XMLP_ret loadXML(tinyxml2::XMLDocument &xmlDoc, up_base_node_t &root)
Load a XML node.
static RTPS_DllAPI XMLP_ret getXMLPortParameters(tinyxml2::XMLElement *elem, rtps::PortParameters &port, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLWriterTimes(tinyxml2::XMLElement *elem, rtps::WriterTimes ×, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLCommonTCPTransportData(tinyxml2::XMLElement *p_root, sp_transport_t p_transport)
static RTPS_DllAPI XMLP_ret getXMLEnum(tinyxml2::XMLElement *elem, rtps::ParticipantFilteringFlags_t *e, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLBool(tinyxml2::XMLElement *elem, bool *b, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLPublisherProf(tinyxml2::XMLElement *p_root, BaseNode &rootNode)
static RTPS_DllAPI XMLP_ret getXMLPresentationQos(tinyxml2::XMLElement *elem, PresentationQosPolicy &presentation, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseLogConfig(tinyxml2::XMLElement *p_root)
Load a XML log node and parses it.
static RTPS_DllAPI XMLP_ret getXMLDomainParticipantFactoryQos(tinyxml2::XMLElement &elem, fastdds::dds::DomainParticipantFactoryQos &qos)
static RTPS_DllAPI XMLP_ret parseXMLTransportsProf(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret getXMLInitialAnnouncementsConfig(tinyxml2::XMLElement *elem, rtps::InitialAnnouncementConfig &config, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLDurabilityQos(tinyxml2::XMLElement *elem, DurabilityQosPolicy &durability, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLDiscoverySettings(tinyxml2::XMLElement *elem, rtps::DiscoverySettings &settings, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLLocatorList(tinyxml2::XMLElement *elem, rtps::LocatorList_t &locatorList, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLBitsetDynamicType(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret getXMLGroupDataQos(tinyxml2::XMLElement *elem, GroupDataQosPolicy &groupData, uint8_t ident)
static XMLP_ret getXMLExternalLocatorList(tinyxml2::XMLElement *elem, fastdds::rtps::ExternalLocators &external_locators, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLInt(tinyxml2::XMLElement *elem, int *i, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLDeadlineQos(tinyxml2::XMLElement *elem, DeadlineQosPolicy &deadline, uint8_t ident)
static RTPS_DllAPI p_dynamictypebuilder_t parseXMLMemberDynamicType(tinyxml2::XMLElement *p_root, p_dynamictypebuilder_t p_dynamictype, types::MemberId mId)
static RTPS_DllAPI XMLP_ret clear()
Clears the private static collections.
static RTPS_DllAPI XMLP_ret parseXMLProfiles(tinyxml2::XMLElement &profiles, up_base_node_t &root)
static RTPS_DllAPI XMLP_ret parseXMLUnionDynamicType(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret validateXMLTransportElements(tinyxml2::XMLElement &p_root)
static RTPS_DllAPI XMLP_ret getXMLUint(tinyxml2::XMLElement *elem, uint64_t *ui64, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLReceptionThreads(tinyxml2::XMLElement &p_root, fastdds::rtps::PortBasedTransportDescriptor::ReceptionThreadsConfigMap &reception_threads)
static RTPS_DllAPI XMLP_ret parseXMLReplierProf(tinyxml2::XMLElement *p_root, BaseNode &rootNode)
static RTPS_DllAPI XMLP_ret parseXMLParticipantProf(tinyxml2::XMLElement *p_root, BaseNode &rootNode)
static RTPS_DllAPI XMLP_ret getXMLOctetVector(tinyxml2::XMLElement *elem, std::vector< rtps::octet > &octet_vector, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLEnum(tinyxml2::XMLElement *elem, rtps::DiscoveryProtocol_t *e, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLRemoteLocatorsAllocationAttributes(tinyxml2::XMLElement *elem, rtps::RemoteLocatorsAllocationAttributes &allocation, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLContainerAllocationConfig(tinyxml2::XMLElement *elem, ResourceLimitedContainerConfig &resourceLimitsQos, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLPortBasedTransportData(tinyxml2::XMLElement *p_root, std::shared_ptr< fastdds::rtps::PortBasedTransportDescriptor > p_transport)
static RTPS_DllAPI XMLP_ret parseXMLBitvalueDynamicType(tinyxml2::XMLElement *p_root, p_dynamictypebuilder_t p_dynamictype, uint16_t &position)
static RTPS_DllAPI XMLP_ret getXMLLocatorTCPv6(tinyxml2::XMLElement *elem, rtps::Locator_t &locator, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLEnum(tinyxml2::XMLElement *elem, fastrtps::IntraprocessDeliveryType *e, uint8_t ident)
static RTPS_DllAPI XMLP_ret loadDefaultXMLFile(up_base_node_t &root)
Load the default XML file.
static RTPS_DllAPI XMLP_ret getXMLTopicDataQos(tinyxml2::XMLElement *elem, TopicDataQosPolicy &topicData, uint8_t ident)
static RTPS_DllAPI XMLP_ret loadXMLDynamicTypes(tinyxml2::XMLElement &types)
Load a XML node.
static RTPS_DllAPI XMLP_ret getXMLTransports(tinyxml2::XMLElement *elem, std::vector< std::shared_ptr< fastdds::rtps::TransportDescriptorInterface > > &transports, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLBlocklist(tinyxml2::XMLElement *p_root, std::shared_ptr< fastdds::rtps::SocketTransportDescriptor > p_transport)
static RTPS_DllAPI XMLP_ret getXMLPartitionQos(tinyxml2::XMLElement *elem, PartitionQosPolicy &partition, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLTypes(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret getXMLThreadSettingsWithPort(tinyxml2::XMLElement &elem, fastdds::rtps::ThreadSettings &thread_setting, uint32_t &port)
static RTPS_DllAPI XMLP_ret getXMLLocatorTCPv4(tinyxml2::XMLElement *elem, rtps::Locator_t &locator, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLLocatorUDPv4(tinyxml2::XMLElement *elem, rtps::Locator_t &locator, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLDuration(tinyxml2::XMLElement *elem, Duration_t &duration, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLThroughputController(tinyxml2::XMLElement *elem, rtps::ThroughputControllerDescriptor &throughputController, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLAllowlist(tinyxml2::XMLElement *p_root, std::shared_ptr< fastdds::rtps::SocketTransportDescriptor > p_transport)
static RTPS_DllAPI XMLP_ret getXMLLocatorUDPv6(tinyxml2::XMLElement *elem, rtps::Locator_t &locator, uint8_t ident)
static RTPS_DllAPI XMLP_ret fillDataNode(tinyxml2::XMLElement *p_profile, DataNode< PublisherAttributes > &publisher_node)
static RTPS_DllAPI XMLP_ret parse_tls_config(tinyxml2::XMLElement *p_root, sp_transport_t tcp_transport)
static RTPS_DllAPI XMLP_ret getXMLUserDataQos(tinyxml2::XMLElement *elem, UserDataQosPolicy &userData, uint8_t ident)
static RTPS_DllAPI void addAllAttributes(tinyxml2::XMLElement *p_profile, DataNode< T > &node)
static RTPS_DllAPI XMLP_ret fillDataNode(tinyxml2::XMLElement *node, DataNode< RequesterAttributes > &requester_node)
static RTPS_DllAPI XMLP_ret fillDataNode(tinyxml2::XMLElement *p_profile, DataNode< SubscriberAttributes > &subscriber_node)
static RTPS_DllAPI XMLP_ret parseXMLEnumDynamicType(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret getXMLDurabilityServiceQos(tinyxml2::XMLElement *elem, DurabilityServiceQosPolicy &durabilityService, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLSubscriberAttributes(tinyxml2::XMLElement *elem, SubscriberAttributes &subscriber, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLPublishModeQos(tinyxml2::XMLElement *elem, PublishModeQosPolicy &publishMode, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLStructDynamicType(tinyxml2::XMLElement *p_root)
static XMLP_ret loadXML(const std::string &filename, up_base_node_t &root, bool is_default)
Load a XML file.
static RTPS_DllAPI XMLP_ret getXMLTopicAttributes(tinyxml2::XMLElement *elem, TopicAttributes &topic, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLCommonTransportData(tinyxml2::XMLElement *p_root, sp_transport_t p_transport)
static RTPS_DllAPI XMLP_ret getXMLTypeLookupSettings(tinyxml2::XMLElement *elem, rtps::TypeLookupSettings &settings, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLDisablePositiveAcksQos(tinyxml2::XMLElement *elem, DisablePositiveACKsQosPolicy &disablePositiveAcks, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseProfiles(tinyxml2::XMLElement *p_root, BaseNode &profilesNode)
static RTPS_DllAPI XMLP_ret parseXMLTransportData(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret getXMLBuiltinAttributes(tinyxml2::XMLElement *elem, rtps::BuiltinAttributes &builtin, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLEntityFactoryQos(tinyxml2::XMLElement &elem, fastdds::dds::EntityFactoryQosPolicy &entity_factory)
static RTPS_DllAPI XMLP_ret getXMLLifespanQos(tinyxml2::XMLElement *elem, LifespanQosPolicy &lifespan, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLDomainParticipantFactoryProf(tinyxml2::XMLElement *p_root, BaseNode &rootNode)
static RTPS_DllAPI XMLP_ret getXMLBuiltinTransports(tinyxml2::XMLElement *elem, eprosima::fastdds::rtps::BuiltinTransports *bt, eprosima::fastdds::rtps::BuiltinTransportsOptions *bt_opts, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLUint(tinyxml2::XMLElement *elem, uint16_t *ui16, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXML(tinyxml2::XMLDocument &xmlDoc, up_base_node_t &root)
static RTPS_DllAPI XMLP_ret parseXMLDynamicType(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret getXMLLivelinessQos(tinyxml2::XMLElement *elem, LivelinessQosPolicy &liveliness, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLHistoryMemoryPolicy(tinyxml2::XMLElement *elem, rtps::MemoryManagementPolicy_t &historyMemoryPolicy, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLWriterQosPolicies(tinyxml2::XMLElement *elem, WriterQos &qos, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLPublisherAttributes(tinyxml2::XMLElement *elem, PublisherAttributes &publisher, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLPropertiesPolicy(tinyxml2::XMLElement *elem, rtps::PropertyPolicy &propertiesPolicy, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLHistoryQosPolicy(tinyxml2::XMLElement *elem, HistoryQosPolicy &historyQos, uint8_t ident)
static RTPS_DllAPI XMLP_ret fillDataNode(tinyxml2::XMLElement *node, DataNode< ReplierAttributes > &replier_node)
static RTPS_DllAPI XMLP_ret getXMLDestinationOrderQos(tinyxml2::XMLElement *elem, DestinationOrderQosPolicy &destinationOrder, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLAliasDynamicType(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret getXMLFlowControllerDescriptorList(tinyxml2::XMLElement *elem, FlowControllerDescriptorList &flow_controller_descriptor_list, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLDataSharingQos(tinyxml2::XMLElement *elem, DataSharingQosPolicy &data_sharing, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLString(tinyxml2::XMLElement *elem, std::string *s, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLOwnershipQos(tinyxml2::XMLElement *elem, OwnershipQosPolicy &ownership, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLRequesterProf(tinyxml2::XMLElement *p_root, BaseNode &rootNode)
static RTPS_DllAPI XMLP_ret getXMLTimeBasedFilterQos(tinyxml2::XMLElement *elem, TimeBasedFilterQosPolicy &timeBasedFilter, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLReaderQosPolicies(tinyxml2::XMLElement *elem, ReaderQos &qos, uint8_t ident)
static RTPS_DllAPI p_dynamictypebuilder_t parseXMLBitfieldDynamicType(tinyxml2::XMLElement *p_root, p_dynamictypebuilder_t p_dynamictype, types::MemberId mId, uint16_t &position)
static RTPS_DllAPI XMLP_ret getXMLReliabilityQos(tinyxml2::XMLElement *elem, ReliabilityQosPolicy &reliability, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLLatencyBudgetQos(tinyxml2::XMLElement *elem, LatencyBudgetQosPolicy &latencyBudget, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLList(tinyxml2::XMLElement *elem, eprosima::fastdds::rtps::RemoteServerList_t &list, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLResourceLimitsQos(tinyxml2::XMLElement *elem, ResourceLimitsQosPolicy &resourceLimitsQos, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLBitmaskDynamicType(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret parseXMLSocketTransportData(tinyxml2::XMLElement *p_root, std::shared_ptr< fastdds::rtps::SocketTransportDescriptor > p_transport)
static RTPS_DllAPI XMLP_ret parseXMLTopicData(tinyxml2::XMLElement *p_root, BaseNode &rootNode)
static RTPS_DllAPI XMLP_ret parseXMLInterfaces(tinyxml2::XMLElement *p_root, std::shared_ptr< fastdds::rtps::SocketTransportDescriptor > p_transport)
static RTPS_DllAPI XMLP_ret getXMLThreadSettings(tinyxml2::XMLElement &elem, fastdds::rtps::ThreadSettings &thread_setting)
static RTPS_DllAPI XMLP_ret parseDynamicTypes(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret getXMLReaderTimes(tinyxml2::XMLElement *elem, rtps::ReaderTimes ×, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLguidPrefix(tinyxml2::XMLElement *elem, rtps::GuidPrefix_t &prefix, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLConsumer(tinyxml2::XMLElement &consumer)
Load a XML consumer node and parses it.
static RTPS_DllAPI p_dynamictypebuilder_t parseXMLMemberDynamicType(tinyxml2::XMLElement *p_root, p_dynamictypebuilder_t p_dynamictype, types::MemberId mId, const std::string &values)
static RTPS_DllAPI XMLP_ret getXMLParticipantAllocationAttributes(tinyxml2::XMLElement *elem, rtps::RTPSParticipantAllocationAttributes &allocation, uint8_t ident)
static RTPS_DllAPI XMLP_ret parseXMLLibrarySettings(tinyxml2::XMLElement *p_root)
static RTPS_DllAPI XMLP_ret parseXMLDynamicTypes(tinyxml2::XMLElement &types)
static RTPS_DllAPI XMLP_ret fillDataNode(tinyxml2::XMLElement *p_profile, DataNode< ParticipantAttributes > &participant_node)
static RTPS_DllAPI XMLP_ret getXMLOwnershipStrengthQos(tinyxml2::XMLElement *elem, OwnershipStrengthQosPolicy &ownershipStrength, uint8_t ident)
static RTPS_DllAPI XMLP_ret getXMLUint(tinyxml2::XMLElement *elem, unsigned int *ui, uint8_t ident)
static RTPS_DllAPI XMLP_ret fillDataNode(tinyxml2::XMLElement *p_profile, DataNode< fastdds::dds::DomainParticipantFactoryQos > &factory_node)
static RTPS_DllAPI XMLP_ret loadXML(const std::string &filename, up_base_node_t &root)
Load a XML file.
static RTPS_DllAPI XMLP_ret parseXMLCommonSharedMemTransportData(tinyxml2::XMLElement *p_root, sp_transport_t p_transport)
static RTPS_DllAPI XMLP_ret loadXMLProfiles(tinyxml2::XMLElement &profiles, up_base_node_t &root)
Load a XML node.
std::vector< std::shared_ptr< fastdds::rtps::FlowControllerDescriptor > > FlowControllerDescriptorList
Definition XMLParser.h:106
static RTPS_DllAPI XMLP_ret getXMLRemoteServer(tinyxml2::XMLElement *elem, eprosima::fastdds::rtps::RemoteServerAttributes &server, uint8_t ident)
XMLP_ret
Enum class XMLP_ret, used to provide a strongly typed result from the operations within this module.
Definition XMLParserCommon.h:27
uint32_t MemberId
Definition TypesBase.h:285
std::unique_ptr< node_publisher_t > up_node_publisher_t
Definition XMLParser.h:75
std::unique_ptr< node_subscriber_t > up_node_subscriber_t
Definition XMLParser.h:80
std::map< std::string, std::string > node_att_map_t
Definition XMLParser.h:53
DataNode< ReplierAttributes > node_replier_t
Definition XMLParser.h:93
DataNode< SubscriberAttributes > node_subscriber_t
Definition XMLParser.h:78
std::unique_ptr< ReplierAttributes > up_replier_t
Definition XMLParser.h:92
std::unique_ptr< SubscriberAttributes > up_subscriber_t
Definition XMLParser.h:77
node_publisher_t * p_node_publisher_t
Definition XMLParser.h:74
DataNode< TopicAttributes > node_topic_t
Definition XMLParser.h:83
std::map< std::string, sp_transport_t > sp_transport_map_t
Definition XMLParser.h:58
node_subscriber_t * p_node_subscriber_t
Definition XMLParser.h:79
std::shared_ptr< fastdds::rtps::TransportDescriptorInterface > sp_transport_t
Definition XMLParser.h:57
types::DynamicTypeBuilder * p_dynamictypebuilder_t
Definition XMLParser.h:59
std::unique_ptr< node_participantfactory_t > up_node_participantfactory_t
Definition XMLParser.h:65
std::unique_ptr< node_topic_t > up_node_topic_t
Definition XMLParser.h:85
DataNode< PublisherAttributes > node_publisher_t
Definition XMLParser.h:73
node_replier_t * p_node_replier_t
Definition XMLParser.h:94
std::unique_ptr< ParticipantAttributes > up_participant_t
Definition XMLParser.h:67
node_att_map_t::const_iterator node_att_map_cit_t
Definition XMLParser.h:55
std::unique_ptr< TopicAttributes > up_topic_t
Definition XMLParser.h:82
DataNode< RequesterAttributes > node_requester_t
Definition XMLParser.h:88
DataNode< ParticipantAttributes > node_participant_t
Definition XMLParser.h:68
std::map< std::string, p_dynamictypebuilder_t > p_dynamictype_map_t
Definition XMLParser.h:60
std::unique_ptr< node_requester_t > up_node_requester_t
Definition XMLParser.h:90
node_att_map_t::iterator node_att_map_it_t
Definition XMLParser.h:54
std::unique_ptr< RequesterAttributes > up_requester_t
Definition XMLParser.h:87
std::unique_ptr< BaseNode > up_base_node_t
Definition XMLParser.h:51
std::unique_ptr< node_participant_t > up_node_participant_t
Definition XMLParser.h:70
node_participantfactory_t * p_node_participantfactory_t
Definition XMLParser.h:64
std::unique_ptr< fastdds::dds::DomainParticipantFactoryQos > up_participantfactory_t
Definition XMLParser.h:62
node_topic_t * p_node_topic_t
Definition XMLParser.h:84
std::vector< up_base_node_t > up_base_node_vector_t
Definition XMLParser.h:52
node_participant_t * p_node_participant_t
Definition XMLParser.h:69
node_requester_t * p_node_requester_t
Definition XMLParser.h:89
DataNode< fastdds::dds::DomainParticipantFactoryQos > node_participantfactory_t
Definition XMLParser.h:63
std::unique_ptr< PublisherAttributes > up_publisher_t
Definition XMLParser.h:72
std::unique_ptr< node_replier_t > up_node_replier_t
Definition XMLParser.h:95
fastdds::dds::DataSharingQosPolicy DataSharingQosPolicy
Definition QosPolicies.h:97
IntraprocessDeliveryType
Definition LibrarySettingsAttributes.h:27
fastdds::dds::PresentationQosPolicy PresentationQosPolicy
Definition QosPolicies.h:72
fastdds::dds::LatencyBudgetQosPolicy LatencyBudgetQosPolicy
Definition QosPolicies.h:42
fastdds::dds::UserDataQosPolicy UserDataQosPolicy
Definition QosPolicies.h:74
fastdds::dds::LifespanQosPolicy LifespanQosPolicy
Definition QosPolicies.h:83
fastdds::dds::ReaderQos ReaderQos
Definition ReaderQos.h:30
fastdds::dds::DisablePositiveACKsQosPolicy DisablePositiveACKsQosPolicy
Definition QosPolicies.h:96
fastdds::dds::DurabilityServiceQosPolicy DurabilityServiceQosPolicy
Definition QosPolicies.h:82
fastdds::dds::OwnershipQosPolicy OwnershipQosPolicy
Definition QosPolicies.h:57
fastdds::dds::PublishModeQosPolicy PublishModeQosPolicy
Definition QosPolicies.h:89
fastdds::dds::LivelinessQosPolicy LivelinessQosPolicy
Definition QosPolicies.h:49
fastdds::dds::OwnershipStrengthQosPolicy OwnershipStrengthQosPolicy
Definition QosPolicies.h:84
fastdds::dds::TopicDataQosPolicy TopicDataQosPolicy
Definition QosPolicies.h:75
fastdds::dds::GroupDataQosPolicy GroupDataQosPolicy
Definition QosPolicies.h:76
fastdds::dds::TimeBasedFilterQosPolicy TimeBasedFilterQosPolicy
Definition QosPolicies.h:64
fastdds::dds::DeadlineQosPolicy DeadlineQosPolicy
Definition QosPolicies.h:41
fastdds::dds::WriterQos WriterQos
Definition WriterQos.h:30
fastdds::dds::DestinationOrderQosPolicy DestinationOrderQosPolicy
Definition QosPolicies.h:63
fastdds::dds::PartitionQosPolicy PartitionQosPolicy
Definition QosPolicies.h:73
fastdds::dds::ResourceLimitsQosPolicy ResourceLimitsQosPolicy
Definition QosPolicies.h:81
fastdds::dds::DurabilityQosPolicy DurabilityQosPolicy
Definition QosPolicies.h:40
fastdds::dds::ReliabilityQosPolicy ReliabilityQosPolicy
Definition QosPolicies.h:53
fastdds::dds::HistoryQosPolicy HistoryQosPolicy
Definition QosPolicies.h:80
eProsima namespace.
Definition LibrarySettingsAttributes.h:23
Definition XMLEndpointParser.h:36
Specifies the configuration of a resource limited collection.
Definition ResourceLimitedContainerConfig.hpp:36