#include <lleventnotifier.h>
Collaboration diagram for LLEventNotifier:
Public Types | |
typedef std::map< U32, LLEventNotification * > | en_map |
Public Member Functions | |
LLEventNotifier () | |
virtual | ~LLEventNotifier () |
void | update () |
void | load (const LLUserAuth::options_t &event_options) |
void | add (LLEventInfo &event_info) |
void | remove (U32 event_id) |
BOOL | hasNotification (const U32 event_id) |
Static Public Member Functions | |
static void | notifyCallback (S32 option, void *user_data) |
Protected Attributes | |
en_map | mEventNotifications |
LLFrameTimer | mNotificationTimer |
Definition at line 43 of file lleventnotifier.h.
typedef std::map<U32, LLEventNotification *> LLEventNotifier::en_map |
Definition at line 57 of file lleventnotifier.h.
LLEventNotifier::LLEventNotifier | ( | ) |
Definition at line 46 of file lleventnotifier.cpp.
LLEventNotifier::~LLEventNotifier | ( | ) | [virtual] |
void LLEventNotifier::add | ( | LLEventInfo & | event_info | ) |
Definition at line 128 of file lleventnotifier.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, LLMessageSystem::addU32(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLEventNotification::load(), mEventNotifications, LLEventInfo::mID, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().
Referenced by LLPanelEvent::onClickNotify().
Definition at line 118 of file lleventnotifier.cpp.
References FALSE, mEventNotifications, and TRUE.
Referenced by LLPanelEvent::onClickNotify(), and LLPanelEvent::processEventInfoReply().
void LLEventNotifier::load | ( | const LLUserAuth::options_t & | event_options | ) |
Definition at line 96 of file lleventnotifier.cpp.
References LLEventNotification::getEventID(), LLEventNotification::load(), and mEventNotifications.
Referenced by idle_startup().
Definition at line 177 of file lleventnotifier.cpp.
References gAgent, gDisplayEventHack, LLEventNotification::getEventID(), LLEventNotification::getEventPosGlobal(), gFloaterWorldMap, llendl, llwarns, LLFloaterDirectory::showEvents(), LLAgent::teleportViaLocation(), LLFloaterWorldMap::trackLocation(), and TRUE.
Referenced by update().
Definition at line 153 of file lleventnotifier.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, LLMessageSystem::addU32(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, mEventNotifications, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().
Referenced by LLPanelEvent::onClickNotify().
void LLEventNotifier::update | ( | ) |
Definition at line 64 of file lleventnotifier.cpp.
References LLFrameTimer::getElapsedTimeF32(), mEventNotifications, mNotificationTimer, notifyCallback(), LLFrameTimer::reset(), LLNotifyBox::showXml(), and time_corrected().
Referenced by idle().
en_map LLEventNotifier::mEventNotifications [protected] |
Definition at line 61 of file lleventnotifier.h.
Referenced by add(), hasNotification(), load(), remove(), update(), and ~LLEventNotifier().
LLFrameTimer LLEventNotifier::mNotificationTimer [protected] |