Skip to content

Commit b524b0b

Browse files
Apply suggestions from code review
Co-authored-by: Ricardo González <[email protected]>
1 parent d3a1743 commit b524b0b

File tree

5 files changed

+117
-117
lines changed

5 files changed

+117
-117
lines changed

include/fastdds/dds/domain/DomainParticipant.hpp

+54-54
Original file line numberDiff line numberDiff line change
@@ -548,37 +548,37 @@ class DomainParticipant : public Entity
548548
PublisherQos& qos) const;
549549

550550
/**
551-
* Fills the PublisherQos with the first publisher profile found in the provided XML.
551+
* Fills the @ref PublisherQos with the first publisher profile found in the provided XML.
552552
*
553553
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
554-
* @param qos PublisherQos object where the qos is returned.
555-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
554+
* @param qos @ref PublisherQos object where the qos is returned.
555+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
556556
*/
557557
FASTDDS_EXPORTED_API ReturnCode_t get_publisher_qos_from_xml(
558558
const std::string& xml,
559559
PublisherQos& qos) const;
560560

561561
/**
562-
* Fills the PublisherQos with the publisher profile with \c profile_name to be found in the provided XML.
562+
* Fills the @ref PublisherQos with the publisher profile with \c profile_name to be found in the provided XML.
563563
*
564564
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
565-
* @param qos PublisherQos object where the qos is returned.
565+
* @param qos @ref PublisherQos object where the qos is returned.
566566
* @param profile_name Publisher profile name.
567-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
567+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
568568
*/
569569
FASTDDS_EXPORTED_API ReturnCode_t get_publisher_qos_from_xml(
570570
const std::string& xml,
571571
PublisherQos& qos,
572572
const std::string& profile_name) const;
573573

574574
/**
575-
* Fills the PublisherQos with the default publisher profile found in the provided XML (if there is).
575+
* Fills the @ref PublisherQos with the default publisher profile found in the provided XML (if there is).
576576
*
577577
* @note This method does not update the default publisher qos (returned by \c get_default_publisher_qos).
578578
*
579579
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
580-
* @param qos PublisherQos object where the qos is returned.
581-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
580+
* @param qos @ref PublisherQos object where the qos is returned.
581+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
582582
*/
583583
FASTDDS_EXPORTED_API ReturnCode_t get_default_publisher_qos_from_xml(
584584
const std::string& xml,
@@ -639,37 +639,37 @@ class DomainParticipant : public Entity
639639
SubscriberQos& qos) const;
640640

641641
/**
642-
* Fills the SubscriberQos with the first subscriber profile found in the provided XML.
642+
* Fills the @ref SubscriberQos with the first subscriber profile found in the provided XML.
643643
*
644644
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
645-
* @param qos SubscriberQos object where the qos is returned.
646-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
645+
* @param qos @ref SubscriberQos object where the qos is returned.
646+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
647647
*/
648648
FASTDDS_EXPORTED_API ReturnCode_t get_subscriber_qos_from_xml(
649649
const std::string& xml,
650650
SubscriberQos& qos) const;
651651

652652
/**
653-
* Fills the SubscriberQos with the subscriber profile with \c profile_name to be found in the provided XML.
653+
* Fills the @ref SubscriberQos with the subscriber profile with \c profile_name to be found in the provided XML.
654654
*
655655
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
656-
* @param qos SubscriberQos object where the qos is returned.
656+
* @param qos @ref SubscriberQos object where the qos is returned.
657657
* @param profile_name Subscriber profile name.
658-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
658+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
659659
*/
660660
FASTDDS_EXPORTED_API ReturnCode_t get_subscriber_qos_from_xml(
661661
const std::string& xml,
662662
SubscriberQos& qos,
663663
const std::string& profile_name) const;
664664

665665
/**
666-
* Fills the SubscriberQos with the default subscriber profile found in the provided XML (if there is).
666+
* Fills the @ref SubscriberQos with the default subscriber profile found in the provided XML (if there is).
667667
*
668668
* @note This method does not update the default subscriber qos (returned by \c get_default_subscriber_qos).
669669
*
670670
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
671-
* @param qos SubscriberQos object where the qos is returned.
672-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
671+
* @param qos @ref SubscriberQos object where the qos is returned.
672+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
673673
*/
674674
FASTDDS_EXPORTED_API ReturnCode_t get_default_subscriber_qos_from_xml(
675675
const std::string& xml,
@@ -730,13 +730,13 @@ class DomainParticipant : public Entity
730730
TopicQos& qos) const;
731731

