RTI Connext Modern C++ API
Version 5.3.0
|
<<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. | |
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. | |
dds::core::StringSeq | enabled_transports () const |
Getter (see setter with the same name) | |
<<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.
|
inline |
Creates the default policy.
|
inlineexplicit |
Creates an instance with the sepcified transport aliases.
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.
dds::core::StringSeq rti::core::policy::TransportSelection::enabled_transports | ( | ) | const |
Getter (see setter with the same name)