uORB: Provide used group count

This commit is contained in:
Lorenz Meier
2015-08-30 00:12:45 +02:00
parent c5489b0598
commit fbe5ef6087
2 changed files with 22 additions and 0 deletions
+8
View File
@@ -328,6 +328,14 @@ extern int orb_stat(int handle, uint64_t *time) __EXPORT;
*/
extern int orb_exists(const struct orb_metadata *meta, int instance) __EXPORT;
/**
* Get the number of published instances of a topic group
*
* @param meta ORB topic metadata.
* @return The number of published instances of this topic
*/
extern int orb_group_count(const struct orb_metadata *meta) __EXPORT;
/**
* Return the priority of the topic
*