LLViewerThrottleGroup Class Reference

#include <llviewerthrottle.h>

List of all members.

Protected Attributes

F32 mThrottles [TC_EOF]
F32 mThrottleTotal

Private Member Functions

 LLViewerThrottleGroup ()
 LLViewerThrottleGroup (const F32 settings[TC_EOF])
LLViewerThrottleGroup operator * (const F32 frac) const
LLViewerThrottleGroup operator+ (const LLViewerThrottleGroup &b) const
LLViewerThrottleGroup operator- (const LLViewerThrottleGroup &b) const
F32 getTotal ()
void sendToSim () const
void dump ()

Friends

class LLViewerThrottle


Detailed Description

Definition at line 41 of file llviewerthrottle.h.


Constructor & Destructor Documentation

LLViewerThrottleGroup::LLViewerThrottleGroup (  )  [private]

Definition at line 79 of file llviewerthrottle.cpp.

References f, i, mThrottles, mThrottleTotal, S32, and TC_EOF.

LLViewerThrottleGroup::LLViewerThrottleGroup ( const F32  settings[TC_EOF]  )  [private]


Member Function Documentation

void LLViewerThrottleGroup::dump (  )  [private]

Definition at line 180 of file llviewerthrottle.cpp.

References llendl, llinfos, mThrottles, mThrottleTotal, S32, LLViewerThrottle::sNames, and TC_EOF.

Referenced by LLViewerThrottle::load().

F32 LLViewerThrottleGroup::getTotal (  )  [inline, private]

Definition at line 50 of file llviewerthrottle.h.

References mThrottleTotal.

Referenced by LLViewerThrottle::getThrottleGroup().

LLViewerThrottleGroup LLViewerThrottleGroup::operator * ( const F32  frac  )  const [private]

Definition at line 102 of file llviewerthrottle.cpp.

References mThrottles, mThrottleTotal, S32, and TC_EOF.

LLViewerThrottleGroup LLViewerThrottleGroup::operator+ ( const LLViewerThrottleGroup b  )  const [private]

Definition at line 118 of file llviewerthrottle.cpp.

References b, mThrottles, mThrottleTotal, S32, and TC_EOF.

LLViewerThrottleGroup LLViewerThrottleGroup::operator- ( const LLViewerThrottleGroup b  )  const [private]

Definition at line 134 of file llviewerthrottle.cpp.

References b, mThrottles, mThrottleTotal, S32, and TC_EOF.

void LLViewerThrottleGroup::sendToSim (  )  const [private]

Definition at line 150 of file llviewerthrottle.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentThrottle, _PREHASH_CircuitCode, _PREHASH_GenCounter, _PREHASH_SessionID, _PREHASH_Throttle, _PREHASH_Throttles, LLMessageSystem::addBinaryDataFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLDataPackerBinaryBuffer::getCurrentSize(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, llendl, llinfos, MAX_THROTTLE_SIZE, LLMessageSystem::mOurCircuitCode, mThrottles, mThrottleTotal, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLDataPackerBinaryBuffer::packF32(), S32, LLAgent::sendReliableMessage(), and TC_EOF.

Referenced by LLViewerThrottle::sendToSim(), and LLViewerThrottle::updateDynamicThrottle().


Friends And Related Function Documentation

friend class LLViewerThrottle [friend]

Definition at line 55 of file llviewerthrottle.h.


Member Data Documentation

F32 LLViewerThrottleGroup::mThrottles[TC_EOF] [protected]

Definition at line 57 of file llviewerthrottle.h.

Referenced by dump(), LLViewerThrottleGroup(), operator *(), operator+(), operator-(), and sendToSim().

F32 LLViewerThrottleGroup::mThrottleTotal [protected]

Definition at line 58 of file llviewerthrottle.h.

Referenced by dump(), getTotal(), LLViewerThrottleGroup(), operator *(), operator+(), operator-(), and sendToSim().


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