#include <llinventorymodel.h>
Inheritance diagram for LLInventoryFetchObserver:
Public Types | |
typedef std::vector< LLUUID > | item_ref_t |
Public Member Functions | |
LLInventoryFetchObserver () | |
virtual void | changed (U32 mask) |
bool | isEverythingComplete () const |
void | fetchItems (const item_ref_t &ids) |
virtual void | done ()=0 |
Protected Attributes | |
item_ref_t | mComplete |
item_ref_t | mIncomplete |
Definition at line 671 of file llinventorymodel.h.
typedef std::vector<LLUUID> LLInventoryFetchObserver::item_ref_t |
Definition at line 677 of file llinventorymodel.h.
LLInventoryFetchObserver::LLInventoryFetchObserver | ( | ) | [inline] |
Definition at line 674 of file llinventorymodel.h.
Implements LLInventoryObserver.
Definition at line 2939 of file llinventorymodel.cpp.
References done(), LLInventoryModel::getItem(), gInventory, mComplete, and mIncomplete.
virtual void LLInventoryFetchObserver::done | ( | ) | [pure virtual] |
Implemented in LLCurrentlyWorn, LLRightClickInventoryFetchObserver, LLOutfitObserver, LLGestureInventoryFetchObserver, LLCategoryDropObserver, LLWornItemFetchedObserver, and LLOpenAgentOffer.
Referenced by changed().
void LLInventoryFetchObserver::fetchItems | ( | const item_ref_t & | ids | ) |
Definition at line 2978 of file llinventorymodel.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_FetchInventory, _PREHASH_InventoryData, _PREHASH_ItemID, _PREHASH_OwnerID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLAgent::getID(), LLInventoryModel::getItem(), LLAgent::getSessionID(), gInventory, gMessageSystem, LLMessageSystem::isSendFull(), mComplete, mIncomplete, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, LLAgent::sendReliableMessage(), and TRUE.
Referenced by LLToolDragAndDrop::dad3dUpdateInventoryCategory(), LLOutfitFetch::done(), LLRightClickInventoryFetchDescendentsObserver::done(), LLFloaterCustomize::fetchInventory(), LLAttachmentEnableDrop::handleEvent(), idle_startup(), and inventory_offer_callback().
bool LLInventoryFetchObserver::isEverythingComplete | ( | ) | const |
Definition at line 2973 of file llinventorymodel.cpp.
References mIncomplete.
Referenced by LLToolDragAndDrop::dad3dUpdateInventoryCategory(), and LLOutfitFetch::done().
item_ref_t LLInventoryFetchObserver::mComplete [protected] |
Definition at line 684 of file llinventorymodel.h.
Referenced by changed(), LLOpenAgentOffer::done(), LLCategoryDropObserver::done(), LLOutfitObserver::done(), and fetchItems().
item_ref_t LLInventoryFetchObserver::mIncomplete [protected] |
Definition at line 685 of file llinventorymodel.h.
Referenced by changed(), fetchItems(), and isEverythingComplete().