15 #ifndef RCL__SUBSCRIPTION_H_
16 #define RCL__SUBSCRIPTION_H_
23 #include "rosidl_runtime_c/message_type_support_struct.h"
25 #include "rcl/macros.h"
27 #include "rcl/visibility_control.h"
32 struct rcl_subscription_impl_t;
38 struct rcl_subscription_impl_t *
impl;
61 rcl_get_zero_initialized_subscription(
void);
155 rcl_subscription_init(
158 const rosidl_message_type_support_t * type_support,
159 const char * topic_name,
205 rcl_subscription_get_default_options(
void);
364 rcl_take_serialized_message(
402 rcl_take_loaned_message(
404 void ** loaned_message,
434 rcl_return_loaned_message_from_subscription(
436 void * loaned_message);
568 rcl_subscription_get_publisher_count(
570 size_t * publisher_count);
611 #endif // RCL__SUBSCRIPTION_H_