Function rcl_node_type_cache_fini

Function Documentation

rcl_ret_t rcl_node_type_cache_fini(rcl_node_t *node)

Finalize the node’s type cache.

This function clears the hash map of the node’s type cache and deallocates used memory.

Attribute

Adherence

Allocates Memory

No

Thread-Safe

No

Uses Atomics

No

Lock-Free

Yes

Parameters:

node[in] the handle to the node whose type cache should be finalized

Returns:

RCL_RET_OK if the node’s type cache was successfully finalized, or

Returns:

RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or

Returns:

RCL_RET_NODE_INVALID if the given node is invalid, or

Returns:

RCL_RET_ERROR if an unspecified error occurs.