Skip to content

Commit

Permalink
Fix create_participant API documentation (#84)
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Garrido <pablogs9@gmail.com>
  • Loading branch information
pablogs9 committed Mar 3, 2023
1 parent 05396c7 commit c0b5314
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/client_api.rst
Expand Up @@ -539,7 +539,7 @@ The declaration of these functions can be found in ``uxr/client/profile/session/
.. code-block:: c
uint16_t uxr_buffer_create_participant_xml(uxrSession* session, uxrStreamId stream_id, uxrObjectId object_id,
uint16_t domain, const char* xml, uint8_t mode);
uint16_t domain_id, const char* xml, uint8_t mode);
Creates a *participant* entity in the *Agent*.
The message is written into the stream buffer.
Expand All @@ -550,6 +550,7 @@ To send the message, it is necessary to call either the ``uxr_flash_output_strea
:object_id: The identifier of the new entity.
Later, the entity can be referenced with this id.
The type must be ``UXR_PARTICIPANT_ID``.
:domain_id: The DDS domain identifier.
:xml: An XML representation of the new entity.
:mode: Determines the creation entity mode.
The Creation Policy Table describes the entities' creation behaviour according to the ``UXR_REUSE`` and ``UXR_REPLACE`` flags
Expand Down Expand Up @@ -730,7 +731,7 @@ The declaration of these functions can be found in ``uxr/client/profile/session/
.. code-block:: c
uint16_t uxr_buffer_create_participant_ref(uxrSession* session, uxrStreamId stream_id, uxrObjectId object_id,
const char* ref, uint8_t mode);
int16_t domain_id, const char* ref, uint8_t mode);
Creates a *participant* entity in the *Agent*.
The message is written into the stream buffer.
Expand All @@ -741,6 +742,7 @@ To send the message, it is necessary to call either the ``uxr_flash_output_strea
:object_id: The identifier of the new entity.
Later, the entity can be referenced with this id.
The type must be ``UXR_PARTICIPANT_ID``
:domain_id: DDS Domain ID for the participant.
:ref: A reference to the new entity.
:mode: Determines the creation entity mode.
The Creation Policy Table describes the entities' creation behaviour according to the ``UXR_REUSE`` and ``UXR_REPLACE`` flags
Expand Down

0 comments on commit c0b5314

Please sign in to comment.