Go to the source code of this file.
◆ rcl_node_get_default_options()
Return the default node options in a rcl_node_options_t.
The default values are:
- Returns
- A structure with the default node options.
◆ rcl_node_options_copy()
Copy one options structure into another.
Attribute | Adherence |
Allocates Memory | Yes |
Thread-Safe | No |
Uses Atomics | No |
Lock-Free | Yes |
- Parameters
-
[in] | options | The structure to be copied. Its allocator is used to copy memory into the new structure. |
[out] | options_out | An options structure containing default values. |
- Returns
- RCL_RET_OK if the structure was copied successfully, or
-
RCL_RET_INVALID_ARGUMENT if any function arguments are invalid, or
-
RCL_RET_BAD_ALLOC if allocating memory failed, or
-
RCL_RET_ERROR if an unspecified error occurs.
◆ rcl_node_options_fini()
Finalize the given node_options.
The given node_options must be non-NULL
and valid, i.e. had rcl_node_get_default_options() called on it but not this function yet.
Attribute | Adherence |
Allocates Memory | Yes |
Thread-Safe | No |
Uses Atomics | Yes |
Lock-Free | Yes |
- Parameters
-
[in,out] | options | object to be finalized |
- Returns
- RCL_RET_OK if setup is successful, or
-
RCL_RET_INVALID_ARGUMENT if any arguments are invalid, or
-
RCL_RET_ERROR if an unspecified error occurs.