Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

BLOCXX_NAMESPACE::RefCount Class Reference

#include <RefCount.hpp>

Collaboration diagram for BLOCXX_NAMESPACE::RefCount:

Collaboration graph
[legend]
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 49 of file RefCount.hpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::RefCount::RefCount  )  [inline]
 

Definition at line 52 of file RefCount.hpp.

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

Definition at line 56 of file RefCount.hpp.


Member Function Documentation

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

Definition at line 64 of file RefCount.hpp.

References BLOCXX_NAMESPACE::AtomicDecAndTest().

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

Definition at line 68 of file RefCount.hpp.

References BLOCXX_NAMESPACE::AtomicGet().

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

Definition at line 60 of file RefCount.hpp.

References BLOCXX_NAMESPACE::AtomicInc().

Referenced by BLOCXX_NAMESPACE::ReferenceBase::ReferenceBase().


Member Data Documentation

Atomic_t BLOCXX_NAMESPACE::RefCount::m_count [private]
 

Definition at line 73 of file RefCount.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Sep 13 00:06:17 2005 for blocxx by  doxygen 1.4.4