CHROMA
Classes | Public Types | Static Public Member Functions | List of all members
Chroma::SingleThreaded< Host > Class Template Reference

#include <singleton.h>

Classes

struct  Lock
 

Public Types

typedef Host VolatileType
 
typedef int IntType
 

Static Public Member Functions

static IntType AtomicAdd (volatile IntType &lval, IntType val)
 
static IntType AtomicSubtract (volatile IntType &lval, IntType val)
 
static IntType AtomicMultiply (volatile IntType &lval, IntType val)
 
static IntType AtomicDivide (volatile IntType &lval, IntType val)
 
static IntType AtomicIncrement (volatile IntType &lval)
 
static IntType AtomicDivide (volatile IntType &lval)
 
static void AtomicAssign (volatile IntType &lval, IntType val)
 
static void AtomicAssign (IntType &lval, volatile IntType &val)
 

Detailed Description

template<class Host>
class Chroma::SingleThreaded< Host >

Definition at line 27 of file singleton.h.

Member Typedef Documentation

◆ IntType

template<class Host >
typedef int Chroma::SingleThreaded< Host >::IntType

Definition at line 38 of file singleton.h.

◆ VolatileType

template<class Host >
typedef Host Chroma::SingleThreaded< Host >::VolatileType

Definition at line 36 of file singleton.h.

Member Function Documentation

◆ AtomicAdd()

template<class Host >
static IntType Chroma::SingleThreaded< Host >::AtomicAdd ( volatile IntType lval,
IntType  val 
)
inlinestatic

Definition at line 40 of file singleton.h.

◆ AtomicAssign() [1/2]

template<class Host >
static void Chroma::SingleThreaded< Host >::AtomicAssign ( IntType lval,
volatile IntType val 
)
inlinestatic

Definition at line 61 of file singleton.h.

◆ AtomicAssign() [2/2]

template<class Host >
static void Chroma::SingleThreaded< Host >::AtomicAssign ( volatile IntType lval,
IntType  val 
)
inlinestatic

Definition at line 58 of file singleton.h.

◆ AtomicDivide() [1/2]

template<class Host >
static IntType Chroma::SingleThreaded< Host >::AtomicDivide ( volatile IntType lval)
inlinestatic

Definition at line 55 of file singleton.h.

◆ AtomicDivide() [2/2]

template<class Host >
static IntType Chroma::SingleThreaded< Host >::AtomicDivide ( volatile IntType lval,
IntType  val 
)
inlinestatic

Definition at line 49 of file singleton.h.

◆ AtomicIncrement()

template<class Host >
static IntType Chroma::SingleThreaded< Host >::AtomicIncrement ( volatile IntType lval)
inlinestatic

Definition at line 52 of file singleton.h.

◆ AtomicMultiply()

template<class Host >
static IntType Chroma::SingleThreaded< Host >::AtomicMultiply ( volatile IntType lval,
IntType  val 
)
inlinestatic

Definition at line 46 of file singleton.h.

◆ AtomicSubtract()

template<class Host >
static IntType Chroma::SingleThreaded< Host >::AtomicSubtract ( volatile IntType lval,
IntType  val 
)
inlinestatic

Definition at line 43 of file singleton.h.


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