LLInventoryCallbackManager Class Reference

#include <llviewerinventory.h>

Collaboration diagram for LLInventoryCallbackManager:

Collaboration graph
[legend]

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

Static Private Attributes

static LLInventoryCallbackManagersInstance = NULL


Detailed Description

Definition at line 236 of file llviewerinventory.h.


Constructor & Destructor Documentation

LLInventoryCallbackManager::LLInventoryCallbackManager (  ) 

Definition at line 576 of file llviewerinventory.cpp.

References llendl, llwarns, NULL, and sInstance.

LLInventoryCallbackManager::~LLInventoryCallbackManager (  ) 

Definition at line 587 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 610 of file llviewerinventory.cpp.

References i, LLUUID::isNull(), and mMap.

Referenced by LLInventoryModel::processBulkUpdateInventory(), and LLInventoryModel::processUpdateCreateInventoryItem().

Here is the call graph for this function:

Here is the caller graph for this function:

U32 LLInventoryCallbackManager::registerCB ( LLPointer< LLInventoryCallback cb  ) 

Definition at line 597 of file llviewerinventory.cpp.

References LLPointer< Type >::isNull(), mLastCallback, and mMap.

Referenced by copy_inventory_item(), create_inventory_item(), and LLViewerTextEditor::openEmbeddedNotecard().

Here is the call graph for this function:

Here is the caller graph for this function:

static bool LLInventoryCallbackManager::is_instantiated (  )  [inline, static]

Definition at line 249 of file llviewerinventory.h.

References NULL, and sInstance.

Referenced by LLWearInventoryCategoryCallback::~LLWearInventoryCategoryCallback().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 245 of file llviewerinventory.h.

Referenced by fire(), and registerCB().

Definition at line 246 of file llviewerinventory.h.

Referenced by registerCB().

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

Definition at line 247 of file llviewerinventory.h.

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


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:50:01 2008 for SecondLife by  doxygen 1.5.5