Ignition Physics

API Reference

5.1.0
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::stringFrom (const LoaderT &_loader)
 Find a set of plugins that satisfy the requested list of features. More...
 

Member Typedef Documentation

◆ Features

using Features = FeatureListT

Member Function Documentation

◆ From()

static std::set<std::string> From ( const LoaderT &  _loader)
static

Find a set of plugins that satisfy the requested list of features.

Template Parameters
LoaderTThe type of plugin loader to use. Typically this will be an ignition::plugin::Loader object, but the function can be used on any type that has a function C<std::string> PluginsImplementing<T>() and C<std::string> AllPlugins() where T is an interface class type and C<std::string> is a container of std::strings.
Parameters
[in]_loaderThe 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: