RTI Connext DDS Micro C++ API  Version 4.0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
DDS_DataWriterResourceLimitsQosPolicy Struct Reference

<<cert>> Resource limits that apply only to DDSDataWriter instances. More...

#include <dds_c_infrastructure.h>

List of all members.

Public Attributes

DDS_Long max_remote_readers
 The maximum number of remote readers for which the writer will maintain state and communication.
DDS_Long max_routes_per_reader
 The maximum number of routes the writer will send to per matched reader.
DDS_Long writer_loaned_sample_allocation
 Represents the amount of loanable samples managed by a DDSDataWriter.
DDS_Boolean initialize_writer_loaned_sample
 Whether or not to initialize loaned samples returned by a DDSDataWriter.

Detailed Description

<<cert>> Resource limits that apply only to DDSDataWriter instances.

This QoS policy is an extension to the DDS standard.

Entity:
DDSDataWriter
Properties:
RxO = N/A
Changeable = NO

Member Data Documentation

DDS_Long DDS_DataWriterResourceLimitsQosPolicy::max_remote_readers

The maximum number of remote readers for which the writer will maintain state and communication.

[default] 16

[range] [1, 100000000]

DDS_Long DDS_DataWriterResourceLimitsQosPolicy::max_routes_per_reader

The maximum number of routes the writer will send to per matched reader.

[default] 2

[range] [1, 2147483647]

DDS_Long DDS_DataWriterResourceLimitsQosPolicy::writer_loaned_sample_allocation

Represents the amount of loanable samples managed by a DDSDataWriter.

The number of samples loaned by a DDSDataWriter via FooDataWriter::get_loan is limited by DDS_DataWriterResourceLimitsQosPolicy::writer_loaned_sample_allocation. FooDataWriter::get_loan returns NULL if and only if DDS_ResourceLimitsQosPolicy::max_samples samples have been loaned, and none of those samples has been written with FooDataWriter::write or discarded via FooDataWriter::discard_loan.

[default] (DDS_ResourceLimitsQosPolicy::max_samples + 1);

[range] [1, 1000000]

See also:
FooDataWriter::get_loan
FooDataWriter::discard_loan
DDS_Boolean DDS_DataWriterResourceLimitsQosPolicy::initialize_writer_loaned_sample

Whether or not to initialize loaned samples returned by a DDSDataWriter.

[default] DDS_BOOLEAN_FALSE

See also:
FooDataWriter::get_loan

RTI Connext DDS Micro C++ API Version 4.0.1 Copyright © Mon Jun 3 2024 Real-Time Innovations, Inc