rmw  master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
localhost.h
Go to the documentation of this file.
1 // Copyright 2019 Open Source Robotics Foundation, Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef RMW__LOCALHOST_H_
16 #define RMW__LOCALHOST_H_
17 
18 #include "rmw/visibility_control.h"
19 
20 #ifdef __cplusplus
21 extern "C"
22 {
23 #endif
24 
27 {
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 #endif // RMW__LOCALHOST_H_
RMW_PUBLIC_TYPE
RMW_PUBLIC_TYPE
Type mapping of rcutils log severity types to rmw specific types.
Definition: types.h:499
RMW_LOCALHOST_ONLY_DEFAULT
RMW_LOCALHOST_ONLY_DEFAULT
Uses ROS_LOCALHOST_ONLY environment variable.
Definition: localhost.h:29
RMW_LOCALHOST_ONLY_ENABLED
RMW_LOCALHOST_ONLY_ENABLED
Forces using only localhost.
Definition: localhost.h:31
rmw_localhost_only_t
enum RMW_PUBLIC_TYPE rmw_localhost_only_t rmw_localhost_only_t
Used to specify if the context can only communicate through localhost.
Definition: localhost.h:26
RMW_LOCALHOST_ONLY_DISABLED
RMW_LOCALHOST_ONLY_DISABLED
Forces disabling localhost only.
Definition: localhost.h:33
visibility_control.h