RTI Connext Modern C++ API Version 7.2.0
rti::core::policy::DiscoveryConfigBuiltinPluginKindMask Class Reference

<<extension>> A mask that selects the built-in discovery plugins to be used More...

#include <PolicyKind.hpp>

Inherits std::bitset< 5 >.

Public Types

typedef std::bitset< 5 > MaskType
 The base type, std::bitset. More...
 

Public Member Functions

 DiscoveryConfigBuiltinPluginKindMask ()
 Creates an empty mask. More...
 
 DiscoveryConfigBuiltinPluginKindMask (uint64_t mask)
 Creates a mask from the bits in an integer. More...
 
 DiscoveryConfigBuiltinPluginKindMask (const MaskType &mask)
 Creates a mask from a std::bitset. More...
 

Static Public Member Functions

static const DiscoveryConfigBuiltinPluginKindMask none ()
 No bits are set. More...
 
static const DiscoveryConfigBuiltinPluginKindMask SPDP ()
 Simple Participant Discovery Protocol. More...
 
static const DiscoveryConfigBuiltinPluginKindMask SEDP ()
 Simple Endpoint Discovery Protocol. More...
 
static const DiscoveryConfigBuiltinPluginKindMask SPDP2 ()
 Simple Participant Discovery Protocol 2.0. More...
 
static const DiscoveryConfigBuiltinPluginKindMask DPSE ()
 Dynamic Participant discovery, Static Endpoint discovery. More...
 
static const DiscoveryConfigBuiltinPluginKindMask SDP ()
 Simple discovery plugin (default). More...
 
static const DiscoveryConfigBuiltinPluginKindMask SDP2 ()
 Simple discovery plugin 2.0. More...
 

Detailed Description

<<extension>> A mask that selects the built-in discovery plugins to be used

Member Typedef Documentation

◆ MaskType

The base type, std::bitset.

Constructor & Destructor Documentation

◆ DiscoveryConfigBuiltinPluginKindMask() [1/3]

rti::core::policy::DiscoveryConfigBuiltinPluginKindMask::DiscoveryConfigBuiltinPluginKindMask ( )
inline

Creates an empty mask.

Referenced by DPSE(), none(), SDP(), SDP2(), SEDP(), SPDP(), and SPDP2().

◆ DiscoveryConfigBuiltinPluginKindMask() [2/3]

rti::core::policy::DiscoveryConfigBuiltinPluginKindMask::DiscoveryConfigBuiltinPluginKindMask ( uint64_t  mask)
inlineexplicit

Creates a mask from the bits in an integer.

◆ DiscoveryConfigBuiltinPluginKindMask() [3/3]

rti::core::policy::DiscoveryConfigBuiltinPluginKindMask::DiscoveryConfigBuiltinPluginKindMask ( const MaskType mask)
inline

Creates a mask from a std::bitset.

Member Function Documentation

◆ none()

static const DiscoveryConfigBuiltinPluginKindMask rti::core::policy::DiscoveryConfigBuiltinPluginKindMask::none ( )
inlinestatic

No bits are set.

References DiscoveryConfigBuiltinPluginKindMask().

◆ SPDP()

static const DiscoveryConfigBuiltinPluginKindMask rti::core::policy::DiscoveryConfigBuiltinPluginKindMask::SPDP ( )
inlinestatic

Simple Participant Discovery Protocol.

Enables the first phase of the Simple Discovery Protocol (SDP), in which DomainParticipant's details are communicated to all other DomainParticipants in the same DDS domain by sending participant declaration messages, also known as participant DATA submessages or participant announcements.

References DiscoveryConfigBuiltinPluginKindMask().

◆ SEDP()

static const DiscoveryConfigBuiltinPluginKindMask rti::core::policy::DiscoveryConfigBuiltinPluginKindMask::SEDP ( )
inlinestatic

Simple Endpoint Discovery Protocol.

Enables the second phase of the Simple Discovery Protocol (SDP), in which the information (GUID, QoS, etc.) about your application's DataReaders and DataWriters is exchanged by sending publication/subscription declarations in DATA messages, also known as publication DATAs and subscription DATAs.

References DiscoveryConfigBuiltinPluginKindMask().

◆ SPDP2()

static const DiscoveryConfigBuiltinPluginKindMask rti::core::policy::DiscoveryConfigBuiltinPluginKindMask::SPDP2 ( )
inlinestatic

Simple Participant Discovery Protocol 2.0.

Enables the Simple Participant Discovery Protocol 2.0, in which a DomainParticipant's details are communicated to all other DomainParticipants in the same DDS domain by sending participant bootstrap messages. These bootstrap messages contain only a subset of the information in the Simple Participant Discovery Protocol (SPDP) participant announcements that is required to match two participants and bootstrap the system. The DomainParticpant's full configuration is then sent reliably with participant configuration announcements. Two DomainParticipants that use SPDP2 will maintain liveliness using liveliness participant messages.

References DiscoveryConfigBuiltinPluginKindMask().

◆ DPSE()

static const DiscoveryConfigBuiltinPluginKindMask rti::core::policy::DiscoveryConfigBuiltinPluginKindMask::DPSE ( )
inlinestatic

Dynamic Participant discovery, Static Endpoint discovery.

Enables static endpoint discovery for a DomainParticipant. In this type of discovery, information from remote endpoints is extracted from a local DDS-XML file instead of being received over the network, reducing the number of exchanged packets and consequently reducing bandwidth consumption used for discovery. Using this value in DiscoveryConfigBuiltinPluginKindMask requires the 'librtilbedisc' library (included in the RTI Connext Professional bundles) to be reachable (PATH, LD_LIBRARY_PATH or DYLD_LIBRARY_PATH).

References DiscoveryConfigBuiltinPluginKindMask().

◆ SDP()

static const DiscoveryConfigBuiltinPluginKindMask rti::core::policy::DiscoveryConfigBuiltinPluginKindMask::SDP ( )
inlinestatic

Simple discovery plugin (default).

It is equivalent to SPDP + SEDP.

References DiscoveryConfigBuiltinPluginKindMask().

◆ SDP2()

static const DiscoveryConfigBuiltinPluginKindMask rti::core::policy::DiscoveryConfigBuiltinPluginKindMask::SDP2 ( )
inlinestatic

Simple discovery plugin 2.0.

It is equivalent to SPDP2 + SEDP.

References DiscoveryConfigBuiltinPluginKindMask().