Function rmw_message_sequence_init

Function Documentation

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.

Parameters:
  • sequence[inout] sequence object to be initialized.

  • size[in] capacity of the sequence to be allocated.

  • allocator[in] the allcator used to allocate memory.