OpenSplice C# API  v6.x
OpenSplice C# Data Distribution Service Data-Centric Publish-Subscribe API
DDS.ParticipantBuiltinTopicData Class Reference

Class that contains information about available DomainParticipants within the system. More...

Collaboration diagram for DDS.ParticipantBuiltinTopicData:
Collaboration graph

Public Attributes

BuiltinTopicKey Key
 Globally unique identifier of the participant More...
 
UserDataQosPolicy UserData
 User-defined data attached to the participant via a QosPolicy More...
 

Detailed Description

Class that contains information about available DomainParticipants within the system.

The DCPSParticipant topic communicates the existence of DomainParticipants by means of the ParticipantBuiltinTopicData datatype. Each ParticipantBuiltinTopicData sample in a Domain represents a DomainParticipant that participates in that Domain: a new ParticipantBuiltinTopicData instance is created when a newly-added DomainParticipant is enabled, and it is disposed when that DomainParticipant is deleted. An updated ParticipantBuiltinTopicData sample is written each time the DomainParticipant modifies its UserDataQosPolicy.

/* Defaults are used and possible errors are ignored. */
/* Get builtin subscriber. */
DDS.IDomainParticipant participant = factory.CreateParticipant(DDS.DomainId.Default);
DDS.ISubscriber builtinSubscriber = participant.BuiltInSubscriber;
/* Get DCPSParticipant builtin reader. */
ParticipantBuiltinTopicDataDataReader builtinReader =
(ParticipantBuiltinTopicDataDataReader)builtinSubscriber.LookupDataReader("DCPSParticipant");
/* The builtinReader can now be used just as a normal typed DataReader (like Space.FooDataReader)
* to get DDS.ParticipantBuiltinTopicData samples. */
See also
Built-in Topics
ParticipantBuiltinTopicData

Definition at line 2515 of file DdsDcpsStructs.cs.

Member Data Documentation

◆ Key

BuiltinTopicKey DDS.ParticipantBuiltinTopicData.Key

Globally unique identifier of the participant

Definition at line 2520 of file DdsDcpsStructs.cs.

◆ UserData

UserDataQosPolicy DDS.ParticipantBuiltinTopicData.UserData

User-defined data attached to the participant via a QosPolicy

Definition at line 2525 of file DdsDcpsStructs.cs.


The documentation for this class was generated from the following file: