10.2. DomainParticipantFactory profiles

The DomainParticipantFactory profiles allow the definition of the configuration of DomainParticipantFactory through XML files. These profiles are defined within the <domainparticipant_factory> XML tags.

10.2.1. DomainParticipantFactory XML attributes

The <domainparticipant_factory> element has two attributes defined: profile_name and is_default_profile.

Name

Description

Use

profile_name

Sets the name under which the <domainparticipant_factory> profile is registered in the
DDS Domain, so that it can be loaded later by the DomainParticipantFactory, as shown in
Loading and applying profiles.

Mandatory

is_default_profile

Sets the <domainparticipant_factory> profile as the default profile. Thus, if a default
profile exists, it will be used when creating the DomainParticipantFactory

Optional

10.2.2. DomainParticipantFactory configuration

The <domainparticipant_factory> element has the following children elements:

Name

Description

Values

<qos>

DomainParticipantFactory QoS.

QoS element type

10.2.2.1. QoS element type

Name

Description

Values

<entity_factory>

Entity factory QoS Policy.

Entity Factory

<shm_watchdog_thread>

ThreadSettings for the SHM watchdog thread.
See Concurrency and multithreading.

ThreadSettings

<file_watch_threads>

ThreadSettings for the File watch threads. See Concurrency and multithreading.

ThreadSettings

Example

<?xml version="1.0" encoding="UTF-8" ?>
<dds>
    <profiles xmlns="http://www.eprosima.com">
        <domainparticipant_factory profile_name="domainparticipant_factory_profile_name">
            <qos>
                <entity_factory>
                    <autoenable_created_entities>true</autoenable_created_entities>
                </entity_factory>
                <shm_watchdog_thread>
                    <scheduling_policy>-1</scheduling_policy>
                    <priority>0</priority>
                    <affinity>0</affinity>
                    <stack_size>-1</stack_size>
                </shm_watchdog_thread>
                <file_watch_threads>
                    <scheduling_policy>-1</scheduling_policy>
                    <priority>0</priority>
                    <affinity>0</affinity>
                    <stack_size>-1</stack_size>
                </file_watch_threads>
            </qos>
        </domainparticipant_factory>
    </profiles>
<dds>