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__MESSAGE_SEQUENCE_H_
16 #define RMW__MESSAGE_SEQUENCE_H_
123 #endif // RMW__MESSAGE_SEQUENCE_H_
#define RMW_PUBLIC
Definition: visibility_control.h:48
struct RMW_PUBLIC_TYPE rmw_message_info_sequence_t rmw_message_info_sequence_t
Structure to hold a sequence of message infos.
Information describing an rmw message.
Definition: types.h:519
void ** data
Array of pointers to ROS messages.
Definition: message_sequence.h:33
RMW_PUBLIC_TYPE
Type mapping of rcutils log severity types to rmw specific types.
Definition: types.h:540
rmw_message_sequence_t rmw_get_zero_initialized_message_sequence(void)
Return an rmw_message_sequence_t struct with members initialized to NULL
rmw_ret_t rmw_message_sequence_fini(rmw_message_sequence_t *sequence)
Finalize an rmw_message_sequence_t object.
rmw_ret_t rmw_message_info_sequence_init(rmw_message_info_sequence_t *sequence, size_t size, rcutils_allocator_t *allocator)
Initialize an rmw_message_info_sequence_t object.
Structure to hold a sequence of message infos.
Definition: message_sequence.h:43
size_t size
The number of valid entries in data.
Definition: message_sequence.h:35
rmw_message_info_t * data
Array of message info.
Definition: message_sequence.h:46
rmw_ret_t rmw_message_sequence_init(rmw_message_sequence_t *sequence, size_t size, rcutils_allocator_t *allocator)
Initialize an rmw_message_sequence_t object.
size_t size
The number of valid entries in data.
Definition: message_sequence.h:48
struct RMW_PUBLIC_TYPE rmw_message_sequence_t rmw_message_sequence_t
Structure to hold a sequence of ROS messages.
rcutils_allocator_t * allocator
The allocator used to allocate the data array.
Definition: message_sequence.h:39
int32_t rmw_ret_t
Return code for rmw functions.
Definition: ret_types.h:26
Structure to hold a sequence of ROS messages.
Definition: message_sequence.h:30
rmw_ret_t rmw_message_info_sequence_fini(rmw_message_info_sequence_t *sequence)
Finalize an rmw_message_sequence_t object.
size_t capacity
The total allocated capacity of the data array.
Definition: message_sequence.h:50
rcutils_allocator_t * allocator
The allocator used to allocate the data array.
Definition: message_sequence.h:52
size_t capacity
The total allocated capacity of the data array.
Definition: message_sequence.h:37
rmw_message_info_sequence_t rmw_get_zero_initialized_message_info_sequence(void)
Return an rmw_message_info_sequence_t struct with members initialized to NULL