RTI Connext Micro C API Version 4.2.0
Loading...
Searching...
No Matches
DDS_SystemResourceLimitsQosPolicy Struct Reference

<<cert>> Resource limits that apply only to DDS_DomainParticipantFactory More...

#include <dds_c_infrastructure.h>

Data Fields

DDS_Long max_participants
 The maximum number of DomainParticipants (DDS_DomainParticipant) the DDS_DomainParticipantFactory can manange.
 
DDS_Long max_components
 The maximum number of components that may be registered on the DDS_DomainParticipantFactory. Note that changing this value can cause a DDS_DomainParticipantFactory to free and reallocate memory.
 

Detailed Description

<<cert>> Resource limits that apply only to DDS_DomainParticipantFactory

This QoS policy is an extension to the DDS standard.

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

Field Documentation

◆ max_participants

DDS_Long DDS_SystemResourceLimitsQosPolicy::max_participants

The maximum number of DomainParticipants (DDS_DomainParticipant) the DDS_DomainParticipantFactory can manange.

The DDS_DomainParticipantFactory can manage up to the number of DomainParticipants specified by this limit. However, the actual number of DomainParticipants that can be created with DDS_DomainParticipantFactory_create_participant is further limited by the following constraints:

  • Available memory and system resources such as network sockets and shared memory resources.
  • DDS uses The DDS_WireProtocolQosPolicy::rtps_well_known_ports to discovery other participant. The number of DomainParticipants that can be created is limited by port aliasing where ports calculated for different DDS domain IDs may overlap. RTI Connext DDS Micro does not determine if port aliasing may occur and the application must ensure that port aliasing does not occur.

Note that this value can only be modified until the first DDS_DomainParticipant is created and may cause memory reallocation.

[default] 1

[range] [1, INT_MAX]

◆ max_components

DDS_Long DDS_SystemResourceLimitsQosPolicy::max_components

The maximum number of components that may be registered on the DDS_DomainParticipantFactory. Note that changing this value can cause a DDS_DomainParticipantFactory to free and reallocate memory.

[default] 16