#include <AtomicRefCounter.h>
this class contains an integer which is initialized to zero.
One can increase/decrease the value of the integer thread-safely.
Public Member Functions |
|
| GraphicsUtilityAPI | AtomicRefCounter () |
| constructor. |
|
| GraphicsUtilityAPI | ~AtomicRefCounter () |
| GraphicsUtilityAPI long | Increment () |
| increase the integer value by one. |
|
| GraphicsUtilityAPI long | Decrement () |
| decrease the integer value by one. |
|
| GraphicsUtilityAPI AtomicRefCounter | ( | ) |
constructor.
integer is initialized to zero.
| GraphicsUtilityAPI ~AtomicRefCounter | ( | ) |
| GraphicsUtilityAPI long Increment | ( | ) |
| GraphicsUtilityAPI long Decrement | ( | ) |