#include <ToolRegistry.h>
Public Types | |
typedef ToolRegistry::dynamicAccess | DynamicAccess |
Public Methods | |
void | registerTool (const int id, ToolInterface *tool, const bool isDynamicallyLoaded=false, const DynamicAccess *dynamicAccess=0) |
void | unregisterTool (const int id) |
void | unregisterAllTools () |
ToolInterface * | getTool (const int id) const |
QVector< ToolInterface > * | getTools () const |
Static Public Methods | |
ToolRegistry * | getInstance () |
void | destroyInstance () |
Private Types | |
typedef QMap< int, RegistryEntry > | Registry |
Private Methods | |
ToolRegistry () | |
virtual | ~ToolRegistry () |
void | deleteEntry (Registry::Iterator it) |
Private Attributes | |
Registry | registry |
|
|
|
|
|
|
|
|
|
|
|
Destroys the instance of this |
|
This method creates an instance of this
|
|
Returns an instance of
|
|
Returns a vector containing references to instances of the registered tools. The returned vector must be
|
|
Registers an instance of
|
|
Unregisters all registered instances of |
|
Unregisters the instance of
|
|
|