732732
/**
733-
* Fills the TopicQos with the values of the XML profile, and also its corresponding topic and data type names (if specified).
733+
* Fills the @ref TopicQos with the values of the XML profile, and also its corresponding topic and data type names (if specified).
734734
*
735735
* @param profile_name Topic profile name.
736-
* @param qos TopicQos object where the qos is returned.
736+
* @param qos @ref TopicQos object where the qos is returned.
737737
* @param topic_name String where the name of the topic associated to this profile is returned (if specified).
738738
* @param topic_data_type String where the name of the topic data type associated to this profile is returned (if specified).
739-
* @return RETCODE_OK if the profile exists. RETCODE_BAD_PARAMETER otherwise.
739+
* @return @ref RETCODE_OK if the profile exists. @ref RETCODE_BAD_PARAMETER otherwise.
740740
*/
741741
FASTDDS_EXPORTED_API ReturnCode_t get_topic_qos_from_profile(
742742
const std::string& profile_name,
@@ -745,24 +745,24 @@ class DomainParticipant : public Entity
745745
std::string& topic_data_type) const;
746746

747747
/**
748-
* Fills the TopicQos with the first topic profile found in the provided XML.
748+
* Fills the @ref TopicQos with the first topic profile found in the provided XML.
749749
*
750750
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
751-
* @param qos TopicQos object where the qos is returned.
752-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
751+
* @param qos @ref TopicQos object where the qos is returned.
752+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
753753
*/
754754
FASTDDS_EXPORTED_API ReturnCode_t get_topic_qos_from_xml(
755755
const std::string& xml,
756756
TopicQos& qos) const;
757757

758758
/**
759-
* Fills the TopicQos with the first topic profile found in the provided XML, and also its corresponding topic and data type names (if specified).
759+
* Fills the @ref TopicQos with the first topic profile found in the provided XML, and also its corresponding topic and data type names (if specified).
760760
*
761761
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
762-
* @param qos TopicQos object where the qos is returned.
762+
* @param qos @ref TopicQos object where the qos is returned.
763763
* @param topic_name String where the name of the topic associated to this profile is returned (if specified).
764764
* @param topic_data_type String where the name of the topic data type associated to this profile is returned (if specified).
765-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
765+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
766766
*/
767767
FASTDDS_EXPORTED_API ReturnCode_t get_topic_qos_from_xml(
768768
const std::string& xml,
@@ -771,27 +771,27 @@ class DomainParticipant : public Entity
771771
std::string& topic_data_type) const;
772772

773773
/**
774-
* Fills the TopicQos with the topic profile with \c profile_name to be found in the provided XML.
774+
* Fills the @ref TopicQos with the topic profile with \c profile_name to be found in the provided XML.
775775
*
776776
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
777-
* @param qos TopicQos object where the qos is returned.
777+
* @param qos @ref TopicQos object where the qos is returned.
778778
* @param profile_name Topic profile name.
779-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
779+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
780780
*/
781781
FASTDDS_EXPORTED_API ReturnCode_t get_topic_qos_from_xml(
782782
const std::string& xml,
783783
TopicQos& qos,
784784
const std::string& profile_name) const;
785785

786786
/**
787-
* Fills the TopicQos with the topic profile with \c profile_name to be found in the provided XML, and also its corresponding topic and data type names (if specified).
787+
* Fills the @ref TopicQos with the topic profile with \c profile_name to be found in the provided XML, and also its corresponding topic and data type names (if specified).
788788
*
789789
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
790-
* @param qos TopicQos object where the qos is returned.
790+
* @param qos @ref TopicQos object where the qos is returned.
791791
* @param topic_name String where the name of the topic associated to this profile is returned (if specified).
792792
* @param topic_data_type String where the name of the topic data type associated to this profile is returned (if specified).
793793
* @param profile_name Topic profile name.
794-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
794+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
795795
*/
796796
FASTDDS_EXPORTED_API ReturnCode_t get_topic_qos_from_xml(
797797
const std::string& xml,
@@ -814,15 +814,15 @@ class DomainParticipant : public Entity
814814
TopicQos& qos) const;
815815

