#include <llevent.h>
Inheritance diagram for LLObservable:
Public Member Functions | |
LLObservable () | |
virtual | ~LLObservable () |
virtual bool | setDispatcher (LLPointer< LLEventDispatcher > dispatcher) |
virtual LLEventDispatcher * | getDispatcher () |
void | addListener (LLEventListener *listener, LLSD filter="", const LLSD &userdata="") |
void | removeListener (LLEventListener *listener) |
void | fireEvent (LLPointer< LLEvent > event, LLSD filter) |
Protected Attributes | |
LLPointer< LLEventDispatcher > | mDispatcher |
Definition at line 159 of file llevent.h.
LLObservable::LLObservable | ( | ) |
Definition at line 61 of file llevent.cpp.
LLObservable::~LLObservable | ( | ) | [virtual] |
Definition at line 67 of file llevent.cpp.
References mDispatcher, LLPointer< Type >::notNull(), and NULL.
void LLObservable::addListener | ( | LLEventListener * | listener, | |
LLSD | filter = "" , |
|||
const LLSD & | userdata = "" | |||
) | [inline] |
Definition at line 173 of file llevent.h.
References mDispatcher, and LLPointer< Type >::notNull().
Referenced by LLVOAvatar::buildCharacter(), LLObjectBridge::buildContextMenu(), LLAgent::init(), LLUI::initClass(), LLNetMap::LLNetMap(), LLPanelGroups::LLPanelGroups(), LLVoiceClient::LLVoiceClient(), LLMenuGL::parseChildXML(), LLControlBase::registerListener(), saved_settings_to_globals(), and settings_setup_listeners().
Definition at line 100 of file llevent.cpp.
References mDispatcher, and LLPointer< Type >::notNull().
Referenced by LLMenuItemCallGL::buildDrawLabel(), LLMenuItemCallGL::doIt(), LLControlBase::firePropertyChanged(), LLMenuItemCallGL::handleAcceleratorKey(), LLButton::setToggleState(), and update_group_floaters().
LLEventDispatcher * LLObservable::getDispatcher | ( | ) | [virtual] |
void LLObservable::removeListener | ( | LLEventListener * | listener | ) | [inline] |
Definition at line 177 of file llevent.h.
References mDispatcher, and LLPointer< Type >::notNull().
Referenced by LLPanelGroups::~LLPanelGroups().
bool LLObservable::setDispatcher | ( | LLPointer< LLEventDispatcher > | dispatcher | ) | [virtual] |
Definition at line 77 of file llevent.cpp.
References mDispatcher, LLPointer< Type >::notNull(), and NULL.
LLPointer<LLEventDispatcher> LLObservable::mDispatcher [protected] |
Definition at line 185 of file llevent.h.
Referenced by addListener(), fireEvent(), getDispatcher(), LLMenuItemCallGL::getXML(), removeListener(), setDispatcher(), and ~LLObservable().