Plugin.hh
Go to the documentation of this file.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
Microsoft Visual Studio does not automatically export the interface information for member variables ...
Definition: SuppressWarning.hh:64
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: SuppressWarning.hh:67
Definition: Plugin.hh:39
const Interface * QueryInterface(const std::string &_interfaceName) const
const-qualified version of QueryInterface<Interface>(std::string)
std::shared_ptr< Interface > QueryInterfaceSharedPtr()
Get the requested interface as a std::shared_ptr. Note that this function only works when the Interfa...
std::shared_ptr< const Interface > QueryInterfaceSharedPtr(const std::string &_interfaceName) const
Same as QueryInterfaceSharedPtr<Interface>(std::string), but it returns a std::shared_ptr to a const-...
std::shared_ptr< const Interface > QueryInterfaceSharedPtr() const
Same as QueryInterfaceSharedPtr<Interface>(), but it returns a std::shared_ptr to a const-qualified I...
Interface * QueryInterface()
Get an interface of the specified type. Note that this function only works when the Interface type is...
Interface * QueryInterface(const std::string &_interfaceName)
Get an interface with the given name, casted to the specified class type. The template argument Inter...
bool HasInterface(const std::string &_interfaceName) const
Returns true if this Plugin has the specified type of interface, otherwise returns false.
std::shared_ptr< Interface > QueryInterfaceSharedPtr(const std::string &_interfaceName)
Get the requested interface as a std::shared_ptr. The template argument Interface must exactly match ...
const Interface * QueryInterface() const
const-qualified version of QueryInterface<Interface>()
bool HasInterface() const
Returns true if this Plugin has the specified type of interface. Note that this function only works w...
This class manages the lifecycle of a plugin instance. It can receive a plugin instance from the Plug...
Definition: PluginPtr.hh:54
Forward declarations for the common classes.