Factory.hh
Go to the documentation of this file.
Definition: Factory.hh:97
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...
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>()
Definition: 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...
STL class.
This class provides a unary operator for safely deleting pointers to plugin factory products with the...
Definition: Factory.hh:36
Definition: EnablePluginFromThis.hh:25
The Factory class defines a plugin factory that can be used by the Loader class to produce products t...
Definition: Factory.hh:75