Function rcl_convert_type_source_sequence_runtime_to_msg
Defined in File type_description_conversions.h
Function Documentation
-
type_description_interfaces__msg__TypeSource__Sequence *rcl_convert_type_source_sequence_runtime_to_msg(const rosidl_runtime_c__type_description__TypeSource__Sequence *runtime_type_sources)
Convert type sources sequence runtime struct to msg 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:
runtime_type_sources – [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.