816816
/**
817-
* Fills the TopicQos with the default topic profile found in the provided XML (if there is), and also its corresponding topic and data type names (if specified).
817+
* Fills the @ref TopicQos with the default topic profile found in the provided XML (if there is), and also its corresponding topic and data type names (if specified).
818818
*
819819
* @note This method does not update the default topic qos (returned by \c get_default_topic_qos).
820820
*
821821
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
822-
* @param qos TopicQos object where the qos is returned.
822+
* @param qos @ref TopicQos object where the qos is returned.
823823
* @param topic_name String where the name of the topic associated to this profile is returned (if specified).
824824
* @param topic_data_type String where the name of the topic data type associated to this profile is returned (if specified).
825-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
825+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
826826
*/
827827
FASTDDS_EXPORTED_API ReturnCode_t get_default_topic_qos_from_xml(
828828
const std::string& xml,
@@ -842,37 +842,37 @@ class DomainParticipant : public Entity
842842
ReplierQos& qos) const;
843843

844844
/**
845-
* Fills the ReplierQos with the first replier profile found in the provided XML.
845+
* Fills the @ref ReplierQos with the first replier profile found in the provided XML.
846846
*
847847
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
848-
* @param qos ReplierQos object where the qos is returned.
849-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
848+
* @param qos @ref ReplierQos object where the qos is returned.
849+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
850850
*/
851851
FASTDDS_EXPORTED_API ReturnCode_t get_replier_qos_from_xml(
852852
const std::string& xml,
853853
ReplierQos& qos) const;
854854

855855
/**
856-
* Fills the ReplierQos with the replier profile with \c profile_name to be found in the provided XML.
856+
* Fills the @ref ReplierQos with the replier profile with \c profile_name to be found in the provided XML.
857857
*
858858
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
859-
* @param qos ReplierQos object where the qos is returned.
859+
* @param qos @ref ReplierQos object where the qos is returned.
860860
* @param profile_name Replier profile name.
861-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
861+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
862862
*/
863863
FASTDDS_EXPORTED_API ReturnCode_t get_replier_qos_from_xml(
864864
const std::string& xml,
865865
ReplierQos& qos,
866866
const std::string& profile_name) const;
867867

868868
/**
869-
* Fills the ReplierQos with the default replier profile found in the provided XML (if there is).
869+
* Fills the @ref ReplierQos with the default replier profile found in the provided XML (if there is).
870870
*
871871
* @note This method does not update the default replier qos.
872872
*
873873
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
874-
* @param qos ReplierQos object where the qos is returned.
875-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
874+
* @param qos @ref ReplierQos object where the qos is returned.
875+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
876876
*/
877877
FASTDDS_EXPORTED_API ReturnCode_t get_default_replier_qos_from_xml(
878878
const std::string& xml,
@@ -890,37 +890,37 @@ class DomainParticipant : public Entity
890890
RequesterQos& qos) const;
891891

892892
/**
893-
* Fills the RequesterQos with the first requester profile found in the provided XML.
893+
* Fills the @ref RequesterQos with the first requester profile found in the provided XML.
894894
*
895895
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
896-
* @param qos RequesterQos object where the qos is returned.
897-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
896+
* @param qos @ref RequesterQos object where the qos is returned.
897+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
898898
*/
899899
FASTDDS_EXPORTED_API ReturnCode_t get_requester_qos_from_xml(
900900
const std::string& xml,
901901
RequesterQos& qos) const;
902902

903903
/**
904-
* Fills the RequesterQos with the requester profile with \c profile_name to be found in the provided XML.
904+
* Fills the @ref RequesterQos with the requester profile with \c profile_name to be found in the provided XML.
905905
*
906906
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
907-
* @param qos RequesterQos object where the qos is returned.
907+
* @param qos @ref RequesterQos object where the qos is returned.
908908
* @param profile_name Requester profile name.
909-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
909+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
910910
*/
911911
FASTDDS_EXPORTED_API ReturnCode_t get_requester_qos_from_xml(
912912
const std::string& xml,
913913
RequesterQos& qos,
914914
const std::string& profile_name) const;
915915

916916
/**
917-
* Fills the RequesterQos with the default requester profile found in the provided XML (if there is).
917+
* Fills the @ref RequesterQos with the default requester profile found in the provided XML (if there is).
918918
*
919919
* @note This method does not update the default requester qos.
920920
*
921921
* @param xml Raw XML string containing the profile to be used to fill the \c qos structure.
922-
* @param qos RequesterQos object where the qos is returned.
923-
* @return RETCODE_OK on success. RETCODE_BAD_PARAMETER otherwise.
922+
* @param qos @ref RequesterQos object where the qos is returned.
923+
* @return @ref RETCODE_OK on success. @ref RETCODE_BAD_PARAMETER otherwise.
924924
*/
925925
FASTDDS_EXPORTED_API ReturnCode_t get_default_requester_qos_from_xml(
926926
const std::string& xml,

0 commit comments

Comments
 (0)