LLInventoryFetchObserver Class Reference

#include <llinventorymodel.h>

Inheritance diagram for LLInventoryFetchObserver:

Inheritance graph
[legend]
Collaboration diagram for LLInventoryFetchObserver:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::vector< LLUUIDitem_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

Detailed Description

Definition at line 671 of file llinventorymodel.h.


Member Typedef Documentation

typedef std::vector<LLUUID> LLInventoryFetchObserver::item_ref_t

Definition at line 677 of file llinventorymodel.h.


Constructor & Destructor Documentation

LLInventoryFetchObserver::LLInventoryFetchObserver (  )  [inline]

Definition at line 674 of file llinventorymodel.h.


Member Function Documentation

void LLInventoryFetchObserver::changed ( U32  mask  )  [virtual]

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().


Member Data Documentation

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().


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