Ignition Physics
API Reference
2.3.0
insert_drive_file
Tutorials
library_books
Classes
toc
Namespaces
insert_drive_file
Files
launch
Ignition Website
Index
List
Hierarchy
Members: All
Members: Functions
Members: Variables
Members: Typedefs
Members: Enumerations
Members: Enumerator
List
Members
Functions
Typedefs
Variables
Enumerations
Enumerator
include
ignition
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 IGNITION_PHYSICS_FINDFEATURES_HH_
19
#define IGNITION_PHYSICS_FINDFEATURES_HH_
20
21
#include <set>
22
#include <string>
23
24
#include <
ignition/physics/FeatureList.hh
>
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>
56
using
FindFeatures3d
=
FindFeatures<FeaturePolicy3d, FeatureListT>
;
57
58
template
<
typename
FeatureListT>
59
using
FindFeatures2d
=
FindFeatures<FeaturePolicy2d, FeatureListT>
;
60
61
template
<
typename
FeatureListT>
62
using
FindFeatures3f
=
FindFeatures<FeaturePolicy3f, FeatureListT>
;
63
64
template
<
typename
FeatureListT>
65
using
FindFeatures2f
=
FindFeatures<FeaturePolicy2f, FeatureListT>
;
66
}
67
}
68
69
#include <ignition/physics/detail/FindFeatures.hh>
70
71
#endif
ignition::physics::FindFeatures::Features
FeatureListT Features
Definition:
FindFeatures.hh:34
ignition::physics::FindFeatures
Definition:
FindFeatures.hh:31
ignition::physics::FindFeatures::From
static std::set< std::string > From(const LoaderT &_loader)
Find a set of plugins that satisfy the requested list of features.
std::set< std::string >
ignition
FeatureList.hh