Function rcl_convert_type_description_runtime_to_msg
Defined in File type_description_conversions.h
Function Documentation
-
type_description_interfaces__msg__TypeDescription *rcl_convert_type_description_runtime_to_msg(const rosidl_runtime_c__type_description__TypeDescription *runtime_description)
Convert type description runtime struct to msg struct.
This function converts a rosidl_runtime_c__type_description__TypeDescription to the corresponding type_description_interfaces/msg/TypeDescription struct. The retrieved pointer shall be destroyed with
type_description_interfaces__msg__TypeDescription__destroy()
after use.Attribute
Adherence
Allocates Memory
Yes
Thread-Safe
No
Uses Atomics
No
Lock-Free
Yes
- Parameters:
runtime_description – [in] the pointer to the runtime type description struct
- Returns:
a valid type_description_interfaces/msg/TypeDescription pointer, or
- Returns:
NULL if an unspecified error occurs.