Gazebo Physics

API Reference

2.6.2
gz/physics/FindFeatures.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 #ifndef GZ_PHYSICS_FINDFEATURES_HH_
19 #define GZ_PHYSICS_FINDFEATURES_HH_
20 
21 #include <set>
22 #include <string>
23 
25 
26 namespace ignition
27 {
28  namespace physics
29  {
30  template <typename FeaturePolicyT, typename FeatureListT>
31  struct FindFeatures
32  {
33  // Tuple of features that are being requested
34  using Features = FeatureListT;
35 
51  template <typename LoaderT>
52  static std::set<std::string> From(const LoaderT &_loader);
53  };
54 
55  template <typename FeatureListT>
57 
58  template <typename FeatureListT>
60 
61  template <typename FeatureListT>
63 
64  template <typename FeatureListT>
66  }
67 }
68 
69 #include <gz/physics/detail/FindFeatures.hh>
70 
71 #endif
static std::set< std::string > From(const LoaderT &_loader)
Find a set of plugins that satisfy the requested list of features.
FeatureListT Features
Definition: gz/physics/FindFeatures.hh:34
Definition: gz/physics/FindFeatures.hh:31