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_
155 #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 zero initialized array of topic endpoint information.
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:540
struct RMW_PUBLIC_TYPE rmw_topic_endpoint_info_array_t rmw_topic_endpoint_info_array_t
Array of topic endpoint information.
#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 an array of topic endpoint information.
int32_t rmw_ret_t
Return code for rmw functions.
Definition: ret_types.h:26
Definition: topic_endpoint_info.h:30
Array of topic endpoint information.
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 the given topic_endpoint_info_array 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 an array of topic endpoint information.
rmw_topic_endpoint_info_t * info_array
Contiguous storage for topic endpoint information elements.
Definition: topic_endpoint_info_array.h:33