OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ToolManager Class Reference

#include "ToolManager.h"

Inheritance diagram for ToolManager:

Public Member Functions

 ToolManager (AppBase *_app)
 
virtual ~ToolManager ()
 
bool addTool (otoolkit::Tool *_tool)
 Stores the provided tool.
 
otoolkit::ToolfindTool (const QString &_toolName)
 Returns the tool with the specified name If no tool was found nullptr will be returned.
 
void removeTool (const QString &_toolName)
 Cleans up and deletes the tool with the provided name.
 
void removeTool (otoolkit::Tool *_tool)
 Cleans up the provided tool The tool will not be deleted.
 
void clear (void)
 
MenuManagergetMenuManager (void)
 
StatusManagergetStatusManager (void)
 
ToolBarManagergetToolBarManager (void)
 
ToolViewManagergetToolViewManager (void)
 
SettingsManagergetToolSettingsManager (void)
 
void runTool (const QString &_toolName)
 
void stopAll (void)
 
void stopTool (const QString &_toolName)
 
void toolDataHasChanged (ToolRuntimeHandler *_handler)
 

Constructor & Destructor Documentation

◆ ToolManager()

ToolManager::ToolManager ( AppBase * _app)

◆ ~ToolManager()

ToolManager::~ToolManager ( )
virtual

Member Function Documentation

◆ addTool()

bool ToolManager::addTool ( otoolkit::Tool * _tool)

Stores the provided tool.

◆ clear()

void ToolManager::clear ( void )

◆ findTool()

otoolkit::Tool * ToolManager::findTool ( const QString & _toolName)

Returns the tool with the specified name If no tool was found nullptr will be returned.

◆ getMenuManager()

MenuManager * ToolManager::getMenuManager ( void )
inline

◆ getStatusManager()

StatusManager * ToolManager::getStatusManager ( void )
inline

◆ getToolBarManager()

ToolBarManager * ToolManager::getToolBarManager ( void )
inline

◆ getToolSettingsManager()

SettingsManager * ToolManager::getToolSettingsManager ( void )
inline

◆ getToolViewManager()

ToolViewManager * ToolManager::getToolViewManager ( void )
inline

◆ removeTool() [1/2]

void ToolManager::removeTool ( const QString & _toolName)

Cleans up and deletes the tool with the provided name.

◆ removeTool() [2/2]

void ToolManager::removeTool ( otoolkit::Tool * _tool)

Cleans up the provided tool The tool will not be deleted.

◆ runTool()

void ToolManager::runTool ( const QString & _toolName)

◆ stopAll()

void ToolManager::stopAll ( void )

◆ stopTool()

void ToolManager::stopTool ( const QString & _toolName)

◆ toolDataHasChanged()

void ToolManager::toolDataHasChanged ( ToolRuntimeHandler * _handler)

The documentation for this class was generated from the following files: