Plugin.hh
Go to the documentation of this file.
79 const Interface *QueryInterface(
EnablePluginFromThis is an optional base class which can be inherited by Plugin classes....
Definition: EnablePluginFromThis.hh:41
Definition: Plugin.hh:44
bool HasInterface(const std::string &_interfaceName, const bool _demangled=true) const
Checks if this Plugin has the specified type of interface.
const Interface * QueryInterface() const
const-qualified version of QueryInterface<Interface>()
std::shared_ptr< Interface > QueryInterfaceSharedPtr()
Get the requested interface as a std::shared_ptr. The template argument Interface must exactly match ...
std::shared_ptr< const Interface > QueryInterfaceSharedPtr() const
Same as QueryInterfaceSharedPtr<Interface>(), but it returns a std::shared_ptr to a const-qualified I...
const Interface * QueryInterface(const std::string &) const
const-qualified version of QueryInterface<Interface>(std::string)
std::shared_ptr< const Interface > QueryInterfaceSharedPtr(const std::string &) const
Same as QueryInterfaceSharedPtr<Interface>(std::string), but it returns a std::shared_ptr to a const-...
friend class EnablePluginFromThis
Definition: Plugin.hh:154
std::shared_ptr< Interface > QueryInterfaceSharedPtr(const std::string &)
This version of QueryInterfaceSharedPtr has been deprecated in favor of the version that does not tak...
Plugin()
Default constructor. This is kept protected to discourage users from instantiating them directly....
Interface * QueryInterface(const std::string &)
This function has been deprecated in favor of the version of QueryInterface which does not take a std...
Interface * QueryInterface()
Get an interface of the specified type, if it is provided by this plugin.
bool HasInterface() const
Checks if this Plugin has the specified type of interface.
Definition: SpecializedPlugin.hh:37
This class manages the lifecycle of a plugin instance. It can receive a plugin instance from the igni...
Definition: PluginPtr.hh:53
WeakPluginPtr is a non-reference-holding smart pointer for a Plugin. WeakPluginPtr is analogous to st...
Definition: WeakPluginPtr.hh:40
Definition: EnablePluginFromThis.hh:26
STL namespace.