rcl_action  master
C API providing common functionality for ROS actions.
All Classes Namespaces Files Functions Variables Pages
names.h
1 // Copyright 2018 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__NAMES_H_
16 #define RCL_ACTION__NAMES_H_
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 #include "rcl_action/visibility_control.h"
24 #include "rcl_action/types.h"
25 
26 #include "rcl/allocator.h"
27 #include "rcl/macros.h"
28 #include "rcl/types.h"
29 
30 
32 
60 RCL_ACTION_PUBLIC
61 RCL_WARN_UNUSED
63 rcl_action_get_goal_service_name(
64  const char * action_name,
65  rcl_allocator_t allocator,
66  char ** goal_service_name);
67 
69 
97 RCL_ACTION_PUBLIC
98 RCL_WARN_UNUSED
100 rcl_action_get_cancel_service_name(
101  const char * action_name,
102  rcl_allocator_t allocator,
103  char ** cancel_service_name);
104 
106 
134 RCL_ACTION_PUBLIC
135 RCL_WARN_UNUSED
136 rcl_ret_t
137 rcl_action_get_result_service_name(
138  const char * action_name,
139  rcl_allocator_t allocator,
140  char ** result_service_name);
141 
143 
171 RCL_ACTION_PUBLIC
172 RCL_WARN_UNUSED
173 rcl_ret_t
174 rcl_action_get_feedback_topic_name(
175  const char * action_name,
176  rcl_allocator_t allocator,
177  char ** feedback_topic_name);
178 
180 
208 RCL_ACTION_PUBLIC
209 RCL_WARN_UNUSED
210 rcl_ret_t
211 rcl_action_get_status_topic_name(
212  const char * action_name,
213  rcl_allocator_t allocator,
214  char ** status_topic_name);
215 
216 #ifdef __cplusplus
217 }
218 #endif
219 
220 #endif // RCL_ACTION__NAMES_H_
rcl_ret_t
rmw_ret_t rcl_ret_t
allocator.h
rcutils_allocator_t
types.h