Function rcl_convert_type_source_sequence_msg_to_runtime

Function Documentation

rosidl_runtime_c__type_description__TypeSource__Sequence *rcl_convert_type_source_sequence_msg_to_runtime(const type_description_interfaces__msg__TypeSource__Sequence *type_sources_msg)

Convert type sources sequece msg struct to a rosidl runtime struct.

This function converts a rosidl_runtime_c__type_description__TypeSource__Sequence struct to the corresponding type_description_interfaces__msg__TypeSource__Sequence struct. The retrieved pointer shall be destroyed with type_description_interfaces__msg__TypeSource__Sequence__destroy() after use.

Attribute

Adherence

Allocates Memory

Yes

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

Parameters:

type_sources_msg[in] the pointer to the type sources sequence struct

Returns:

a valid pointer to the msg struct, or

Returns:

NULL if an unspecified error occurs.