CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
DDValue::AtomicUInt Struct Reference

Public Member Functions

 AtomicUInt ()
 
 AtomicUInt (const AtomicUInt &iOther)
 
 AtomicUInt (unsigned int iValue)
 
AtomicUIntoperator= (const AtomicUInt &iOther)
 

Public Attributes

std::atomic< unsigned int > value_
 

Detailed Description

Definition at line 96 of file DDValue.h.

Constructor & Destructor Documentation

◆ AtomicUInt() [1/3]

DDValue::AtomicUInt::AtomicUInt ( unsigned int  iValue)
inline

Definition at line 97 of file DDValue.h.

97 : value_(iValue) {}

◆ AtomicUInt() [2/3]

DDValue::AtomicUInt::AtomicUInt ( )
inline

Definition at line 98 of file DDValue.h.

98 {}

◆ AtomicUInt() [3/3]

DDValue::AtomicUInt::AtomicUInt ( const AtomicUInt iOther)
inline

Definition at line 99 of file DDValue.h.

99 : value_(iOther.value_.load()) {}

Member Function Documentation

◆ operator=()

AtomicUInt& DDValue::AtomicUInt::operator= ( const AtomicUInt iOther)
inline

Definition at line 100 of file DDValue.h.

100  {
101  value_ = iOther.value_.load();
102  return *this;
103  }

References value_.

Member Data Documentation

◆ value_

std::atomic<unsigned int> DDValue::AtomicUInt::value_

Definition at line 105 of file DDValue.h.

Referenced by operator=().

DDValue::AtomicUInt::value_
std::atomic< unsigned int > value_
Definition: DDValue.h:105