Class DiscoverySettings, to define the attributes of the several discovery protocols available. More...
#include <RTPSParticipantAttributes.hpp>
Public Member Functions | |
| DiscoverySettings ()=default | |
| bool | operator== (const DiscoverySettings &b) const |
| void | static_edp_xml_config (const char *str) |
| Set the static endpoint XML configuration. | |
| const char * | static_edp_xml_config () const |
| Get the static endpoint XML configuration. | |
Public Attributes | |
| DiscoveryProtocol | discoveryProtocol = DiscoveryProtocol::SIMPLE |
| Chosen discovery protocol. | |
| bool | use_SIMPLE_EndpointDiscoveryProtocol = true |
| If set to true, SimpleEDP would be used. | |
| bool | use_STATIC_EndpointDiscoveryProtocol = false |
| If set to true, StaticEDP based on an XML file would be implemented. | |
| dds::Duration_t | leaseDuration = { 20, 0 } |
| Lease Duration of the RTPSParticipant, indicating how much time remote RTPSParticipants should consider this RTPSParticipant alive. | |
| dds::Duration_t | leaseDuration_announcementperiod = { 3, 0 } |
| The period for the RTPSParticipant to send its Discovery Message to all other discovered RTPSParticipants as well as to all Multicast ports. | |
| InitialAnnouncementConfig | initial_announcements |
| Initial announcements configuration. | |
| SimpleEDPAttributes | m_simpleEDP |
| Attributes of the SimpleEDP protocol. | |
| PDPFactory | m_PDPfactory {} |
| function that returns a PDP object (only if EXTERNAL selected) | |
| dds::Duration_t | discoveryServer_client_syncperiod = { 0, 450 * 1000000} |
| The period for the RTPSParticipant to: send its Discovery Message to its servers check for EDP endpoints matching. | |
| eprosima::fastdds::rtps::LocatorList | m_DiscoveryServers |
| Discovery Server initial connections, needed if discoveryProtocol = CLIENT | SUPER_CLIENT | SERVER | BACKUP. | |
| ParticipantFilteringFlags | ignoreParticipantFlags = ParticipantFilteringFlags::NO_FILTER |
| Filtering participants out depending on location. | |
Class DiscoverySettings, to define the attributes of the several discovery protocols available.
|
default |
|
inline |
|
inline |
Get the static endpoint XML configuration.
|
inline |
Set the static endpoint XML configuration.
| str | URI specifying the static endpoint XML configuration. The string could contain a filename (file://) or the XML content directly (data://). |
| DiscoveryProtocol discoveryProtocol = DiscoveryProtocol::SIMPLE |
Chosen discovery protocol.
| dds::Duration_t discoveryServer_client_syncperiod = { 0, 450 * 1000000} |
The period for the RTPSParticipant to: send its Discovery Message to its servers check for EDP endpoints matching.
| ParticipantFilteringFlags ignoreParticipantFlags = ParticipantFilteringFlags::NO_FILTER |
Filtering participants out depending on location.
| InitialAnnouncementConfig initial_announcements |
Initial announcements configuration.
| dds::Duration_t leaseDuration = { 20, 0 } |
Lease Duration of the RTPSParticipant, indicating how much time remote RTPSParticipants should consider this RTPSParticipant alive.
| dds::Duration_t leaseDuration_announcementperiod = { 3, 0 } |
The period for the RTPSParticipant to send its Discovery Message to all other discovered RTPSParticipants as well as to all Multicast ports.
| eprosima::fastdds::rtps::LocatorList m_DiscoveryServers |
Discovery Server initial connections, needed if discoveryProtocol = CLIENT | SUPER_CLIENT | SERVER | BACKUP.
| PDPFactory m_PDPfactory {} |
function that returns a PDP object (only if EXTERNAL selected)
| SimpleEDPAttributes m_simpleEDP |
Attributes of the SimpleEDP protocol.
| bool use_SIMPLE_EndpointDiscoveryProtocol = true |
If set to true, SimpleEDP would be used.
| bool use_STATIC_EndpointDiscoveryProtocol = false |
If set to true, StaticEDP based on an XML file would be implemented.
The XML filename must be provided.