rcl_action  master
C API providing common functionality for ROS actions.
All Classes Namespaces Files Functions Variables Pages
graph.h
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 RCL_ACTION__GRAPH_H_
16 #define RCL_ACTION__GRAPH_H_
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 #include "rcl/graph.h"
24 #include "rcl/node.h"
25 
26 #include "rcl_action/visibility_control.h"
27 
29 
61 RCL_ACTION_PUBLIC
62 RCL_WARN_UNUSED
64 rcl_action_get_client_names_and_types_by_node(
65  const rcl_node_t * node,
66  rcl_allocator_t * allocator,
67  const char * node_name,
68  const char * node_namespace,
69  rcl_names_and_types_t * action_names_and_types);
70 
72 
107 RCL_ACTION_PUBLIC
108 RCL_WARN_UNUSED
109 rcl_ret_t
110 rcl_action_get_server_names_and_types_by_node(
111  const rcl_node_t * node,
112  rcl_allocator_t * allocator,
113  const char * node_name,
114  const char * node_namespace,
115  rcl_names_and_types_t * action_names_and_types);
116 
118 
150 RCL_ACTION_PUBLIC
151 RCL_WARN_UNUSED
152 rcl_ret_t
153 rcl_action_get_names_and_types(
154  const rcl_node_t * node,
155  rcl_allocator_t * allocator,
156  rcl_names_and_types_t * action_names_and_types);
157 
158 #ifdef __cplusplus
159 }
160 #endif
161 
162 #endif // RCL_ACTION__GRAPH_H_
rcl_node_t
graph.h
rcl_ret_t
rmw_ret_t rcl_ret_t
rmw_names_and_types_t
rcutils_allocator_t
node.h