CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
DDValue::AtomicUInt Struct Reference

#include <DDValue.h>

Public Member Functions

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

Public Attributes

std::atomic< unsigned int > value_
 

Detailed Description

Definition at line 101 of file DDValue.h.

Constructor & Destructor Documentation

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

Definition at line 102 of file DDValue.h.

102 : value_(iValue) {}
std::atomic< unsigned int > value_
Definition: DDValue.h:110
DDValue::AtomicUInt::AtomicUInt ( )
inline

Definition at line 103 of file DDValue.h.

103 {}
DDValue::AtomicUInt::AtomicUInt ( const AtomicUInt iOther)
inline

Definition at line 104 of file DDValue.h.

104 : value_(iOther.value_.load()) {}
std::atomic< unsigned int > value_
Definition: DDValue.h:110

Member Function Documentation

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

Definition at line 105 of file DDValue.h.

References value_.

105  {
106  value_ = iOther.value_.load();
107  return *this;
108  }
std::atomic< unsigned int > value_
Definition: DDValue.h:110

Member Data Documentation

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

Definition at line 110 of file DDValue.h.

Referenced by operator=().