rosidl_typesupport_interface
master
The C/C++ interface for rosidl typesupport packages.
include
rosidl_typesupport_interface
macros.h
Go to the documentation of this file.
1
// Copyright 2016 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_TYPESUPPORT_INTERFACE__MACROS_H_
16
#define ROSIDL_TYPESUPPORT_INTERFACE__MACROS_H_
17
19
#define ROSIDL_TYPESUPPORT_INTERFACE__SYMBOL_NAME( \
20
typesupport_name, function_name, package_name, interface_type, interface_name) \
21
typesupport_name ## __ ## function_name ## __ ## \
22
package_name ## __ ## interface_type ## __ ## interface_name
23
25
#define ROSIDL_TYPESUPPORT_INTERFACE__MESSAGE_SYMBOL_NAME( \
26
typesupport_name, package_name, interface_type, message_name) \
27
ROSIDL_TYPESUPPORT_INTERFACE__SYMBOL_NAME( \
28
typesupport_name, get_message_type_support_handle, \
29
package_name, interface_type, message_name)
30
32
#define ROSIDL_TYPESUPPORT_INTERFACE__SERVICE_SYMBOL_NAME( \
33
typesupport_name, package_name, interface_type, service_name) \
34
ROSIDL_TYPESUPPORT_INTERFACE__SYMBOL_NAME( \
35
typesupport_name, get_service_type_support_handle, \
36
package_name, interface_type, service_name)
37
39
#define ROSIDL_TYPESUPPORT_INTERFACE__ACTION_SYMBOL_NAME( \
40
typesupport_name, package_name, interface_type, action_name) \
41
ROSIDL_TYPESUPPORT_INTERFACE__SYMBOL_NAME( \
42
typesupport_name, get_action_type_support_handle, \
43
package_name, interface_type, action_name)
44
45
#endif // ROSIDL_TYPESUPPORT_INTERFACE__MACROS_H_
Generated by
1.8.17