Ignition Plugin

API Reference

EnablePluginFromThis.hh File Reference
#include <memory>
#include <ignition/plugin/PluginPtr.hh>

Go to the source code of this file.


class  EnablePluginFromThis
 EnablePluginFromThis is an optional base class which can be inherited by Plugin classes. When a Plugin class inherits it and that Plugin class is instantiated using the Loader class, its instance will be able to access the PluginPtr that manages its lifecycle. This interface will also be available by calling instance->QueryInterface<EnablePluginFromThis>() More...