|
ROS 2 rclcpp + rcl - jazzy
jazzy
ROS 2 C++ Client Library with ROS Client Library
|
#include <stddef.h>#include "rcl/types.h"#include "rcl/visibility_control.h"#include "rmw/domain_id.h"

Go to the source code of this file.
Macros | |
| #define | RCL_DEFAULT_DOMAIN_ID RMW_DEFAULT_DOMAIN_ID |
| The default domain ID used by RCL. | |
Functions | |
| RCL_PUBLIC rcl_ret_t | rcl_get_default_domain_id (size_t *domain_id) |
| Determine the default domain ID, based on the environment. More... | |
Variables | |
| const char *const | RCL_DOMAIN_ID_ENV_VAR |
| RCL_PUBLIC rcl_ret_t rcl_get_default_domain_id | ( | size_t * | domain_id | ) |
Determine the default domain ID, based on the environment.
| [out] | domain_id | Must not be NULL. |
Definition at line 28 of file domain_id.c.
References RCL_RET_ERROR, and RCL_RET_INVALID_ARGUMENT.
Referenced by rcl_init(), and rclcpp::InitOptions::use_default_domain_id().
