NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
nvbio::AtomicInt32 Struct Reference

Detailed description

an atomic integer class

Definition at line 211 of file atomics.h.

#include <atomics.h>

Public Methods

 AtomicInt32 ()
 constructor More...
 
 AtomicInt32 (const int value)
 destructor More...
 
int operator++ (int)
 postincrement by one More...
 
int operator-- (int)
 postdecrement by one More...
 
int operator++ ()
 preincrement by one More...
 
int operator-- ()
 predecrement by one More...
 
int operator+= (int value)
 preincrement More...
 
int operator-= (int value)
 predecrement More...
 
bool operator== (const int value)
 comparisons More...
 
bool operator!= (const int value)
 
bool operator>= (const int value)
 
bool operator<= (const int value)
 
bool operator> (const int value)
 
bool operator< (const int value)
 

Public Members

volatile int m_value
 

Constructor & Destructor Documentation

nvbio::AtomicInt32::AtomicInt32 ( )
inline

constructor

Definition at line 214 of file atomics.h.

nvbio::AtomicInt32::AtomicInt32 ( const int  value)
inline

destructor

Definition at line 217 of file atomics.h.

Member Function Documentation

bool nvbio::AtomicInt32::operator!= ( const int  value)
inline

Definition at line 328 of file atomics.h.

int nvbio::AtomicInt32::operator++ ( int  )
inline

postincrement by one

Definition at line 308 of file atomics.h.

int nvbio::AtomicInt32::operator++ ( )
inline

preincrement by one

Definition at line 314 of file atomics.h.

int nvbio::AtomicInt32::operator+= ( int  value)
inline

preincrement

Definition at line 320 of file atomics.h.

int nvbio::AtomicInt32::operator-- ( int  )
inline

postdecrement by one

Definition at line 311 of file atomics.h.

int nvbio::AtomicInt32::operator-- ( )
inline

predecrement by one

Definition at line 317 of file atomics.h.

int nvbio::AtomicInt32::operator-= ( int  value)
inline

predecrement

Definition at line 323 of file atomics.h.

bool nvbio::AtomicInt32::operator< ( const int  value)
inline

Definition at line 332 of file atomics.h.

bool nvbio::AtomicInt32::operator<= ( const int  value)
inline

Definition at line 330 of file atomics.h.

bool nvbio::AtomicInt32::operator== ( const int  value)
inline

comparisons

Definition at line 327 of file atomics.h.

bool nvbio::AtomicInt32::operator> ( const int  value)
inline

Definition at line 331 of file atomics.h.

bool nvbio::AtomicInt32::operator>= ( const int  value)
inline

Definition at line 329 of file atomics.h.

Member Data Documentation

volatile int nvbio::AtomicInt32::m_value

Definition at line 334 of file atomics.h.


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