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

Resource limits that apply only to DDSDomainParticipantFactory More...

#include <dds_c_infrastructure.h>

Public Attributes

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

Detailed Description

Resource limits that apply only to DDSDomainParticipantFactory

This QoS policy is an extension to the DDS standard.

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

Member Data Documentation

◆ max_participants

DDS_Long DDS_SystemResourceLimitsQosPolicy::max_participants

The maximum number of DomainParticipants (DDSDomainParticipant) the DDSDomainParticipantFactory can manange.

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

  • Available memory and system resources such as network sockets and shared memory resources.
  • The maximum number of ::max_user_blocking_threads. Each receive-thread requires one blocking resource.
  • 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 DDSDomainParticipant 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 DDSDomainParticipantFactory. Note that changing this value can cause a DDSDomainParticipantFactory to free and reallocate memory.

[default] 16