#include <llcompilequeue.h>
Inheritance diagram for LLFloaterScriptQueue:
Public Member Functions | |
void | addObject (const LLUUID &id) |
BOOL | start () |
Protected Member Functions | |
LLFloaterScriptQueue (const std::string &name, const LLRect &rect, const char *title, const char *start_string) | |
virtual | ~LLFloaterScriptQueue () |
void | inventoryChanged (LLViewerObject *obj, InventoryObjectList *inv, S32 serial_num, void *queue) |
virtual void | handleInventory (LLViewerObject *viewer_obj, InventoryObjectList *inv)=0 |
BOOL | isDone () const |
BOOL | nextObject () |
BOOL | popNext () |
const LLUUID & | getID () const |
Static Protected Member Functions | |
static void | onCloseBtn (void *user_data) |
static LLFloaterScriptQueue * | findInstance (const LLUUID &id) |
Protected Attributes | |
LLScrollListCtrl * | mMessages |
LLButton * | mCloseBtn |
LLDynamicArray< LLUUID > | mObjectIDs |
LLUUID | mCurrentObjectID |
BOOL | mDone |
LLUUID | mID |
const char * | mStartString |
Static Protected Attributes | |
static LLMap< LLUUID, LLFloaterScriptQueue * > | sInstances |
Definition at line 58 of file llcompilequeue.h.
LLFloaterScriptQueue::LLFloaterScriptQueue | ( | const std::string & | name, | |
const LLRect & | rect, | |||
const char * | title, | |||
const char * | start_string | |||
) | [protected] |
Definition at line 101 of file llcompilequeue.cpp.
References LLMap< INDEX_TYPE, MAPPED_TYPE >::addData(), LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetEnabled(), FALSE, LLFloater::getHost(), LLView::getRect(), gUICtrlFactory, mDone, mID, LLRectBase< Type >::mLeft, mStartString, LLRectBase< Type >::mTop, onCloseBtn(), LLFloater::setTitle(), sInstances, and LLView::translate().
LLFloaterScriptQueue::~LLFloaterScriptQueue | ( | ) | [protected, virtual] |
Definition at line 129 of file llcompilequeue.cpp.
References mID, LLMap< INDEX_TYPE, MAPPED_TYPE >::removeData(), and sInstances.
Definition at line 194 of file llcompilequeue.cpp.
References mObjectIDs, and LLDynamicArray< Type, BlockSize >::put().
LLFloaterScriptQueue * LLFloaterScriptQueue::findInstance | ( | const LLUUID & | id | ) | [static, protected] |
Definition at line 136 of file llcompilequeue.cpp.
References LLMap< INDEX_TYPE, MAPPED_TYPE >::checkData(), LLMap< INDEX_TYPE, MAPPED_TYPE >::getData(), NULL, and sInstances.
Referenced by LLFloaterCompileQueue::onSaveBytecodeComplete(), and LLFloaterCompileQueue::scriptArrived().
const LLUUID& LLFloaterScriptQueue::getID | ( | ) | const [inline, protected] |
Definition at line 94 of file llcompilequeue.h.
References mID.
Referenced by LLFloaterCompileQueue::handleInventory().
virtual void LLFloaterScriptQueue::handleInventory | ( | LLViewerObject * | viewer_obj, | |
InventoryObjectList * | inv | |||
) | [protected, pure virtual] |
Implemented in LLFloaterCompileQueue, LLFloaterResetQueue, LLFloaterRunQueue, and LLFloaterNotRunQueue.
Referenced by inventoryChanged().
void LLFloaterScriptQueue::inventoryChanged | ( | LLViewerObject * | obj, | |
InventoryObjectList * | inv, | |||
S32 | serial_num, | |||
void * | queue | |||
) | [protected, virtual] |
Implements LLVOInventoryListener.
Definition at line 149 of file llcompilequeue.cpp.
References LLViewerObject::getID(), handleInventory(), llendl, llinfos, llwarns, mCurrentObjectID, nextObject(), and LLVOInventoryListener::removeVOInventoryListener().
BOOL LLFloaterScriptQueue::isDone | ( | ) | const [protected] |
Definition at line 211 of file llcompilequeue.cpp.
References LLDynamicArray< Type, BlockSize >::count(), LLUUID::isNull(), mCurrentObjectID, and mObjectIDs.
Referenced by nextObject().
BOOL LLFloaterScriptQueue::nextObject | ( | ) | [protected] |
Definition at line 218 of file llcompilequeue.cpp.
References LLPanel::childSetEnabled(), LLDynamicArray< Type, BlockSize >::count(), count, FALSE, LLUICtrlFactory::getScrollListByName(), isDone(), list, llendl, llinfos, MAX_STRING, mCurrentObjectID, mDone, mObjectIDs, popNext(), S32, LLUUID::setNull(), and TRUE.
Referenced by LLFloaterNotRunQueue::handleInventory(), LLFloaterRunQueue::handleInventory(), LLFloaterResetQueue::handleInventory(), LLFloaterCompileQueue::handleInventory(), inventoryChanged(), LLFloaterCompileQueue::removeItemByAssetID(), and start().
BOOL LLFloaterScriptQueue::popNext | ( | ) | [protected] |
Definition at line 252 of file llcompilequeue.cpp.
References LLDynamicArray< Type, BlockSize >::count(), count, FALSE, LLViewerObjectList::findObject(), LLDynamicArray< Type, BlockSize >::get(), gObjectList, LLUUID::isNull(), llendl, llinfos, mCurrentObjectID, mID, mObjectIDs, LLVOInventoryListener::registerVOInventoryListener(), LLDynamicArray< Type, BlockSize >::remove(), LLVOInventoryListener::requestVOInventory(), S32, and TRUE.
Referenced by nextObject().
BOOL LLFloaterScriptQueue::start | ( | ) |
Definition at line 199 of file llcompilequeue.cpp.
References LLDynamicArray< Type, BlockSize >::count(), LLUICtrlFactory::getScrollListByName(), list, MAX_STRING, mObjectIDs, mStartString, and nextObject().
Referenced by queue_actions().
LLButton* LLFloaterScriptQueue::mCloseBtn [protected] |
Definition at line 102 of file llcompilequeue.h.
LLUUID LLFloaterScriptQueue::mCurrentObjectID [protected] |
Definition at line 106 of file llcompilequeue.h.
Referenced by inventoryChanged(), isDone(), nextObject(), popNext(), and LLFloaterCompileQueue::saveItemByAssetID().
BOOL LLFloaterScriptQueue::mDone [protected] |
Definition at line 107 of file llcompilequeue.h.
Referenced by LLFloaterScriptQueue(), and nextObject().
LLUUID LLFloaterScriptQueue::mID [protected] |
Definition at line 109 of file llcompilequeue.h.
Referenced by LLFloaterCompileQueue::compile(), getID(), LLFloaterScriptQueue(), popNext(), and ~LLFloaterScriptQueue().
LLScrollListCtrl* LLFloaterScriptQueue::mMessages [protected] |
Definition at line 101 of file llcompilequeue.h.
LLDynamicArray<LLUUID> LLFloaterScriptQueue::mObjectIDs [protected] |
Definition at line 105 of file llcompilequeue.h.
Referenced by addObject(), isDone(), nextObject(), popNext(), and start().
const char* LLFloaterScriptQueue::mStartString [protected] |
LLMap< LLUUID, LLFloaterScriptQueue * > LLFloaterScriptQueue::sInstances [static, protected] |
---------------------------------------------------------------------------- Class LLFloaterScriptQueue ----------------------------------------------------------------------------
Definition at line 110 of file llcompilequeue.h.
Referenced by findInstance(), LLFloaterScriptQueue(), and ~LLFloaterScriptQueue().