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:53
std::function< void(void *)> deleter
A method that safely deletes an instance of the plugin.
Definition: gz/common/PluginInfo.hh:56
Holds info required to construct a plugin.
Definition: gz/common/PluginInfo.hh:38
std::string name
The name of the plugin.
Definition: gz/common/PluginInfo.hh:41
InterfaceCastingMap interfaces
Definition: gz/common/PluginInfo.hh:50
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:34