Go to the documentation of this file.
19 #ifndef GZ_PLUGIN_LOADER_HH_
20 #define GZ_PLUGIN_LOADER_HH_
26 #include <unordered_set>
28 #include <gz/utilities/SuppressWarning.hh>
30 #include <gz/plugin/loader/Export.hh>
38 class IGNITION_PLUGIN_LOADER_VISIBLE
Loader
60 public:
template <
typename Interface>
84 const bool _demangled =
true)
const;
156 public:
template <
typename PluginPtrType>
157 PluginPtrType Instantiate(
const std::string &_pluginNameOrAlias)
const;
182 public:
template <
typename InterfaceType>
210 public:
bool ForgetLibrary(
const std::string &_pathToLibrary);
220 public:
bool ForgetLibraryOfPlugin(
const std::string &_pluginNameOrAlias);
245 class Implementation;
246 IGN_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
249 IGN_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING
254 #include <gz/plugin/detail/Loader.hh>
Definition: gz/plugin/EnablePluginFromThis.hh:25
Class for loading plugins.
Definition: gz/plugin/Loader.hh:38
This class manages the lifecycle of a plugin instance. It can receive a plugin instance from the igni...
Definition: gz/plugin/PluginPtr.hh:52
The Factory class defines a plugin factory that can be used by the Loader class to produce products t...
Definition: gz/plugin/Factory.hh:75