OW_NAMESPACE::RefCount Class Reference

#include <OW_RefCount.hpp>

Collaboration diagram for OW_NAMESPACE::RefCount:

Collaboration graph
List of all members.

Public Member Functions

 RefCount ()
 RefCount (Atomic_t c)
void inc ()
bool decAndTest ()
int get () const

Private Attributes

Atomic_t m_count

Detailed Description

Definition at line 47 of file OW_RefCount.hpp.

Constructor & Destructor Documentation

OW_NAMESPACE::RefCount::RefCount  )  [inline]

Definition at line 50 of file OW_RefCount.hpp.

OW_NAMESPACE::RefCount::RefCount Atomic_t  c  )  [inline]

Definition at line 54 of file OW_RefCount.hpp.

Member Function Documentation

bool OW_NAMESPACE::RefCount::decAndTest  )  [inline]

Definition at line 62 of file OW_RefCount.hpp.

References OW_NAMESPACE::AtomicDecAndTest().

Referenced by OW_NAMESPACE::COWIntrusiveReferenceRelease(), and OW_NAMESPACE::IntrusiveReferenceRelease().

int OW_NAMESPACE::RefCount::get  )  const [inline]

Definition at line 66 of file OW_RefCount.hpp.

References OW_NAMESPACE::AtomicGet().

Referenced by OW_NAMESPACE::COWIntrusiveReferenceUnique().

void OW_NAMESPACE::RefCount::inc  )  [inline]

Definition at line 58 of file OW_RefCount.hpp.

References OW_NAMESPACE::AtomicInc().

Referenced by OW_NAMESPACE::COWIntrusiveReferenceAddRef(), OW_NAMESPACE::IntrusiveReferenceAddRef(), and OW_NAMESPACE::ReferenceBase::ReferenceBase().

Member Data Documentation

Atomic_t OW_NAMESPACE::RefCount::m_count [private]

Definition at line 71 of file OW_RefCount.hpp.

The documentation for this class was generated from the following file:
Generated on Thu Feb 9 09:14:10 2006 for openwbem by  doxygen 1.4.6