gz/plugin/Factory.hh
Definition: gz/plugin/EnablePluginFromThis.hh:25
EnablePluginFromThis is an optional base class which can be inherited by Plugin classes....
Definition: gz/plugin/EnablePluginFromThis.hh:40
std::size_t LostProductCount()
Get the number of lost products that have currently accumulated since the last time CleanupLostProduc...
ProductPtrType Construct(Args &&... _args)
This function is called by Loader to construct the class that implements the InterfacePtr interface.
This class provides a unary operator for safely deleting pointers to plugin factory products with the...
Definition: gz/plugin/Factory.hh:36
void CleanupLostProducts(const std::chrono::nanoseconds &_safetyWait=std::chrono::nanoseconds(5))
Call this function to cleanup the Factories of any Products which were not managed by a ProductPtr or...
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
STL class.
Definition: gz/plugin/Factory.hh:97