blocxx
BLOCXX_NAMESPACE::RefCount Class Reference

#include <RefCount.hpp>

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

◆ RefCount() [1/2]

BLOCXX_NAMESPACE::RefCount::RefCount ( )
inline

Definition at line 53 of file RefCount.hpp.

References m_count.

◆ RefCount() [2/2]

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

Definition at line 57 of file RefCount.hpp.

References m_count.

Member Function Documentation

◆ decAndTest()

◆ get()

int BLOCXX_NAMESPACE::RefCount::get ( ) const
inline

◆ inc()

Member Data Documentation

◆ m_count

Atomic_t BLOCXX_NAMESPACE::RefCount::m_count
private

Definition at line 74 of file RefCount.hpp.

Referenced by decAndTest(), get(), inc(), RefCount(), and RefCount().


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