LLFloaterGodTools Class Reference

#include <llfloatergodtools.h>

Inheritance diagram for LLFloaterGodTools:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterGodTools:

Collaboration graph
[legend]
List of all members.

Public Types

 PANEL_GRID
 PANEL_REGION
 PANEL_OBJECT
 PANEL_REQUEST
 PANEL_COUNT
enum  EGodPanel {
  PANEL_GRID, PANEL_REGION, PANEL_OBJECT, PANEL_REQUEST,
  PANEL_COUNT
}

Public Member Functions

void showPanel (const LLString &panel_name)
virtual void onClose (bool app_quitting)
virtual void draw ()
void updatePopup (LLCoordGL center, MASK mask)
void sendRegionInfoRequest ()
void sendGodUpdateRegionInfo ()

Static Public Member Functions

static LLFloaterGodToolsinstance ()
static void show (void *)
static void hide (void *)
static voidcreatePanelGrid (void *userdata)
static voidcreatePanelRegion (void *userdata)
static voidcreatePanelObjects (void *userdata)
static voidcreatePanelRequest (void *userdata)
static void refreshAll ()
static void processRegionInfo (LLMessageSystem *msg)
static void onTabChanged (void *data, bool from_click)

Public Attributes

LLPanelRegionToolsmPanelRegionTools
LLPanelObjectToolsmPanelObjectTools
LLHost mCurrentHost
LLFrameTimer mUpdateTimer

Protected Member Functions

U32 computeRegionFlags () const
 LLFloaterGodTools ()
 ~LLFloaterGodTools ()
void resetToolState ()

Static Protected Attributes

static LLFloaterGodToolssInstance

Detailed Description

Definition at line 58 of file llfloatergodtools.h.


Member Enumeration Documentation

enum LLFloaterGodTools::EGodPanel

Enumerator:
PANEL_GRID 
PANEL_REGION 
PANEL_OBJECT 
PANEL_REQUEST 
PANEL_COUNT 

Definition at line 65 of file llfloatergodtools.h.


Constructor & Destructor Documentation

LLFloaterGodTools::LLFloaterGodTools (  )  [protected]

Definition at line 117 of file llfloatergodtools.cpp.

References LLUICtrlFactory::buildFloater(), LLPanel::childSetTabChangeCallback(), LLPanel::childShowTab(), createPanelGrid(), createPanelObjects(), createPanelRegion(), createPanelRequest(), gUICtrlFactory, onTabChanged(), and sendRegionInfoRequest().

Referenced by instance().

LLFloaterGodTools::~LLFloaterGodTools (  )  [protected]

Definition at line 167 of file llfloatergodtools.cpp.


Member Function Documentation

U32 LLFloaterGodTools::computeRegionFlags (  )  const [protected]

Definition at line 172 of file llfloatergodtools.cpp.

References LLPanelObjectTools::computeRegionFlags(), LLPanelRegionTools::computeRegionFlags(), gAgent, LLAgent::getRegion(), LLViewerRegion::getRegionFlags(), mPanelObjectTools, and mPanelRegionTools.

Referenced by sendGodUpdateRegionInfo().

void * LLFloaterGodTools::createPanelGrid ( void userdata  )  [static]

Definition at line 140 of file llfloatergodtools.cpp.

Referenced by LLFloaterGodTools().

void * LLFloaterGodTools::createPanelObjects ( void userdata  )  [static]

Definition at line 154 of file llfloatergodtools.cpp.

Referenced by LLFloaterGodTools().

void * LLFloaterGodTools::createPanelRegion ( void userdata  )  [static]

Definition at line 146 of file llfloatergodtools.cpp.

Referenced by LLFloaterGodTools().

void * LLFloaterGodTools::createPanelRequest ( void userdata  )  [static]

Definition at line 162 of file llfloatergodtools.cpp.

Referenced by LLFloaterGodTools().

void LLFloaterGodTools::draw (  )  [virtual]

Reimplemented from LLFloater.

Definition at line 195 of file llfloatergodtools.cpp.

References LLFloater::draw(), gAgent, LLFrameTimer::getElapsedTimeF32(), LLAgent::getRegionHost(), LLHost::invalid, mCurrentHost, mUpdateTimer, SECONDS_BETWEEN_UPDATE_REQUESTS, and sendRegionInfoRequest().

static void LLFloaterGodTools::hide ( void  )  [static]

LLFloaterGodTools * LLFloaterGodTools::instance (  )  [static]

Definition at line 88 of file llfloatergodtools.cpp.

References LLFloater::center(), LLFloaterGodTools(), LLFloater::open(), LLFloater::setFocus(), sGodTools, and TRUE.

Referenced by refreshAll(), and show().

void LLFloaterGodTools::onClose ( bool  app_quitting  )  [virtual]

Reimplemented from LLFloater.

Definition at line 186 of file llfloatergodtools.cpp.

References FALSE, LLFloater::setVisible(), and sGodTools.

void LLFloaterGodTools::onTabChanged ( void data,
bool  from_click 
) [static]

Definition at line 237 of file llfloatergodtools.cpp.

References TRUE.

Referenced by LLFloaterGodTools().

void LLFloaterGodTools::processRegionInfo ( LLMessageSystem msg  )  [static]

Definition at line 248 of file llfloatergodtools.cpp.

