blocxx
Public Member Functions | Private Attributes

BLOCXX_NAMESPACE::RefCount Class Reference

#include <RefCount.hpp>

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 50 of file RefCount.hpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::RefCount::RefCount ( ) [inline]

Definition at line 53 of file RefCount.hpp.

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

Definition at line 57 of file RefCount.hpp.


Member Function Documentation

bool BLOCXX_NAMESPACE::RefCount::decAndTest ( ) [inline]
int BLOCXX_NAMESPACE::RefCount::get ( ) const [inline]

Definition at line 69 of file RefCount.hpp.

References BLOCXX_NAMESPACE::AtomicGet().

Referenced by BLOCXX_NAMESPACE::COWIntrusiveReferenceUnique().

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

Member Data Documentation

Definition at line 74 of file RefCount.hpp.


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