CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
CaloCellGeometry::RefCount Struct Reference

Public Member Functions

RefCountoperator= (RefCount &&)
 
RefCountoperator= (const RefCount &)
 
 RefCount ()=default
 
 RefCount (RefCount &&)
 
 RefCount (RefCount const &)
 

Public Attributes

std::atomic< unsigned int > m_count = 0
 

Detailed Description

Definition at line 168 of file CaloCellGeometry.h.

Constructor & Destructor Documentation

◆ RefCount() [1/3]

CaloCellGeometry::RefCount::RefCount ( )
default

◆ RefCount() [2/3]

CaloCellGeometry::RefCount::RefCount ( RefCount &&  )
inline

Definition at line 170 of file CaloCellGeometry.h.

170 {}

◆ RefCount() [3/3]

CaloCellGeometry::RefCount::RefCount ( RefCount const &  )
inline

Definition at line 171 of file CaloCellGeometry.h.

171 {}

Member Function Documentation

◆ operator=() [1/2]

RefCount& CaloCellGeometry::RefCount::operator= ( RefCount &&  )
inline

Definition at line 172 of file CaloCellGeometry.h.

172 { return *this; }

◆ operator=() [2/2]

RefCount& CaloCellGeometry::RefCount::operator= ( const RefCount )
inline

Definition at line 173 of file CaloCellGeometry.h.

173 { return *this; }

Member Data Documentation

◆ m_count

std::atomic<unsigned int> CaloCellGeometry::RefCount::m_count = 0
mutable

Definition at line 175 of file CaloCellGeometry.h.

Referenced by CaloCellGeometry::decrement(), and CaloCellGeometry::increment().