References _PREHASH_BillableFactor, _PREHASH_EstateID, _PREHASH_MaxAgents, _PREHASH_ObjectBonusFactor, _PREHASH_ParentEstateID, _PREHASH_PricePerMeter, _PREHASH_RedirectGridX, _PREHASH_RedirectGridY, _PREHASH_RegionFlags, _PREHASH_RegionInfo, _PREHASH_SimAccess, _PREHASH_SimName, _PREHASH_TerrainLowerLimit, _PREHASH_TerrainRaiseLimit, _PREHASH_WaterHeight, LLPanelObjectTools::enableAllWidgets(), gAgent, LLMessageSystem::getF32Fast(), LLViewerRegion::getPosGlobalFromRegion(), LLAgent::getRegion(), LLAgent::getRegionHost(), LLMessageSystem::getS32Fast(), LLMessageSystem::getSender(), LLMessageSystem::getStringFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU8Fast(), LLAgent::isGodlike(), MAX_STRING, mCurrentHost, LLVector3d::mdV, mPanelObjectTools, mPanelRegionTools, S32, LLViewerRegion::setBillableFactor(), LLPanelObjectTools::setCheckFlags(), LLViewerRegion::setRegionFlags(), LLViewerRegion::setRegionNameAndZone(), LLViewerRegion::setSimAccess(), LLViewerRegion::setWaterHeight(), sGodTools, VX, VY, and LLVector3::zero.

Referenced by LLViewerRegion::processRegionInfo().

void LLFloaterGodTools::refreshAll (  )  [static]

Definition at line 102 of file llfloatergodtools.cpp.

References gAgent, LLAgent::getRegionHost(), instance(), mCurrentHost, and sendRegionInfoRequest().

void LLFloaterGodTools::resetToolState (  )  [protected]

void LLFloaterGodTools::sendGodUpdateRegionInfo (  ) 

Definition at line 362 of file llfloatergodtools.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_BillableFactor, _PREHASH_EstateID, _PREHASH_ParentEstateID, _PREHASH_PricePerMeter, _PREHASH_RedirectGridX, _PREHASH_RedirectGridY, _PREHASH_RegionFlags, _PREHASH_RegionInfo, _PREHASH_SessionID, _PREHASH_SimName, computeRegionFlags(), gAgent, LLPanelRegionTools::getBillableFactor(), LLPanelRegionTools::getEstateID(), LLAgent::getID(), LLPanelRegionTools::getParentEstateID(), LLPanelRegionTools::getPricePerMeter(), LLPanelRegionTools::getRedirectGridX(), LLPanelRegionTools::getRedirectGridY(), LLAgent::getRegion(), LLAgent::getRegionHost(), LLAgent::getSessionID(), LLPanelRegionTools::getSimName(), gMessageSystem, LLAgent::isGodlike(), mCurrentHost, mPanelRegionTools, LLAgent::sendReliableMessage(), and sGodTools.

Referenced by LLPanelObjectTools::onApplyChanges(), and LLPanelRegionTools::onApplyChanges().

void LLFloaterGodTools::sendRegionInfoRequest (  ) 

Definition at line 346 of file llfloatergodtools.cpp.

References LLMessageSystem::addUUID(), LLPanelObjectTools::clearAllWidgets(), LLPanelRegionTools::clearAllWidgets(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLHost::invalid, mCurrentHost, mPanelObjectTools, mPanelRegionTools, mUpdateTimer, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLFrameTimer::reset(), and LLAgent::sendReliableMessage().

Referenced by draw(), LLFloaterGodTools(), LLPanelRegionTools::onRefresh(), refreshAll(), and show().

void LLFloaterGodTools::show ( void  )  [static]

Definition at line 212 of file llfloatergodtools.cpp.

References LLPanel::childGetVisibleTab(), gAgent, LLAgent::getRegionHost(), instance(), mCurrentHost, mPanelObjectTools, LLUUID::null, LLFloater::open(), sendRegionInfoRequest(), LLPanel::setFocus(), LLPanelObjectTools::setTargetAvatar(), and TRUE.

Referenced by init_server_menu().

void LLFloaterGodTools::showPanel ( const LLString panel_name  ) 

Definition at line 227 of file llfloatergodtools.cpp.

References LLPanel::childGetVisibleTab(), LLPanel::childShowTab(), LLFloater::open(), LLPanel::setFocus(), and TRUE.

void LLFloaterGodTools::updatePopup ( LLCoordGL  center,
MASK  mask 
)

Definition at line 181 of file llfloatergodtools.cpp.


Member Data Documentation

LLHost LLFloaterGodTools::mCurrentHost

Definition at line 122 of file llfloatergodtools.h.

Referenced by draw(), processRegionInfo(), refreshAll(), sendGodUpdateRegionInfo(), sendRegionInfoRequest(), and show().

LLPanelObjectTools* LLFloaterGodTools::mPanelObjectTools

Definition at line 120 of file llfloatergodtools.h.

Referenced by computeRegionFlags(), processRegionInfo(), sendRegionInfoRequest(), and show().

LLPanelRegionTools* LLFloaterGodTools::mPanelRegionTools

Definition at line 119 of file llfloatergodtools.h.

Referenced by computeRegionFlags(), processRegionInfo(), sendGodUpdateRegionInfo(), and sendRegionInfoRequest().

LLFrameTimer LLFloaterGodTools::mUpdateTimer

Definition at line 123 of file llfloatergodtools.h.

Referenced by draw(), and sendRegionInfoRequest().

LLFloaterGodTools* LLFloaterGodTools::sInstance [static, protected]

Definition at line 116 of file llfloatergodtools.h.


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:19 2010 for Second Life Viewer by  doxygen 1.4.7