gz/plugin/PluginPtr.hh
bool operator<=(const TemplatePluginPtr &_other) const
Comparison operator.
Definition: gz/plugin/EnablePluginFromThis.hh:25
std::size_t Hash() const
Produces a hash for the plugin instance that this PluginPtr is holding. This function allows PluginPt...
~TemplatePluginPtr()=default
Destructor. Deletes this PluginPtr's reference to the plugin instance. Once all PluginPtrs that refer...
bool operator>(const TemplatePluginPtr &_other) const
Comparison operator.
bool operator!=(const TemplatePluginPtr &_other) const
Comparison operator.
bool operator>=(const TemplatePluginPtr &_other) const
Comparison operator.
friend class TemplatePluginPtr
Definition: gz/plugin/PluginPtr.hh:197
PluginType & operator*() const
Get a reference to the wrapper for the plugin instance that is being managed by this PluginPtr.
void Clear()
Clears the Plugin instance from this PluginPtr. IsEmpty() will return true after this is used,...
TemplatePluginPtr & operator=(const TemplatePluginPtr &_other)
Copy assignment operator. This PluginPtr will now point at the same plugin instance as _other,...
PluginType * operator->() const
Access the wrapper for the plugin instance and call one of its member functions.
bool operator<(const TemplatePluginPtr &_other) const
Comparison operator.
This class manages the lifecycle of a plugin instance. It can receive a plugin instance from the igni...
Definition: gz/plugin/PluginPtr.hh:52
bool operator==(const TemplatePluginPtr &_other) const
Comparison operator.
bool IsEmpty() const
Check whether this is pointing at a valid plugin.