LLMessageThrottle Class Reference

#include <llmessagethrottle.h>

Collaboration diagram for LLMessageThrottle:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLMessageThrottle ()
 ~LLMessageThrottle ()
BOOL addViewerAlert (const LLUUID &to, const char *mesg)
BOOL addAgentAlert (const LLUUID &agent, const LLUUID &task, const char *mesg)
void pruneEntries ()

Protected Types

typedef std::deque< LLMessageThrottleEntrymessage_list_t
typedef std::deque< LLMessageThrottleEntry
>::iterator 
message_list_iterator_t
typedef std::deque< LLMessageThrottleEntry
>::reverse_iterator 
message_list_reverse_iterator_t
typedef std::deque< LLMessageThrottleEntry
>::const_iterator 
message_list_const_iterator_t
typedef std::deque< LLMessageThrottleEntry
>::const_reverse_iterator 
message_list_const_reverse_iterator_t

Protected Attributes

message_list_t mMessageList [MTC_EOF]

Detailed Description

Definition at line 61 of file llmessagethrottle.h.


Member Typedef Documentation

typedef std::deque<LLMessageThrottleEntry>::const_iterator LLMessageThrottle::message_list_const_iterator_t [protected]

Definition at line 76 of file llmessagethrottle.h.

typedef std::deque<LLMessageThrottleEntry>::const_reverse_iterator LLMessageThrottle::message_list_const_reverse_iterator_t [protected]

Definition at line 77 of file llmessagethrottle.h.

typedef std::deque<LLMessageThrottleEntry>::iterator LLMessageThrottle::message_list_iterator_t [protected]

Definition at line 74 of file llmessagethrottle.h.

typedef std::deque<LLMessageThrottleEntry>::reverse_iterator LLMessageThrottle::message_list_reverse_iterator_t [protected]

Definition at line 75 of file llmessagethrottle.h.

typedef std::deque<LLMessageThrottleEntry> LLMessageThrottle::message_list_t [protected]

Definition at line 73 of file llmessagethrottle.h.


Constructor & Destructor Documentation

LLMessageThrottle::LLMessageThrottle (  ) 

Definition at line 52 of file llmessagethrottle.cpp.

LLMessageThrottle::~LLMessageThrottle (  ) 

Definition at line 56 of file llmessagethrottle.cpp.


Member Function Documentation

BOOL LLMessageThrottle::addAgentAlert ( const LLUUID agent,
const LLUUID task,
const char *  mesg 
)

Definition at line 132 of file llmessagethrottle.cpp.

References eq_message_throttle_entry(), FALSE, LLFrameTimer::getTotalTime(), mMessageList, MTC_AGENT_ALERT, and TRUE.

BOOL LLMessageThrottle::addViewerAlert ( const LLUUID to,
const char *  mesg 
)

Definition at line 103 of file llmessagethrottle.cpp.

References eq_message_throttle_entry(), FALSE, LLFrameTimer::getTotalTime(), mMessageList, MTC_VIEWER_ALERT, and TRUE.

void LLMessageThrottle::pruneEntries (  ) 

Definition at line 60 of file llmessagethrottle.cpp.

References FALSE, LLFrameTimer::getTotalTime(), MAX_MESSAGE_AGE, mMessageList, MTC_EOF, S32, and TRUE.


Member Data Documentation

message_list_t LLMessageThrottle::mMessageList[MTC_EOF] [protected]

Definition at line 78 of file llmessagethrottle.h.

Referenced by addAgentAlert(), addViewerAlert(), and pruneEntries().


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