RTI Connext Modern C++ API Version 7.3.0

Contains the parameters for creating a QueueConsumer. More...

#include <rti/queuing/QueueParams.hpp>

Inheritance diagram for rti::queuing::QueueConsumerParams:
rti::queuing::QueueEntityParams< QueueConsumerParams >

Public Member Functions

 QueueConsumerParams (dds::domain::DomainParticipant participant)
 Creates a QueueConsumerParams object with the participant set. More...
 
QueueConsumerParamsenable_availability (bool enable)
 Indicates whether the availability channel is enabled for a QueueConsumer. More...
 
- Public Member Functions inherited from rti::queuing::QueueEntityParams< QueueConsumerParams >
QueueConsumerParamsqos_profile (const std::string &qos_library_name, const std::string &qos_profile_name)
 Specifies an XML QoS profile that will be used to configure the quality of service of the DDS entities created. This includes the DataReader and DataWriter used to send and receive samples from a SharedReaderQueue. Alternatively, you can set the DataReader and DataWriter QoS using datareader_qos() and datawriter_qos() methods. If you set the DataReader QoS or the DataWriter QoS the provided values will be used instead of the QoS specified in the XML qos profile. . More...
 
QueueConsumerParamsshared_subscriber_name (const std::string &name)
 Sets the SharedSubscriber name associated with the SharedReaderQueues. More...
 
QueueConsumerParamsentity_name (const std::string &name)
 Sets the name of the QueueEntity. More...
 

Detailed Description

Contains the parameters for creating a QueueConsumer.

Constructor & Destructor Documentation

◆ QueueConsumerParams()

rti::queuing::QueueConsumerParams::QueueConsumerParams ( dds::domain::DomainParticipant  participant)
inlineexplicit

Creates a QueueConsumerParams object with the participant set.

The rest of the parameters that can be set in a QueueConsumerParams object are optional.

Parameters
participantThe dds::domain::DomainParticipant a QueueConsumer uses to join a domain.

Member Function Documentation

◆ enable_availability()

QueueConsumerParams & rti::queuing::QueueConsumerParams::enable_availability ( bool  enable)
inline

Indicates whether the availability channel is enabled for a QueueConsumer.

When this parameter is set to true, the QueueConsumer creates a DataWriter to report its availability to the SharedReaderQueue from which the QueueConsumer receives samples.

The QueueConsumer can send availability samples to the SharedReaderQueue using the method QueueConsumer::send_availability(ConsumerAvailabilityParams)

See also
QueueConsumer::send_availability(ConsumerAvailabilityParams)

References rti::util::network_capture::enable().