RTI Connext DDS Micro C API  Version 3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
DDS_DataWriterResourceLimitsQosPolicy Struct Reference

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

#include <dds_c_infrastructure.h>

Data Fields

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 DDS_DataWriter.
DDS_Boolean initialize_writer_loaned_sample
 Whether or not to initialize loaned samples returned by a DDS_DataWriter.

Detailed Description

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

This QoS policy is an extension to the DDS standard.

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

Field 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 DDS_DataWriter.

The number of samples loaned by a DDS_DataWriter 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 DDS_DataWriter.

[default] DDS_BOOLEAN_FALSE

See also:
FooDataWriter_get_loan

RTI Connext DDS Micro C API Version 3.0.0 Copyright © Fri Mar 22 2019 Real-Time Innovations, Inc