#include <ref_counter.h>
Definition at line 6 of file ref_counter.h.
pfc::counter::counter |
( |
t_val |
p_val = 0 | ) |
|
|
inline |
t_val pfc::counter::dec |
( |
| ) |
|
|
inlineprivate |
Definition at line 24 of file ref_counter.h.
26 return _InterlockedDecrement(&
m_val);
28 return __sync_sub_and_fetch(&
m_val, 1);
t_val pfc::counter::inc |
( |
| ) |
|
|
inlineprivate |
Definition at line 17 of file ref_counter.h.
19 return _InterlockedIncrement(&
m_val);
21 return __sync_add_and_fetch(&
m_val, 1);
pfc::counter::operator t_val |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
long pfc::counter::operator++ |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
long pfc::counter::operator++ |
( |
int |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
long pfc::counter::operator-- |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
long pfc::counter::operator-- |
( |
int |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
volatile t_val pfc::counter::m_val |
|
private |
The documentation for this class was generated from the following file: