#include <llinventorymodel.h>
Inheritance diagram for LLInventoryFetchDescendentsObserver:
Public Types | |
typedef std::vector< LLUUID > | folder_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 |
Definition at line 695 of file llinventorymodel.h.
typedef std::vector<LLUUID> LLInventoryFetchDescendentsObserver::folder_ref_t |
Definition at line 701 of file llinventorymodel.h.
LLInventoryFetchDescendentsObserver::LLInventoryFetchDescendentsObserver | ( | ) | [inline] |
Definition at line 698 of file llinventorymodel.h.
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().
Definition at line 709 of file llinventorymodel.h.
Referenced by changed(), LLFetchInWelcomeArea::done(), LLCategoryDropDescendentsObserver::done(), LLOutfitFetch::done(), LLRightClickInventoryFetchDescendentsObserver::done(), and fetchDescendents().
Definition at line 708 of file llinventorymodel.h.
Referenced by changed(), fetchDescendents(), and isEverythingComplete().