LLInventoryFetchComboObserver Class Reference

#include <llinventorymodel.h>

Inheritance diagram for LLInventoryFetchComboObserver:

Inheritance graph
[legend]
Collaboration diagram for LLInventoryFetchComboObserver:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::vector< LLUUIDfolder_ref_t
typedef std::vector< LLUUIDitem_ref_t

Public Member Functions

 LLInventoryFetchComboObserver ()
virtual void changed (U32 mask)
void fetch (const folder_ref_t &folder_ids, const item_ref_t &item_ids)
virtual void done ()=0

Protected Attributes

bool mDone
folder_ref_t mCompleteFolders
folder_ref_t mIncompleteFolders
item_ref_t mCompleteItems
item_ref_t mIncompleteItems

Detailed Description

Definition at line 720 of file llinventorymodel.h.


Member Typedef Documentation

typedef std::vector<LLUUID> LLInventoryFetchComboObserver::folder_ref_t

Definition at line 726 of file llinventorymodel.h.

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

Definition at line 727 of file llinventorymodel.h.


Constructor & Destructor Documentation

LLInventoryFetchComboObserver::LLInventoryFetchComboObserver (  )  [inline]

Definition at line 723 of file llinventorymodel.h.


Member Function Documentation

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

Implements LLInventoryObserver.

Definition at line 3111 of file llinventorymodel.cpp.

References done(), LLInventoryModel::getCategory(), LLInventoryModel::getItem(), gInventory, LLInventoryModel::isCategoryComplete(), mCompleteFolders, mCompleteItems, mDone, mIncompleteFolders, and mIncompleteItems.

virtual void LLInventoryFetchComboObserver::done (  )  [pure virtual]

Implemented in LLCategoryFireAndForget, and LLDiscardAgentOffer.

Referenced by changed().

void LLInventoryFetchComboObserver::fetch ( const folder_ref_t folder_ids,
const item_ref_t item_ids 
)

Definition at line 3158 of file llinventorymodel.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_FetchInventory, _PREHASH_InventoryData, _PREHASH_ItemID, _PREHASH_OwnerID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), LLViewerInventoryCategory::fetchDescendents(), gAgent, LLInventoryModel::getCategory(), LLAgent::getID(), LLInventoryModel::getItem(), LLAgent::getSessionID(), gInventory, gMessageSystem, LLInventoryModel::isCategoryComplete(), LLMessageSystem::isSendFullFast(), lldebugs, llendl, mCompleteFolders, mCompleteItems, mIncompleteFolders, mIncompleteItems, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().

Referenced by inventory_offer_callback().


Member Data Documentation

folder_ref_t LLInventoryFetchComboObserver::mCompleteFolders [protected]

Definition at line 734 of file llinventorymodel.h.

Referenced by changed(), and fetch().

item_ref_t LLInventoryFetchComboObserver::mCompleteItems [protected]

Definition at line 736 of file llinventorymodel.h.

Referenced by changed(), and fetch().

bool LLInventoryFetchComboObserver::mDone [protected]

Definition at line 733 of file llinventorymodel.h.

Referenced by changed().

folder_ref_t LLInventoryFetchComboObserver::mIncompleteFolders [protected]

Definition at line 735 of file llinventorymodel.h.

Referenced by changed(), and fetch().

item_ref_t LLInventoryFetchComboObserver::mIncompleteItems [protected]

Definition at line 737 of file llinventorymodel.h.

Referenced by changed(), and fetch().


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