LLVOCacheEntry Class Reference

#include <llvocache.h>

Inheritance diagram for LLVOCacheEntry:

Inheritance graph
[legend]
Collaboration diagram for LLVOCacheEntry:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLVOCacheEntry (U32 local_id, U32 crc, LLDataPackerBinaryBuffer &dp)
 LLVOCacheEntry (LLFILE *fp)
 LLVOCacheEntry ()
 ~LLVOCacheEntry ()
U32 getLocalID () const
U32 getCRC () const
S32 getHitCount () const
S32 getCRCChangeCount () const
void dump () const
void writeToFile (LLFILE *fp) const
void assignCRC (U32 crc, LLDataPackerBinaryBuffer &dp)
LLDataPackerBinaryBuffergetDP (U32 crc)
void recordHit ()
void recordDupe ()

Protected Attributes

U32 mLocalID
U32 mCRC
S32 mHitCount
S32 mDupeCount
S32 mCRCChangeCount
LLDataPackerBinaryBuffer mDP
U8mBuffer


Detailed Description

Definition at line 44 of file llvocache.h.


Constructor & Destructor Documentation

LLVOCacheEntry::LLVOCacheEntry ( U32  local_id,
U32  crc,
LLDataPackerBinaryBuffer dp 
)

Definition at line 42 of file llvocache.cpp.

References LLDataPackerBinaryBuffer::assignBuffer(), LLDataPackerBinaryBuffer::getBufferSize(), mBuffer, mCRC, mCRCChangeCount, mDP, mDupeCount, mHitCount, and mLocalID.

Here is the call graph for this function:

LLVOCacheEntry::LLVOCacheEntry ( LLFILE fp  ) 

Definition at line 75 of file llvocache.cpp.

References LLDataPackerBinaryBuffer::assignBuffer(), checkedRead(), llendl, llwarns, mBuffer, mCRC, mCRCChangeCount, mDP, mDupeCount, mHitCount, mLocalID, NULL, and S32.

Here is the call graph for this function:

LLVOCacheEntry::LLVOCacheEntry (  ) 

Definition at line 54 of file llvocache.cpp.

References LLDataPackerBinaryBuffer::assignBuffer(), mBuffer, mCRC, mCRCChangeCount, mDP, mDupeCount, mHitCount, mLocalID, and NULL.

Here is the call graph for this function:

LLVOCacheEntry::~LLVOCacheEntry (  ) 

Definition at line 104 of file llvocache.cpp.

References mBuffer.


Member Function Documentation

U32 LLVOCacheEntry::getLocalID (  )  const [inline]

Definition at line 52 of file llvocache.h.

References mLocalID.

Referenced by LLViewerRegion::cacheFullUpdate(), and LLViewerRegion::loadCache().

Here is the caller graph for this function:

U32 LLVOCacheEntry::getCRC (  )  const [inline]

Definition at line 53 of file llvocache.h.

References mCRC.

Referenced by LLViewerRegion::cacheFullUpdate(), and LLViewerRegion::getDP().

Here is the caller graph for this function:

S32 LLVOCacheEntry::getHitCount (  )  const [inline]

Definition at line 54 of file llvocache.h.

References mHitCount.

S32 LLVOCacheEntry::getCRCChangeCount (  )  const [inline]

Definition at line 55 of file llvocache.h.

References mCRCChangeCount.

void LLVOCacheEntry::dump (  )  const

Definition at line 146 of file llvocache.cpp.

References llendl, llinfos, mCRC, mCRCChangeCount, mDupeCount, mHitCount, and mLocalID.

void LLVOCacheEntry::writeToFile ( LLFILE fp  )  const

Definition at line 164 of file llvocache.cpp.

References checkedWrite(), LLDataPackerBinaryBuffer::getBufferSize(), mBuffer, mCRC, mCRCChangeCount, mDP, mDupeCount, mHitCount, mLocalID, and S32.

Here is the call graph for this function:

void LLVOCacheEntry::assignCRC ( U32  crc,
LLDataPackerBinaryBuffer dp 
)

LLDataPackerBinaryBuffer * LLVOCacheEntry::getDP ( U32  crc  ) 

Definition at line 127 of file llvocache.cpp.

References LLDataPackerBinaryBuffer::getBufferSize(), mCRC, mDP, mHitCount, and NULL.

Referenced by LLViewerRegion::getDP().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLVOCacheEntry::recordHit (  ) 

Definition at line 140 of file llvocache.cpp.

References mHitCount.

Referenced by LLViewerRegion::getDP().

Here is the caller graph for this function:

void LLVOCacheEntry::recordDupe (  )  [inline]

Definition at line 62 of file llvocache.h.

References mDupeCount.

Referenced by LLViewerRegion::cacheFullUpdate().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 65 of file llvocache.h.

Referenced by dump(), getLocalID(), LLVOCacheEntry(), and writeToFile().

Definition at line 66 of file llvocache.h.

Referenced by assignCRC(), dump(), getCRC(), getDP(), LLVOCacheEntry(), and writeToFile().

Definition at line 67 of file llvocache.h.

Referenced by assignCRC(), dump(), getDP(), getHitCount(), LLVOCacheEntry(), recordHit(), and writeToFile().

Definition at line 68 of file llvocache.h.

Referenced by dump(), LLVOCacheEntry(), recordDupe(), and writeToFile().

Definition at line 69 of file llvocache.h.

Referenced by assignCRC(), dump(), getCRCChangeCount(), LLVOCacheEntry(), and writeToFile().

Definition at line 70 of file llvocache.h.

Referenced by assignCRC(), getDP(), LLVOCacheEntry(), and writeToFile().

Definition at line 71 of file llvocache.h.

Referenced by assignCRC(), LLVOCacheEntry(), writeToFile(), and ~LLVOCacheEntry().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:36:31 2008 for SecondLife by  doxygen 1.5.5