@@ -69,7 +69,7 @@ class Participant
6969 * in the *YAML* configuration file.
7070 *
7171 * @param[in] config The configuration provided by the user.
72- * It must contain two keys in the *YAML* map:
72+ * In case of fastdds type it can contain two keys in the *YAML* map:
7373 *
7474 * - `file_path`: Specifies the path to the XML profile that will be used to configure the
7575 * *DomainParticipant*. More information on how to write these XML profiles can be found
@@ -80,6 +80,19 @@ class Participant
8080 * that corresponds to the configuration profile that we want this Participant
8181 * to be configured with.
8282 *
83+ * In case of databroker type it can contain three keys in the *YAML* map:
84+ *
85+ * - `server_id`: Specifies the Discovery Server id in order to generate a GUID to it.
86+ *
87+ * - `listening_addresses`: Specifies a list of TCP listening addresses.
88+ * - `ip`: Public IP where the Server will be listening.
89+ * - `port`: Port where the Server will be listening.
90+ *
91+ * - `connection_addresses`: Specifies a list of TCP connection addresses.
92+ * - `ip`: Public IP to the Server to connect with.
93+ * - `port`: Port to the Server to connect with.
94+ * - `server_id`: Id of the remote server to connect.
95+ *
8396 * @throws DDSMiddlewareException If the XML profile was incorrect and, thus, the
8497 * *DomainParticipant* could not be created.
8598 */
@@ -94,7 +107,7 @@ class Participant
94107 /* *
95108 * @brief Construct a *Fast DDS DomainParticipant*, given its DDS domain ID.
96109 *
97- * @param[in] domain_id The DDS domain ID for this participant .
110+ * @param[in] config The configuration provided by the user .
98111 *
99112 * @throws DDSMiddlewareException If the *DomainParticipant* could not be created.
100113 */
@@ -199,16 +212,41 @@ class Participant
199212
200213protected:
201214
202- // ! Get Participant QoS using config file
215+ /* *
216+ * @brief Get Participant QoS using config file.
217+ *
218+ * Set all default values to QoS and then use specific FastSH tags to configure the participant:
219+ * Tags: file_path, profile_name
220+ *
221+ * @param[in] config The configuration provided by the user.
222+ *
223+ * @return Specific QoS by user configuration.
224+ */
203225 eprosima::fastdds::dds::DomainParticipantQos get_participant_qos (
204226 const YAML::Node& config);
205227
206- // ! Get Integration Service Participant default Qos
228+ /* *
229+ * @brief Get Integration Service Participant default Qos
230+ *
231+ * @return Defult SystemHandler Participant QoS
232+ */
207233 eprosima::fastdds::dds::DomainParticipantQos get_default_participant_qos ();
208234
209- // ! Get Databroker DomainParticipantQos with TCP enable in WAN
210- // ! It uses \c get_participant_qos to reuse std participant tags
211- // ! tags: server_id, listening_addresses, connection_addresses
235+ /* *
236+ * @brief Get Databroker DomainParticipantQos with TCP enable in WAN
237+ *
238+ * It uses \c get_participant_qos to reuse std participant tags and the uses specific databroker tags:
239+ * Databroker tags:
240+ * server_id : id of the Discovery Server [0:256)
241+ * listening_addresses : Listening addresses (public) for Discovery Server to listen in TCP
242+ * fields : ip, port
243+ * connection_addresses : Connection addresses for Discovery Server to connect with other servers
244+ * fields : ip, port, server_id
245+ *
246+ * @param config The configuration provided by the user.
247+ *
248+ * @return Specific QoS by user configuration.
249+ */
212250 eprosima::fastdds::dds::DomainParticipantQos get_databroker_qos (
213251 const YAML::Node& config);
214252
0 commit comments