DomainParticipantFactory constructs DomainParticipants.
The DomainParticipantFactory is used to configure, create and destroy DomainParticipant instances.
- Author
- Twin Oaks Computing, Inc
◆ create_participant()
◆ delete_participant()
Destroys the provided DomainParticipant.
This routine will fail if all Entities (Publishers, Subscribers, etc) created through the specified DomainParticipant have not yet been deleted. (In this case, RETCODE_PRECONDITION_NOT_MET will be returned.)
◆ get_default_participant_qos()
Provides access to the default Participant qos held in the factory.
The provided qos argument is populated with the default qos settings.
◆ get_instance()
◆ get_qos()
◆ lookup_participant()
Returns a previously created DomainParticipant belonging to the specified domain_id.
If there are multiple DomainParticipants in existence within the specified domain, one of them will be returned.
◆ set_default_participant_qos()
◆ set_license()
Configures the license file or license string to enable CoreDX DDS.
CoreDX DDS normally requires a license to run. This license can be sepecified several ways:
-
By environment variable (for example: TLM_LICENSE)
-
By calling DomainParticipantFactory.set_license_file() with the full path and name of a license file
-
By calling DomainParticipantFactory.set_license_file() with the license string enclosed in "<" ">"
◆ set_license_debug()
Enables debug output from the CoreDX DDS run-time license system.
This routine will configure CoreDX DDS to generate debug information in processing the license at run-time. The 'deubg' parameter may be either: 'nonzero' to enable debug output or 'zero' to disable debug ouput.
◆ set_qos()
Sets the DomainParticipantFactory QoS values.
These QoS values affect the behavior of the factory.
This routine may fail if the provided qos argument is not internally consistent. In this case, DDS.INCONSISTENT_POLICY will be returned, and no changes will be made to the DomainParticipantFactory.
◆ Instance
A C# style property with accessor. use it like this: DomainParticipantFactory.Instance.create_participant()