rmw
master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
|
Go to the documentation of this file.
15 #ifndef RMW__TOPIC_ENDPOINT_INFO_ARRAY_H_
16 #define RMW__TOPIC_ENDPOINT_INFO_ARRAY_H_
115 #endif // RMW__TOPIC_ENDPOINT_INFO_ARRAY_H_
#define RMW_PUBLIC
Definition: visibility_control.h:48
rmw_topic_endpoint_info_array_t rmw_get_zero_initialized_topic_endpoint_info_array(void)
Return a rmw_topic_endpoint_info_array_t struct with members initialized to NULL.
size_t size
Size of the array.
Definition: topic_endpoint_info_array.h:31
RMW_PUBLIC_TYPE
Type mapping of rcutils log severity types to rmw specific types.
Definition: types.h:499
struct RMW_PUBLIC_TYPE rmw_topic_endpoint_info_array_t rmw_topic_endpoint_info_array_t
Array of rmw_topic_endpoint_info_t.
#define RMW_WARN_UNUSED
Indicate that a variable is not used, and prevent compiler from issuing warnings.
Definition: macros.h:24
rmw_ret_t rmw_topic_endpoint_info_array_init_with_size(rmw_topic_endpoint_info_array_t *topic_endpoint_info_array, size_t size, rcutils_allocator_t *allocator)
Initialize the info_array member inside rmw_topic_endpoint_info_array_t with the given size.
int32_t rmw_ret_t
Return code for rmw functions.
Definition: ret_types.h:26
Definition: topic_endpoint_info.h:29
Array of rmw_topic_endpoint_info_t.
Definition: topic_endpoint_info_array.h:28
rmw_ret_t rmw_topic_endpoint_info_array_check_zero(rmw_topic_endpoint_info_array_t *topic_endpoint_info_array)
Check that a rmw_topic_endpoint_info_array_t struct is zero initialized.
rmw_ret_t rmw_topic_endpoint_info_array_fini(rmw_topic_endpoint_info_array_t *topic_endpoint_info_array, rcutils_allocator_t *allocator)
Finalize a rmw_topic_endpoint_info_array_t object.
rmw_topic_endpoint_info_t * info_array
Pointer representing an array of rmw_topic_endpoint_info_t.
Definition: topic_endpoint_info_array.h:33