LLToolMgr Class Reference

#include <lltoolmgr.h>

Inheritance diagram for LLToolMgr:

Inheritance graph
[legend]
Collaboration diagram for LLToolMgr:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLToolMgr ()
 ~LLToolMgr ()
void initTools ()
LLToolgetCurrentTool ()
LLToolgetBaseTool ()
BOOL inEdit ()
bool inBuildMode ()
void setTransientTool (LLTool *tool)
void clearTransientTool ()
BOOL usingTransientTool ()
void setCurrentToolset (LLToolset *current)
LLToolsetgetCurrentToolset ()
void onAppFocusGained ()
void onAppFocusLost ()
void clearSavedTool ()

Protected Member Functions

void setCurrentTool (LLTool *tool)
void updateToolStatus ()

Protected Attributes

LLToolmBaseTool
LLToolmSavedTool
LLToolmTransientTool
LLToolmOverrideTool
LLToolmSelectedTool
LLToolsetmCurrentToolset

Friends

class LLToolset


Detailed Description

Definition at line 48 of file lltoolmgr.h.


Constructor & Destructor Documentation

LLToolMgr::LLToolMgr (  ) 

Definition at line 68 of file lltoolmgr.cpp.

References LLToolset, NULL, and setCurrentTool().

Here is the call graph for this function:

LLToolMgr::~LLToolMgr (  ) 

Definition at line 112 of file lltoolmgr.cpp.

References NULL.


Member Function Documentation

void LLToolMgr::initTools (  ) 

LLTool * LLToolMgr::getCurrentTool (  ) 

LLTool * LLToolMgr::getBaseTool (  ) 

Definition at line 215 of file lltoolmgr.cpp.

References mBaseTool.

Referenced by LLToolsEnableToolNotPie::handleEvent(), LLViewerWindow::handlePerFrameHover(), and LLFloaterInspect::~LLFloaterInspect().

Here is the caller graph for this function:

BOOL LLToolMgr::inEdit (  ) 

bool LLToolMgr::inBuildMode (  ) 

Definition at line 232 of file lltoolmgr.cpp.

References LLAgent::cameraMouselook(), gAgent, LLControlGroup::getBOOL(), gSavedSettings, inEdit(), and mCurrentToolset.

Referenced by LLViewerJoystick::moveFlycam().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLToolMgr::setTransientTool ( LLTool tool  ) 

void LLToolMgr::clearTransientTool (  ) 

BOOL LLToolMgr::usingTransientTool (  ) 

Definition at line 130 of file lltoolmgr.cpp.

References FALSE, mTransientTool, and TRUE.

void LLToolMgr::setCurrentToolset ( LLToolset current  ) 

LLToolset * LLToolMgr::getCurrentToolset (  ) 

void LLToolMgr::onAppFocusGained (  ) 

Definition at line 288 of file lltoolmgr.cpp.

References mBaseTool, mSavedTool, NULL, and updateToolStatus().

Referenced by LLViewerWindow::handleFocus().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLToolMgr::onAppFocusLost (  ) 

Definition at line 281 of file lltoolmgr.cpp.

References mBaseTool, mSavedTool, and updateToolStatus().

Referenced by LLViewerWindow::handleFocusLost().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLToolMgr::clearSavedTool (  ) 

Definition at line 298 of file lltoolmgr.cpp.

References mSavedTool, and NULL.

Referenced by LLAgent::onAppFocusGained().

Here is the caller graph for this function:

void LLToolMgr::setCurrentTool ( LLTool tool  )  [protected]

Definition at line 160 of file lltoolmgr.cpp.

References mBaseTool, mTransientTool, NULL, and updateToolStatus().

Referenced by LLToolMgr(), LLToolset::selectFirstTool(), LLToolset::selectNextTool(), LLToolset::selectPrevTool(), LLToolset::selectTool(), LLToolset::selectToolByIndex(), and setCurrentToolset().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLToolMgr::updateToolStatus (  )  [protected]

Definition at line 220 of file lltoolmgr.cpp.

References getCurrentTool().

Referenced by clearTransientTool(), onAppFocusGained(), onAppFocusLost(), setCurrentTool(), and setTransientTool().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLToolset [friend]

Definition at line 78 of file lltoolmgr.h.

Referenced by LLToolMgr().


Member Data Documentation

Definition at line 84 of file lltoolmgr.h.

Referenced by clearSavedTool(), onAppFocusGained(), and onAppFocusLost().

Definition at line 86 of file lltoolmgr.h.

Referenced by getCurrentTool().

Definition at line 87 of file lltoolmgr.h.

Referenced by getCurrentTool(), and setCurrentToolset().

Definition at line 88 of file lltoolmgr.h.

Referenced by getCurrentToolset(), inBuildMode(), and setCurrentToolset().


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

Generated on Fri May 16 09:17:35 2008 for SecondLife by  doxygen 1.5.5