Gazebo Plugin

API Reference

1.4.0
gz/plugin/utility.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17 
18 
19 #ifndef GZ_PLUGIN_UTILITY_HH_
20 #define GZ_PLUGIN_UTILITY_HH_
21 
22 #include <string>
23 
24 #include <gz/plugin/detail/utility.hh>
25 #include <gz/plugin/Export.hh>
26 
27 namespace ignition
28 {
29  namespace plugin
30  {
49  template <typename To, typename From>
50  using ConstCompatible = detail::ConstCompatible<To, From>;
51 
52 
59  std::string IGNITION_PLUGIN_VISIBLE DemangleSymbol(
60  const std::string &_symbol);
61  }
62 }
63 
64 #endif
Definition: gz/plugin/EnablePluginFromThis.hh:25
STL class.
std::string DemangleSymbol(const std::string &_symbol)
Demangle the ABI typeinfo name of a symbol into a human-readable version.
detail::ConstCompatible< To, From > ConstCompatible
Contains a static constexpr field named value which will be true if the type From has a const-quality...
Definition: gz/plugin/utility.hh:50