Ignition Physics

API Reference

2.3.0
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 IGNITION_PHYSICS_FINDFEATURES_HH_
19 #define IGNITION_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 <ignition/physics/detail/FindFeatures.hh>
70 
71 #endif
FeatureListT Features
Definition: FindFeatures.hh:34
Definition: FindFeatures.hh:31
static std::set< std::string > From(const LoaderT &_loader)
Find a set of plugins that satisfy the requested list of features.