SAtomicInt32 Struct Reference
[Utility Classes and Functions]

#include <support/atomic.h>

List of all members.


Detailed Description

Convenience wrapper for an atomic integer.


Public Member Functions

int32_t Add (int32_t amount)
uint32_t And (uint32_t bits)
uint32_t Or (uint32_t bits)
void SetTo (int32_t newVal)
bool Swap (int32_t oldVal, int32_t newVal)
int32_t Value () const


Member Function Documentation

int32_t Add int32_t  amount  )  [inline]
 

uint32_t And uint32_t  bits  )  [inline]
 

uint32_t Or uint32_t  bits  )  [inline]
 

void SetTo int32_t  newVal  )  [inline]
 

bool Swap int32_t  oldVal,
int32_t  newVal
[inline]
 

int32_t Value  )  const [inline]
 


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