LLInventoryFetchDescendentsObserver Class Reference

#include <llinventorymodel.h>

Inheritance diagram for LLInventoryFetchDescendentsObserver:

Inheritance graph
[legend]
Collaboration diagram for LLInventoryFetchDescendentsObserver:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::vector< LLUUIDfolder_ref_t

Public Member Functions

 LLInventoryFetchDescendentsObserver ()
virtual void changed (U32 mask)
void fetchDescendents (const folder_ref_t &ids)
bool isEverythingComplete () const
virtual void done ()=0

Protected Member Functions

bool isComplete (LLViewerInventoryCategory *cat)

Protected Attributes

folder_ref_t mIncompleteFolders
folder_ref_t mCompleteFolders

Detailed Description

Definition at line 695 of file llinventorymodel.h.


Member Typedef Documentation

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

Definition at line 701 of file llinventorymodel.h.


Constructor & Destructor Documentation

LLInventoryFetchDescendentsObserver::LLInventoryFetchDescendentsObserver (  )  [inline]

Definition at line 698 of file llinventorymodel.h.


Member Function Documentation

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

Implements LLInventoryObserver.

Definition at line 3033 of file llinventorymodel.cpp.

References done(), LLInventoryModel::getCategory(), gInventory, isComplete(), mCompleteFolders, and mIncompleteFolders.

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

Implemented in LLRightClickInventoryFetchDescendentsObserver, LLOutfitFetch, LLTextureFetchDescendentsObserver, LLCategoryDropDescendentsObserver, and LLFetchInWelcomeArea.

Referenced by changed().

void LLInventoryFetchDescendentsObserver::fetchDescendents ( const folder_ref_t ids  ) 

Definition at line 3057 of file llinventorymodel.cpp.

References LLViewerInventoryCategory::fetchDescendents(), LLInventoryModel::getCategory(), gInventory, isComplete(), mCompleteFolders, and mIncompleteFolders.

Referenced by LLFolderBridge::buildContextMenu(), and wear_inventory_category().

bool LLInventoryFetchDescendentsObserver::isComplete ( LLViewerInventoryCategory cat  )  [protected]

Definition at line 3081 of file llinventorymodel.cpp.

References LLDynamicArray< Type, BlockSize >::count(), LLViewerInventoryCategory::DESCENDENT_COUNT_UNKNOWN, LLViewerInventoryCategory::getDescendentCount(), LLInventoryModel::getDirectDescendentsOf(), LLInventoryObject::getUUID(), LLViewerInventoryCategory::getVersion(), gInventory, S32, and LLViewerInventoryCategory::VERSION_UNKNOWN.

Referenced by changed(), and fetchDescendents().

bool LLInventoryFetchDescendentsObserver::isEverythingComplete (  )  const

Definition at line 3076 of file llinventorymodel.cpp.

References mIncompleteFolders.

Referenced by LLFolderBridge::buildContextMenu(), and wear_inventory_category().


Member Data Documentation

folder_ref_t LLInventoryFetchDescendentsObserver::mCompleteFolders [protected]

Definition at line 709 of file llinventorymodel.h.

Referenced by changed(), LLFetchInWelcomeArea::done(), LLCategoryDropDescendentsObserver::done(), LLOutfitFetch::done(), LLRightClickInventoryFetchDescendentsObserver::done(), and fetchDescendents().

folder_ref_t LLInventoryFetchDescendentsObserver::mIncompleteFolders [protected]

Definition at line 708 of file llinventorymodel.h.

Referenced by changed(), fetchDescendents(), 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