LLCallbackList Class Reference

#include <llcallbacklist.h>

Collaboration diagram for LLCallbackList:

Collaboration graph
List of all members.

Public Types

typedef void(*) callback_t (void *)

Public Member Functions

 LLCallbackList ()
 ~LLCallbackList ()
void addFunction (callback_t func, void *data=NULL)
BOOL containsFunction (callback_t func, void *data=NULL)
BOOL deleteFunction (callback_t func, void *data=NULL)
void callFunctions ()
void deleteAllFunctions ()

Static Public Member Functions

static void test ()

Protected Types

typedef std::pair< callback_t,
void * > 
typedef std::list< callback_pair_tcallback_list_t

Protected Attributes

callback_list_t mCallbackList

Detailed Description

Definition at line 37 of file llcallbacklist.h.

Member Typedef Documentation

typedef std::list<callback_pair_t > LLCallbackList::callback_list_t [protected]

Definition at line 56 of file llcallbacklist.h.

typedef std::pair<callback_t,void*> LLCallbackList::callback_pair_t [protected]

Definition at line 55 of file llcallbacklist.h.

typedef void(*) LLCallbackList::callback_t(void *)

Definition at line 40 of file llcallbacklist.h.

Constructor & Destructor Documentation

LLCallbackList::LLCallbackList (  ) 

Definition at line 49 of file llcallbacklist.cpp.

LLCallbackList::~LLCallbackList (  ) 

Definition at line 54 of file llcallbacklist.cpp.

Member Function Documentation

void LLCallbackList::addFunction ( callback_t  func,
void data = NULL 

Definition at line 59 of file llcallbacklist.cpp.

References llendl, llerrs, mCallbackList, and t.

Referenced by LLToolBrushLand::handleMouseDown(), LLFloaterNetwork2080::LLFloaterNetwork2080(), LLFolderView::LLFolderView(), LLPanelInventory::LLPanelInventory(), LLVoiceClient::LLVoiceClient(), and LLInventoryModel::startBackgroundFetch().

void LLCallbackList::callFunctions (  ) 

Definition at line 114 of file llcallbacklist.cpp.

References mCallbackList.

Referenced by idle(), and idle_startup().

BOOL LLCallbackList::containsFunction ( callback_t  func,
void data = NULL 

Definition at line 77 of file llcallbacklist.cpp.

References FALSE, mCallbackList, t, and TRUE.

void LLCallbackList::deleteAllFunctions (  ) 

Definition at line 108 of file llcallbacklist.cpp.

References mCallbackList.

BOOL LLCallbackList::deleteFunction ( callback_t  func,
void data = NULL 

Definition at line 92 of file llcallbacklist.cpp.

References FALSE, mCallbackList, t, and TRUE.

Referenced by LLToolBrushLand::handleMouseUp(), LLToolBrushLand::onIdle(), LLToolBrushLand::onMouseCaptureLost(), LLInventoryModel::stopBackgroundFetch(), LLFloaterNetwork2080::~LLFloaterNetwork2080(), LLFolderView::~LLFolderView(), and LLPanelInventory::~LLPanelInventory().

static void LLCallbackList::test (  )  [static]

Member Data Documentation

callback_list_t LLCallbackList::mCallbackList [protected]

Definition at line 57 of file llcallbacklist.h.

Referenced by addFunction(), callFunctions(), containsFunction(), deleteAllFunctions(), and deleteFunction().

The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:12 2010 for Second Life Viewer by  doxygen 1.4.7