#include <llvlmanager.h>

Public Member Functions | |
| ~LLVLManager () | |
| void | addLayerData (LLVLData *vl_datap, const S32 mesg_size) |
| void | unpackData (const S32 num_packets=10) |
| S32 | getTotalBytes () const |
| S32 | getLandBits () const |
| S32 | getWindBits () const |
| S32 | getCloudBits () const |
| void | resetBitCounts () |
| void | cleanupData (LLViewerRegion *regionp) |
Protected Attributes | |
| LLDynamicArray< LLVLData * > | mPacketData |
| U32 | mLandBits |
| U32 | mWindBits |
| U32 | mCloudBits |
Definition at line 43 of file llvlmanager.h.
| LLVLManager::~LLVLManager | ( | ) |
Definition at line 47 of file llvlmanager.cpp.
References LLDynamicArray< Type, BlockSize >::count(), i, mPacketData, LLDynamicArray< Type, BlockSize >::reset(), and S32.

Definition at line 57 of file llvlmanager.cpp.
References CLOUD_LAYER_CODE, LAND_LAYER_CODE, llendl, llerrs, mCloudBits, mLandBits, mPacketData, LLVLData::mType, mWindBits, LLDynamicArray< Type, BlockSize >::put(), S32, and WIND_LAYER_CODE.
Referenced by process_layer_data().


| void LLVLManager::unpackData | ( | const S32 | num_packets = 10 |
) |
Definition at line 79 of file llvlmanager.cpp.
References CLOUD_LAYER_CODE, LLDynamicArray< Type, BlockSize >::count(), decode_patch_group_header(), LLCloudLayer::decompress(), LLWind::decompress(), LLSurface::decompressDCTPatch(), FALSE, LLViewerRegion::getLand(), i, LAND_LAYER_CODE, LLViewerRegion::mCloudLayer, LLVLData::mData, mPacketData, LLVLData::mRegionp, LLVLData::mSize, LLVLData::mType, LLViewerRegion::mWind, LLDynamicArray< Type, BlockSize >::reset(), S32, and WIND_LAYER_CODE.
Referenced by LLAppViewer::idle().


| S32 LLVLManager::getTotalBytes | ( | ) | const |
Definition at line 135 of file llvlmanager.cpp.
References mCloudBits, mLandBits, and mWindBits.
Referenced by update_statistics().

| S32 LLVLManager::getLandBits | ( | ) | const |
Definition at line 120 of file llvlmanager.cpp.
References mLandBits.
Referenced by update_statistics().

| S32 LLVLManager::getWindBits | ( | ) | const |
Definition at line 125 of file llvlmanager.cpp.
References mWindBits.
Referenced by update_statistics().

| S32 LLVLManager::getCloudBits | ( | ) | const |
Definition at line 130 of file llvlmanager.cpp.
References mCloudBits.
Referenced by update_statistics().

| void LLVLManager::resetBitCounts | ( | ) |
Definition at line 115 of file llvlmanager.cpp.
References mCloudBits, mLandBits, and mWindBits.
Referenced by update_statistics().

| void LLVLManager::cleanupData | ( | LLViewerRegion * | regionp | ) |
Definition at line 140 of file llvlmanager.cpp.
References LLDynamicArray< Type, BlockSize >::count(), mPacketData, LLDynamicArray< Type, BlockSize >::remove(), and S32.
Referenced by LLViewerRegion::~LLViewerRegion().


LLDynamicArray<LLVLData *> LLVLManager::mPacketData [protected] |
Definition at line 63 of file llvlmanager.h.
Referenced by addLayerData(), cleanupData(), unpackData(), and ~LLVLManager().
U32 LLVLManager::mLandBits [protected] |
Definition at line 64 of file llvlmanager.h.
Referenced by addLayerData(), getLandBits(), getTotalBytes(), and resetBitCounts().
U32 LLVLManager::mWindBits [protected] |
Definition at line 65 of file llvlmanager.h.
Referenced by addLayerData(), getTotalBytes(), getWindBits(), and resetBitCounts().
U32 LLVLManager::mCloudBits [protected] |
Definition at line 66 of file llvlmanager.h.
Referenced by addLayerData(), getCloudBits(), getTotalBytes(), and resetBitCounts().
1.5.5