gz/common/PluginInfo.hh
Forward declarations for the common classes.
STL class.
std::function< void *()> factory
A method that instantiates a new instance of a plugin.
Definition: gz/common/PluginInfo.hh:55
std::function< void(void *)> deleter
A method that safely deletes an instance of the plugin.
Definition: gz/common/PluginInfo.hh:58
Holds info required to construct a plugin.
Definition: gz/common/PluginInfo.hh:40
std::string name
The name of the plugin.
Definition: gz/common/PluginInfo.hh:43
InterfaceCastingMap interfaces
Definition: gz/common/PluginInfo.hh:52
const int PLUGIN_API_VERSION
sentinel value to check if a plugin was built with the same version of the PluginInfo struct
Definition: gz/common/PluginInfo.hh:36