ROS 2 rclcpp + rcl - jazzy
jazzy
ROS 2 C++ Client Library with ROS Client Library
|
Go to the source code of this file.
Functions | |
RCL_PUBLIC rcl_ret_t | rcl_get_localhost_only (rmw_localhost_only_t *localhost_only) |
Determine if the user wants to communicate using loopback only. More... | |
Variables | |
const char *const | RCL_LOCALHOST_ENV_VAR |
RCL_PUBLIC rcl_ret_t rcl_get_localhost_only | ( | rmw_localhost_only_t * | localhost_only | ) |
Determine if the user wants to communicate using loopback only.
Checks if localhost should be used for network communication based on environment.
[out] | localhost_only | Must not be NULL. |
Definition at line 28 of file localhost.c.
References RCL_RET_ERROR, and RCL_RET_INVALID_ARGUMENT.
Referenced by rcl_init().