AtomicCount Class Reference
#include <AtomicCount.h>
Inheritance diagram for AtomicCount:

Public Member Functions | |
AtomicCount () | |
Create a new AtomicCount, initialized to a value of 1. | |
~AtomicCount () | |
Destroy a new AtomicCount. | |
size_t | operator-- (int) |
Postfix decrement and return the current value. | |
size_t | operator++ (int) |
Postfix increment and return the current value. | |
size_t | operator-- () |
Prefix decrement and return the current value. | |
size_t | operator++ () |
Prefix increment and return the current value. | |
Additional Inherited Members | |
![]() | |
NonCopyable () | |
Create a NonCopyable object. | |
~NonCopyable () | |
Destroy a NonCopyable object. | |
Detailed Description
- Date
- <2003-07-16T09:41:55-0400>
- Version
- 2.3.0
This class provides an interface to a small integer whose value can be incremented or decremented atomically. It's designed to be as simple and lightweight as possible so that it can be used cheaply to create reference counts.
The documentation for this class was generated from the following file:
- AtomicCount.h