BALL 1.5.0
|
#include <BALL/VIEW/PLUGIN/modularWidgetPluginHandler.h>
Public Member Functions | |
ModularWidgetPluginHandler (MainControl *parent) | |
virtual bool | canHandle (BALLPlugin *plugin) const |
![]() | |
virtual | ~PluginHandler () |
bool | startPlugin (BALLPlugin *plugin) |
bool | stopPlugin (BALLPlugin *plugin) |
virtual bool | isRunning (BALLPlugin *plugin) const |
Protected Member Functions | |
virtual bool | specificSetup_ (BALLPlugin *plugin) |
virtual bool | specificShutdown_ (BALLPlugin *plugin) |
Protected Attributes | |
MainControl * | main_control_ |
ModularWidget * | modular_widget_ |
![]() | |
std::list< BALLPlugin * > | running_plugins_ |
See PluginHandler for detailed documentation
Definition at line 23 of file modularWidgetPluginHandler.h.
BALL::VIEW::ModularWidgetPluginHandler::ModularWidgetPluginHandler | ( | MainControl * | parent | ) |
|
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.
|
protectedvirtual |
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.
|
protectedvirtual |
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.
|
protected |
Definition at line 35 of file modularWidgetPluginHandler.h.
|
protected |
Definition at line 36 of file modularWidgetPluginHandler.h.