#include <inputDevPluginHandler.h>
Public Member Functions |
|
virtual bool | canHandle (BALLPlugin *plugin) const |
This function is used to check
whether this
PluginHandler can initialize the passed plugin.
|
|
Protected Member Functions |
|
virtual bool | specificSetup_ (BALLPlugin *plugin) |
A purely virtual function which is
responsible for properly initialising the passed plugin
instance. |
|
virtual bool | specificShutdown_ (BALLPlugin *plugin) |
A purely virtual function which is
responsible for properly deinitialising the passed plugin
instance. |
virtual bool BALL::VIEW::InputDevPluginHandler::canHandle | ( | BALLPlugin * | plugin | ) | const [virtual] |
This function is used to check whether this PluginHandler can initialize the passed plugin.
A usual implementation would be something like:
return qobject_cast<MyPlugin*>(plugin) != 0;
Implements BALL::PluginHandler.
virtual bool BALL::VIEW::InputDevPluginHandler::specificSetup_ | ( | BALLPlugin * | plugin | ) | [protected, virtual] |
A purely virtual function which is responsible for properly initialising the passed plugin instance.
The passed plugin may be assumed to be of a type that can be handled by this PluginHandler.
Implements BALL::PluginHandler.
virtual bool BALL::VIEW::InputDevPluginHandler::specificShutdown_ | ( | BALLPlugin * | plugin | ) | [protected, virtual] |
A purely virtual function which is responsible for properly deinitialising the passed plugin instance.
The passed plugin may be assumed to be of a type that can be handled by this PluginHandler.
Implements BALL::PluginHandler.