LLInventoryCallbackManager Class Reference

#include <llviewerinventory.h>

Collaboration diagram for LLInventoryCallbackManager:

Collaboration graph
List of all members.

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 > > 
U32 mLastCallback

Static Private Attributes

static LLInventoryCallbackManagersInstance = NULL

Detailed Description

Definition at line 229 of file llviewerinventory.h.

Constructor & Destructor Documentation

LLInventoryCallbackManager::LLInventoryCallbackManager (  ) 

Definition at line 562 of file llviewerinventory.cpp.

References llendl, llwarns, NULL, and sInstance.

LLInventoryCallbackManager::~LLInventoryCallbackManager (  ) 

Definition at line 573 of file llviewerinventory.cpp.

References llendl, llwarns, NULL, and sInstance.

Member Function Documentation

void LLInventoryCallbackManager::fire ( U32  callback_id,
const LLUUID item_id 

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

Member Data Documentation

U32 LLInventoryCallbackManager::mLastCallback [private]

Definition at line 239 of file llviewerinventory.h.

Referenced by registerCB().

std::map<U32, LLPointer<LLInventoryCallback> > LLInventoryCallbackManager::mMap [private]

Definition at line 238 of file llviewerinventory.h.

Referenced by fire(), and registerCB().

LLInventoryCallbackManager * LLInventoryCallbackManager::sInstance = NULL [static, private]

---------------------------------------------------------------------------- Local function definitions ----------------------------------------------------------------------------

Definition at line 240 of file llviewerinventory.h.

Referenced by is_instantiated(), LLInventoryCallbackManager(), and ~LLInventoryCallbackManager().

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