rosidl_runtime_c  master
Generate the rosidl interfaces in C.
action_type_support_struct.h
Go to the documentation of this file.
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 ROSIDL_RUNTIME_C__ACTION_TYPE_SUPPORT_STRUCT_H_
16 #define ROSIDL_RUNTIME_C__ACTION_TYPE_SUPPORT_STRUCT_H_
17 
21 #include "rosidl_typesupport_interface/macros.h"
22 
23 #ifdef __cplusplus
24 extern "C"
25 {
26 #endif
27 
29 
31 /*
32  * Actions are built based on services(goal, result and cancel) and message (feedback and status).
33  */
35 {
41 };
42 
44 /*
45  * \param PkgName name of the package that contains the action
46  * \param Name action name
47  * \return a rosidl_action_type_support_t struct if found, otherwise NULL.
48  */
49 #define ROSIDL_GET_ACTION_TYPE_SUPPORT(PkgName, Name) \
50  ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME( \
51  rosidl_typesupport_c, PkgName, action, Name)()
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif // ROSIDL_RUNTIME_C__ACTION_TYPE_SUPPORT_STRUCT_H_
rosidl_action_type_support_t
Contains rosidl action type support data.
Definition: action_type_support_struct.h:34
rosidl_service_type_support_t
Contains rosidl service type support data.
Definition: service_type_support_struct.h:33
rosidl_action_type_support_t::result_service_type_support
const rosidl_service_type_support_t * result_service_type_support
Definition: action_type_support_struct.h:37
rosidl_action_type_support_t::feedback_message_type_support
const rosidl_message_type_support_t * feedback_message_type_support
Definition: action_type_support_struct.h:39
rosidl_action_type_support_t::status_message_type_support
const rosidl_message_type_support_t * status_message_type_support
Definition: action_type_support_struct.h:40
rosidl_action_type_support_t::goal_service_type_support
const rosidl_service_type_support_t * goal_service_type_support
Definition: action_type_support_struct.h:36
visibility_control.h
rosidl_action_type_support_t::cancel_service_type_support
const rosidl_service_type_support_t * cancel_service_type_support
Definition: action_type_support_struct.h:38
service_type_support_struct.h
rosidl_message_type_support_t
Contains rosidl message type support data.
Definition: message_type_support_struct.h:32
message_type_support_struct.h