rosidl_runtime_cpp  master
Generate the rosidl interfaces in C++.
traits.hpp
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_CPP__TRAITS_HPP_
16 #define ROSIDL_RUNTIME_CPP__TRAITS_HPP_
17 
18 #include <type_traits>
19 
21 {
22 
23 template<typename T>
24 inline const char * data_type();
25 
26 template<typename T>
27 inline const char * name();
28 
29 template<typename T>
31 
32 template<typename T>
34 
35 template<typename T>
37 
38 template<typename T>
40 
41 template<typename T>
43 
44 template<typename T>
46 
47 template<typename T>
49 
50 template<typename T>
52 
53 template<typename T>
55 
56 template<typename T>
58 
59 } // namespace rosidl_generator_traits
60 
61 #endif // ROSIDL_RUNTIME_CPP__TRAITS_HPP_
rosidl_generator_traits::data_type
const char * data_type()
std::false_type
rosidl_generator_traits::is_service
Definition: traits.hpp:39
rosidl_generator_traits
Definition: traits.hpp:20
rosidl_generator_traits::is_action_feedback
Definition: traits.hpp:57
rosidl_generator_traits::name
const char * name()
rosidl_generator_traits::is_action_result
Definition: traits.hpp:54
rosidl_generator_traits::is_action_goal
Definition: traits.hpp:51
rosidl_generator_traits::is_message
Definition: traits.hpp:36
rosidl_generator_traits::is_service_response
Definition: traits.hpp:45
rosidl_generator_traits::has_fixed_size
Definition: traits.hpp:30
rosidl_generator_traits::has_bounded_size
Definition: traits.hpp:33
rosidl_generator_traits::is_action
Definition: traits.hpp:48
rosidl_generator_traits::is_service_request
Definition: traits.hpp:42