@@ -450,10 +450,21 @@ rmw_publish_loaned_message(
450
450
* Query the underlying middleware to determine how many subscriptions are
451
451
* matched to a given publisher.
452
452
*
453
+ * <hr>
454
+ * Attribute | Adherence
455
+ * ------------------ | -------------
456
+ * Allocates Memory | No
457
+ * Thread-Safe | No
458
+ * Uses Atomics | Maybe [1]
459
+ * Lock-Free | Maybe [1]
460
+ * <i>[1] rmw implementation defined, check the implementation documentation</i>
461
+ *
453
462
* \param[in] publisher the publisher object to inspect
454
463
* \param[out] subscription_count the number of subscriptions matched
455
464
* \return `RMW_RET_OK` if successful, or
456
465
* \return `RMW_RET_INVALID_ARGUMENT` if either argument is null, or
466
+ * \return `RMW_RET_INCORRECT_RMW_IMPLEMENTATION` if publisher
467
+ * implementation identifier does not match, or
457
468
* \return `RMW_RET_ERROR` if an unexpected error occurs.
458
469
*/
459
470
RMW_PUBLIC
@@ -767,10 +778,21 @@ rmw_destroy_subscription(rmw_node_t * node, rmw_subscription_t * subscription);
767
778
* Query the underlying middleware to determine how many publishers are
768
779
* matched to a given subscription.
769
780
*
781
+ * <hr>
782
+ * Attribute | Adherence
783
+ * ------------------ | -------------
784
+ * Allocates Memory | No
785
+ * Thread-Safe | No
786
+ * Uses Atomics | Maybe [1]
787
+ * Lock-Free | Maybe [1]
788
+ * <i>[1] rmw implementation defined, check the implementation documentation</i>
789
+ *
770
790
* \param[in] subscription the subscription object to inspect
771
791
* \param[out] publisher_count the number of publishers matched
772
792
* \return `RMW_RET_OK` if successful, or
773
793
* \return `RMW_RET_INVALID_ARGUMENT` if either argument is null, or
794
+ * \return `RMW_RET_INCORRECT_RMW_IMPLEMENTATION` if subscription
795
+ * implementation identifier does not match, or
774
796
* \return `RMW_RET_ERROR` if an unexpected error occurs.
775
797
*/
776
798
RMW_PUBLIC
0 commit comments