Go to the documentation of this file.
17 #ifndef GZ_GAZEBO_SYSTEMLOADER_HH_
18 #define GZ_GAZEBO_SYSTEMLOADER_HH_
25 #include <sdf/Element.hh>
26 #include <sdf/Plugin.hh>
28 #include <gz/sim/Export.hh>
37 inline namespace IGNITION_GAZEBO_VERSION_NAMESPACE {
53 public:
void AddSystemPluginPath(
const std::string &_path);
60 public: std::optional<SystemPluginPtr> LoadPlugin(
61 const sdf::ElementPtr &_sdf);
71 public: std::optional<SystemPluginPtr> LoadPlugin(
74 const sdf::ElementPtr &_sdf);
79 public: std::optional<SystemPluginPtr> LoadPlugin(
80 const sdf::Plugin &_plugin);
97 #endif // GZ_GAZEBO_SYSTEMLOADER_HH_
SystemLoader()
Constructor.
This library is part of the Gazebo project.
Definition: gz/sim/Actor.hh:33
std::string PrettyStr() const
Makes a printable string with info about systems.
class IGNITION_GAZEBO_HIDDEN SystemLoaderPrivate
Definition: gz/sim/SystemLoader.hh:39
void AddSystemPluginPath(const std::string &_path)
Add path to search for plugins.
std::optional< SystemPluginPtr > LoadPlugin(const sdf::ElementPtr &_sdf)
Load and instantiate system plugin from an SDF element.
Class for loading/unloading System plugins.
Definition: gz/sim/SystemLoader.hh:43
~SystemLoader()
Destructor.
std::list< std::string > PluginPaths() const
Get the plugin search paths used for loading system plugins.