Ignition Physics

API Reference

5.1.0
Implements.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_IMPLEMENTS_HH_
19 #define IGNITION_PHYSICS_IMPLEMENTS_HH_
20 
23 
24 namespace ignition
25 {
26  namespace physics
27  {
34  template <typename PolicyT, typename FeatureListT>
35  using Implements = detail::ExtractImplementation<PolicyT, FeatureListT>;
36 
37  template <typename FeatureListT>
39 
40  template <typename FeatureListT>
42 
43  template <typename FeatureListT>
45 
46  template <typename FeatureListT>
48  }
49 }
50 
51 #endif
Implements< FeaturePolicy2d, FeatureListT > Implements2d
Definition: Implements.hh:41
Implements< FeaturePolicy2f, FeatureListT > Implements2f
Definition: Implements.hh:47
detail::ExtractImplementation< PolicyT, FeatureListT > Implements
Physics plugins should inherit this class and pass it a FeatureList containing all the features that ...
Definition: Implements.hh:35
Implements< FeaturePolicy3d, FeatureListT > Implements3d
Definition: Implements.hh:38
Implements< FeaturePolicy3f, FeatureListT > Implements3f
Definition: Implements.hh:44