FindFeatures< FeaturePolicyT, FeatureListT > Struct Template Reference
#include <FindFeatures.hh>
Public Types | |
using | Features = FeatureListT |
Static Public Member Functions | |
template<typename LoaderT > | |
static std::set< std::string > | From (const LoaderT &_loader) |
Find a set of plugins that satisfy the requested list of features. | |
Member Typedef Documentation
◆ Features
template<typename FeaturePolicyT , typename FeatureListT >
using Features = FeatureListT |
Member Function Documentation
◆ From()
template<typename FeaturePolicyT , typename FeatureListT >
template<typename LoaderT >
|
static |
Find a set of plugins that satisfy the requested list of features.
- Template Parameters
-
LoaderT The type of plugin loader to use. Typically this will be an gz::plugin::Loader object, but the function can be used on any type that has a function C<std::string> PluginsImplementing<T>()
andC<std::string> AllPlugins()
whereT
is an interface class type andC<std::string>
is a container ofstd::strings
.
- Parameters
-
[in] _loader The loader object to search for plugins.
- Returns
- The names of plugins in _loader that provide the requested set of features.
The documentation for this struct was generated from the following file: