WeakPluginPtr.hh
Go to the documentation of this file.
This class manages the lifecycle of a plugin instance. It can receive a plugin instance from the Load...
Definition: PluginPtr.hh:53
WeakPluginPtr is a non-reference-holding smart pointer for a Plugin. WeakPluginPtr is analogous to st...
Definition: WeakPluginPtr.hh:40
WeakPluginPtr & operator=(const WeakPluginPtr &_other)
Copy assignment operator.
WeakPluginPtr(const PluginPtr &_ptr)
Construct from a live PluginPtr.
WeakPluginPtr & operator=(const PluginPtr &_ptr)
Assign from a live PluginPtr.
WeakPluginPtr(WeakPluginPtr &&_other)
Move constructor.
WeakPluginPtr(const WeakPluginPtr &_other)
Copy constructor.
bool IsExpired() const
Check whether the referenced Plugin has already expired.
PluginPtr Lock() const
Retrieve the PluginPtr that this WeakPluginPtr refers to, if it is still available....
WeakPluginPtr & operator=(WeakPluginPtr &&_other)
Move assignment operator.
Definition: EnablePluginFromThis.hh:26