OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions | Static Public Member Functions
ToolManager Class Reference

#include <tool_manager.hh>

Signals

void ToolAdded (Tool *)
void ActiveToolChanged (Tool *)

Public Member Functions

void AddTool (Tool *tool)
void SetActiveTool (Tool *tool)
ToolFindToolByName (const String &name) const
ToolGetActiveTool () const
const ToolListGetTools () const

Static Public Member Functions

static ToolManagerInstance ()

Detailed Description

Definition at line 35 of file tool_manager.hh.


Member Function Documentation

void ActiveToolChanged ( Tool )
signal
void AddTool ( Tool tool)

add tool to tool manager

The ToolManager takes ownership of the tool.

Tool* FindToolByName ( const String name) const
Tool* GetActiveTool ( ) const
const ToolList& GetTools ( ) const
static ToolManager& Instance ( )
static
void SetActiveTool ( Tool tool)
void ToolAdded ( Tool )
signal

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