#include <llfloatertelehub.h>
Inheritance diagram for LLFloaterTelehub:
Public Member Functions | |
virtual void | draw () |
Static Public Member Functions | |
static void | show () |
static BOOL | renderBeacons () |
static void | addBeacons () |
Private Member Functions | |
LLFloaterTelehub () | |
~LLFloaterTelehub () | |
void | refresh () |
void | sendTelehubInfoRequest () |
void | unpackTelehubInfo (LLMessageSystem *msg) |
Static Private Member Functions | |
static void | onClickConnect (void *data) |
static void | onClickDisconnect (void *data) |
static void | onClickAddSpawnPoint (void *data) |
static void | onClickRemoveSpawnPoint (void *data) |
static void | processTelehubInfo (LLMessageSystem *msg, void **) |
Private Attributes | |
LLUUID | mTelehubObjectID |
LLString | mTelehubObjectName |
LLVector3 | mTelehubPos |
LLQuaternion | mTelehubRot |
S32 | mNumSpawn |
LLVector3 | mSpawnPointPos [MAX_SPAWNPOINTS_PER_TELEHUB] |
LLHandle< LLObjectSelection > | mObjectSelection |
Static Private Attributes | |
static LLFloaterTelehub * | sInstance = NULL |
Definition at line 43 of file llfloatertelehub.h.
LLFloaterTelehub::LLFloaterTelehub | ( | ) | [private] |
Definition at line 83 of file llfloatertelehub.cpp.
References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), FALSE, LLSelectMgr::getEditSelection(), LLUICtrlFactory::getScrollListByName(), gMessageSystem, gSelectMgr, gUICtrlFactory, list, mObjectSelection, onClickAddSpawnPoint(), onClickConnect(), onClickDisconnect(), onClickRemoveSpawnPoint(), processTelehubInfo(), LLMessageSystem::setHandlerFunc(), and sInstance.
Referenced by show().
LLFloaterTelehub::~LLFloaterTelehub | ( | ) | [private] |
Definition at line 112 of file llfloatertelehub.cpp.
References gMessageSystem, NULL, LLMessageSystem::setHandlerFunc(), and sInstance.
void LLFloaterTelehub::addBeacons | ( | ) | [static] |
Definition at line 161 of file llfloatertelehub.cpp.
References LLViewerObjectList::addDebugBeacon(), LLViewerObjectList::findObject(), LLViewerObject::getPositionRegion(), LLViewerObject::getRotationRegion(), LLUICtrlFactory::getScrollListByName(), gObjectList, list, mSpawnPointPos, mTelehubObjectID, mTelehubPos, mTelehubRot, LLColor4::orange, S32, sInstance, LLColor4::white, and LLColor4::yellow.
Referenced by LLPipeline::postSort().
void LLFloaterTelehub::draw | ( | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 120 of file llfloatertelehub.cpp.
References LLFloater::draw(), LLView::getVisible(), LLFloater::isMinimized(), and refresh().
Definition at line 208 of file llfloatertelehub.cpp.
References LLSelectMgr::deselectAll(), gSelectMgr, and LLSelectMgr::sendGodlikeRequest().
Referenced by LLFloaterTelehub().
Definition at line 196 of file llfloatertelehub.cpp.
References gSelectMgr, and LLSelectMgr::sendGodlikeRequest().
Referenced by LLFloaterTelehub().
Definition at line 202 of file llfloatertelehub.cpp.
References gSelectMgr, and LLSelectMgr::sendGodlikeRequest().
Referenced by LLFloaterTelehub().
Definition at line 215 of file llfloatertelehub.cpp.
References _PREHASH_TransactionID, LLMessageSystem::addString(), LLMessageSystem::addUUID(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLUICtrlFactory::getScrollListByName(), LLAgent::getSessionID(), gMessageSystem, LLAgent::isGodlike(), list, MAX_STRING, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLUUID::null, S32, LLAgent::sendReliableMessage(), and sInstance.
Referenced by LLFloaterTelehub().
void LLFloaterTelehub::processTelehubInfo | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static, private] |
Definition at line 256 of file llfloatertelehub.cpp.
References sInstance, and unpackTelehubInfo().
Referenced by LLFloaterTelehub().
void LLFloaterTelehub::refresh | ( | ) | [private, virtual] |
Reimplemented from LLPanel.
Definition at line 130 of file llfloatertelehub.cpp.
References LLPanel::childSetEnabled(), LLUICtrlFactory::getScrollListByName(), gSelectMgr, list, LL_PCODE_VOLUME, MAX_SPAWNPOINTS_PER_TELEHUB, mNumSpawn, mObjectSelection, mTelehubObjectID, LLUUID::notNull(), NULL, LLSelectMgr::selectionAllPCode(), and TRUE.
Referenced by draw().
BOOL LLFloaterTelehub::renderBeacons | ( | ) | [static] |
Definition at line 154 of file llfloatertelehub.cpp.
References mTelehubObjectID, LLUUID::notNull(), and sInstance.
Referenced by LLPipeline::postSort().
void LLFloaterTelehub::sendTelehubInfoRequest | ( | ) | [private] |
Definition at line 190 of file llfloatertelehub.cpp.
References gSelectMgr, and LLSelectMgr::sendGodlikeRequest().
Referenced by show().
void LLFloaterTelehub::show | ( | ) | [static] |
Definition at line 54 of file llfloatertelehub.cpp.
References FALSE, gBasicToolset, LLToolMgr::getCurrentToolset(), LLRectBase< Type >::getHeight(), LLView::getRect(), LLRectBase< Type >::getWidth(), gFloaterTools, gToolMgr, gToolTranslate, LLFloaterTelehub(), LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, S32, LLToolset::selectTool(), sendTelehubInfoRequest(), LLToolMgr::setCurrentToolset(), LLRectBase< Type >::setLeftTopAndSize(), LLView::setRect(), LLFloater::setVisibleAndFrontmost(), LLFloaterTools::showMore(), and sInstance.
Referenced by LLPanelRegionGeneralInfo::onClickManageTelehub().
void LLFloaterTelehub::unpackTelehubInfo | ( | LLMessageSystem * | msg | ) | [private] |
Definition at line 264 of file llfloatertelehub.cpp.
References LLPanel::childSetTextArg(), LLPanel::childSetVisible(), LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getQuat(), LLUICtrlFactory::getScrollListByName(), LLMessageSystem::getString(), LLMessageSystem::getUUID(), LLMessageSystem::getVector3(), i, LLUUID::isNull(), list, llformat(), MAX_STRING, mNumSpawn, mSpawnPointPos, mTelehubObjectID, mTelehubObjectName, mTelehubPos, mTelehubRot, S32, VX, VY, and VZ.
Referenced by processTelehubInfo().
S32 LLFloaterTelehub::mNumSpawn [private] |
Definition at line 76 of file llfloatertelehub.h.
Referenced by addBeacons(), and unpackTelehubInfo().
LLUUID LLFloaterTelehub::mTelehubObjectID [private] |
Definition at line 70 of file llfloatertelehub.h.
Referenced by addBeacons(), refresh(), renderBeacons(), and unpackTelehubInfo().
LLString LLFloaterTelehub::mTelehubObjectName [private] |
LLVector3 LLFloaterTelehub::mTelehubPos [private] |
Definition at line 72 of file llfloatertelehub.h.
Referenced by addBeacons(), and unpackTelehubInfo().
LLQuaternion LLFloaterTelehub::mTelehubRot [private] |
Definition at line 73 of file llfloatertelehub.h.
Referenced by addBeacons(), and unpackTelehubInfo().
LLFloaterTelehub * LLFloaterTelehub::sInstance = NULL [static, private] |
Definition at line 80 of file llfloatertelehub.h.
Referenced by addBeacons(), LLFloaterTelehub(), onClickRemoveSpawnPoint(), processTelehubInfo(), renderBeacons(), show(), and ~LLFloaterTelehub().