LLSimpleDispatcher Class Reference

Inheritance diagram for LLSimpleDispatcher:

Inheritance graph
[legend]
Collaboration diagram for LLSimpleDispatcher:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLSimpleDispatcher (LLEventDispatcher *parent)
virtual ~LLSimpleDispatcher ()
virtual void addListener (LLEventListener *listener, LLSD filter, const LLSD &userdata)
virtual void removeListener (LLEventListener *listener)
virtual std::vector
< LLListenerEntry
getListeners () const
virtual bool fireEvent (LLPointer< LLEvent > event, LLSD filter)

Protected Attributes

std::vector< LLListenerEntrymListeners
LLEventDispatchermParent


Detailed Description

Definition at line 156 of file llevent.cpp.


Constructor & Destructor Documentation

LLSimpleDispatcher::LLSimpleDispatcher ( LLEventDispatcher parent  )  [inline]

Definition at line 159 of file llevent.cpp.

LLSimpleDispatcher::~LLSimpleDispatcher (  )  [virtual]

Definition at line 171 of file llevent.cpp.

References mListeners, and removeListener().

Here is the call graph for this function:


Member Function Documentation

void LLSimpleDispatcher::addListener ( LLEventListener listener,
LLSD  filter,
const LLSD userdata 
) [virtual]

void LLSimpleDispatcher::removeListener ( LLEventListener listener  )  [virtual]

Implements LLEventDispatcher::Impl.

Definition at line 191 of file llevent.cpp.

References LLEventListener::handleDetach(), mListeners, and mParent.

Referenced by addListener(), and ~LLSimpleDispatcher().

Here is the call graph for this function:

Here is the caller graph for this function:

std::vector< LLListenerEntry > LLSimpleDispatcher::getListeners (  )  const [virtual]

Implements LLEventDispatcher::Impl.

Definition at line 206 of file llevent.cpp.

References mListeners.

bool LLSimpleDispatcher::fireEvent ( LLPointer< LLEvent event,
LLSD  filter 
) [virtual]

Implements LLEventDispatcher::Impl.

Definition at line 219 of file llevent.cpp.

References LLSD::asString(), LLListenerEntry::filter, LLListenerEntry::listener, and mListeners.

Here is the call graph for this function:


Member Data Documentation

Definition at line 168 of file llevent.cpp.

Referenced by addListener(), and removeListener().


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

Generated on Fri May 16 09:04:36 2008 for SecondLife by  doxygen 1.5.5