#include <llviewerinventory.h>
Collaboration diagram for LLInventoryCallbackManager:
Public Member Functions | |
LLInventoryCallbackManager () | |
~LLInventoryCallbackManager () | |
void | fire (U32 callback_id, const LLUUID &item_id) |
U32 | registerCB (LLPointer< LLInventoryCallback > cb) |
Static Public Member Functions | |
static bool | is_instantiated () |
Private Attributes | |
std::map< U32, LLPointer< LLInventoryCallback > > | mMap |
U32 | mLastCallback |
Static Private Attributes | |
static LLInventoryCallbackManager * | sInstance = NULL |
Definition at line 229 of file llviewerinventory.h.
LLInventoryCallbackManager::LLInventoryCallbackManager | ( | ) |
LLInventoryCallbackManager::~LLInventoryCallbackManager | ( | ) |
Definition at line 596 of file llviewerinventory.cpp.
References i, LLUUID::isNull(), and mMap.
Referenced by LLInventoryModel::processBulkUpdateInventory(), and LLInventoryModel::processUpdateCreateInventoryItem().
static bool LLInventoryCallbackManager::is_instantiated | ( | ) | [inline, static] |
Definition at line 242 of file llviewerinventory.h.
References NULL, and sInstance.
Referenced by LLWearInventoryCategoryCallback::~LLWearInventoryCategoryCallback().
U32 LLInventoryCallbackManager::registerCB | ( | LLPointer< LLInventoryCallback > | cb | ) |
Definition at line 583 of file llviewerinventory.cpp.
References LLPointer< Type >::isNull(), mLastCallback, and mMap.
Referenced by copy_inventory_item(), create_inventory_item(), and LLViewerTextEditor::openEmbeddedNotecard().
U32 LLInventoryCallbackManager::mLastCallback [private] |
std::map<U32, LLPointer<LLInventoryCallback> > LLInventoryCallbackManager::mMap [private] |
LLInventoryCallbackManager * LLInventoryCallbackManager::sInstance = NULL [static, private] |
---------------------------------------------------------------------------- Local function definitions ----------------------------------------------------------------------------
Definition at line 240 of file llviewerinventory.h.
Referenced by is_instantiated(), LLInventoryCallbackManager(), and ~LLInventoryCallbackManager().