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< LLListenerEntry > | mListeners |
LLEventDispatcher * | mParent |
Definition at line 156 of file llevent.cpp.
LLSimpleDispatcher::LLSimpleDispatcher | ( | LLEventDispatcher * | parent | ) | [inline] |
Definition at line 159 of file llevent.cpp.
LLSimpleDispatcher::~LLSimpleDispatcher | ( | ) | [virtual] |
void LLSimpleDispatcher::addListener | ( | LLEventListener * | listener, | |
LLSD | filter, | |||
const LLSD & | userdata | |||
) | [virtual] |
Implements LLEventDispatcher::Impl.
Definition at line 179 of file llevent.cpp.
References LLListenerEntry::filter, LLEventListener::handleAttach(), LLListenerEntry::listener, mListeners, mParent, NULL, removeListener(), and LLListenerEntry::userdata.
Implements LLEventDispatcher::Impl.
Definition at line 219 of file llevent.cpp.
References LLSD::asString(), and mListeners.
std::vector< LLListenerEntry > LLSimpleDispatcher::getListeners | ( | ) | const [virtual] |
Implements LLEventDispatcher::Impl.
Definition at line 206 of file llevent.cpp.
References mListeners.
void LLSimpleDispatcher::removeListener | ( | LLEventListener * | listener | ) | [virtual] |
Implements LLEventDispatcher::Impl.
Definition at line 191 of file llevent.cpp.
References end, and mListeners.
Referenced by addListener(), and ~LLSimpleDispatcher().
std::vector<LLListenerEntry> LLSimpleDispatcher::mListeners [protected] |
Definition at line 167 of file llevent.cpp.
Referenced by addListener(), fireEvent(), getListeners(), removeListener(), and ~LLSimpleDispatcher().
LLEventDispatcher* LLSimpleDispatcher::mParent [protected] |