RTI Connext Modern C++ API  Version 5.3.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rti::core::policy::TransportSelection Class Reference

<<extension>> Specifies the transports that a dds::pub::DataWriter or a dds::sub::DataReader may use to send or receive data More...

#include <rti/core/policy/CorePolicy.hpp>

Public Member Functions

 TransportSelection ()
 Creates the default policy.
 
 TransportSelection (const dds::core::StringSeq &the_enabled_transports)
 Creates an instance with the sepcified transport aliases.
 
TransportSelectionenabled_transports (const dds::core::StringSeq &the_enabled_transports)
 A sequence of transport aliases that specifies the transport instances available for use by the entity.
 
dds::core::StringSeq enabled_transports () const
 Getter (see setter with the same name)
 

Detailed Description

<<extension>> Specifies the transports that a dds::pub::DataWriter or a dds::sub::DataReader may use to send or receive data

An application may be simultaneously connected to many different physical transports, e.g., Ethernet, Infiniband, shared memory, VME backplane, and wireless. By default, RTI Connext will use up to 16 transports to deliver data from a DataWriter to a DataReader.

This QoS policy can be used to both limit and control which of the application's available transports may be used by a dds::pub::DataWriter to send data or by a dds::sub::DataReader to receive data.

Entity:
dds::sub::DataReader, dds::pub::DataWriter
Properties:
RxO = N/A
Changeable = NO

Constructor & Destructor Documentation

rti::core::policy::TransportSelection::TransportSelection ( )
inline

Creates the default policy.

rti::core::policy::TransportSelection::TransportSelection ( const dds::core::StringSeq the_enabled_transports)
inlineexplicit

Creates an instance with the sepcified transport aliases.

Member Function Documentation

TransportSelection& rti::core::policy::TransportSelection::enabled_transports ( const dds::core::StringSeq the_enabled_transports)

A sequence of transport aliases that specifies the transport instances available for use by the entity.

Of the transport instances installed with the dds::domain::DomainParticipant, only those with aliases matching an alias in this sequence are available to the entity.

Thus, this list of aliases sub-selects from the transports available to the dds::domain::DomainParticipant.

An empty sequence is a special value that specifies all the transports installed with the dds::domain::DomainParticipant.

Alias names for the builtin transports are defined in TRANSPORT_BUILTIN.

[default] Empty sequence; i.e. all the transports installed with and available to the dds::domain::DomainParticipant.

[range] A sequence of non-empty strings.

See Also
dds::domain::qos::DomainParticipantQos::transport_builtin.
dds::core::StringSeq rti::core::policy::TransportSelection::enabled_transports ( ) const

Getter (see setter with the same name)


RTI Connext Modern C++ API Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc