Common interface to a plugin group. More...
#include <gpp_plugin.hpp>
Public Types | |
using | NamedPlugin = std::pair< PluginParameter, PluginPtr > |
using | PluginMap = std::vector< NamedPlugin > |
using | PluginPtr = typename pluginlib::UniquePtr< _Plugin > |
Public Member Functions | |
const bool & | getDefaultValue () const noexcept |
const std::string & | getName () const noexcept |
const PluginMap & | getPlugins () const noexcept |
Protected Attributes | |
bool | default_value_ |
std::string | name_ = "undefined" |
PluginMap | plugins_ |
Common interface to a plugin group.
The class defines the ownership and storage of plugins. Typically we own the plugin and store all of them in a vector.
Definition at line 148 of file gpp_plugin.hpp.
using gpp_plugin::PluginGroup< _Plugin >::NamedPlugin = std::pair<PluginParameter, PluginPtr> |
Definition at line 152 of file gpp_plugin.hpp.
using gpp_plugin::PluginGroup< _Plugin >::PluginMap = std::vector<NamedPlugin> |
Definition at line 153 of file gpp_plugin.hpp.
using gpp_plugin::PluginGroup< _Plugin >::PluginPtr = typename pluginlib::UniquePtr<_Plugin> |
Definition at line 150 of file gpp_plugin.hpp.
|
inlinenoexcept |
Definition at line 166 of file gpp_plugin.hpp.
|
inlinenoexcept |
Definition at line 161 of file gpp_plugin.hpp.
|
inlinenoexcept |
Definition at line 156 of file gpp_plugin.hpp.
|
protected |
Definition at line 171 of file gpp_plugin.hpp.
|
protected |
Definition at line 172 of file gpp_plugin.hpp.
|
protected |
Definition at line 173 of file gpp_plugin.hpp.