#include <llthread.h>
Inheritance diagram for LLThreadSafeRefCount:


Public Member Functions | |
| LLThreadSafeRefCount () | |
| void | ref () |
| S32 | unref () |
| S32 | getNumRefs () const |
Static Public Member Functions | |
| static void | initClass () |
| static void | cleanupClass () |
Protected Member Functions | |
| virtual | ~LLThreadSafeRefCount () |
Private Member Functions | |
| LLThreadSafeRefCount (const LLThreadSafeRefCount &) | |
| LLThreadSafeRefCount & | operator= (const LLThreadSafeRefCount &) |
Private Attributes | |
| S32 | mRef |
Static Private Attributes | |
| static LLMutex * | sMutex = 0 |
Definition at line 191 of file llthread.h.
| LLThreadSafeRefCount::LLThreadSafeRefCount | ( | const LLThreadSafeRefCount & | ) | [private] |
| LLThreadSafeRefCount::~LLThreadSafeRefCount | ( | ) | [protected, virtual] |
| LLThreadSafeRefCount::LLThreadSafeRefCount | ( | ) |
Definition at line 373 of file llthread.cpp.
| void LLThreadSafeRefCount::cleanupClass | ( | ) | [static] |
Reimplemented in LLWorldMapView.
Definition at line 364 of file llthread.cpp.
Referenced by cleanup_app(), and LLCommon::cleanupClass().
| S32 LLThreadSafeRefCount::getNumRefs | ( | ) | const [inline] |
Definition at line 230 of file llthread.h.
References mRef.
Referenced by LLVolumeMgr::cleanupVolume(), and operator<<().
| void LLThreadSafeRefCount::initClass | ( | ) | [static] |
Reimplemented in LLWorldMapView.
Definition at line 355 of file llthread.cpp.
References sMutex.
Referenced by LLCommon::initClass().
| LLThreadSafeRefCount& LLThreadSafeRefCount::operator= | ( | const LLThreadSafeRefCount & | ) | [private] |
| void LLThreadSafeRefCount::ref | ( | ) | [inline] |
Definition at line 210 of file llthread.h.
References LLMutex::lock(), mRef, sMutex, and LLMutex::unlock().
Referenced by LLVolumeMgr::getVolume().
| S32 LLThreadSafeRefCount::unref | ( | ) | [inline] |
Definition at line 217 of file llthread.h.
References llassert, LLMutex::lock(), mRef, S32, sMutex, and LLMutex::unlock().
Referenced by LLVolumeMgr::cleanupVolume().
S32 LLThreadSafeRefCount::mRef [private] |
Definition at line 236 of file llthread.h.
Referenced by getNumRefs(), ref(), unref(), and ~LLThreadSafeRefCount().
LLMutex * LLThreadSafeRefCount::sMutex = 0 [static, private] |
Definition at line 198 of file llthread.h.
Referenced by cleanupClass(), initClass(), ref(), and unref().
1.4.7