SOFA API  ca665544
Open source framework for multi-physics simuation
sofa::simulation::ScopedLock Class Reference

#include <Locks.h>

Public Member Functions

 ScopedLock (SpinLock &lock)
 
 ~ScopedLock ()
 
 ScopedLock (ScopedLock const &)=delete
 
ScopedLockoperator= (ScopedLock const &)=delete
 

Constructor details

◆ ScopedLock() [1/2]

sofa::simulation::ScopedLock::ScopedLock ( SpinLock lock)
inlineexplicit

◆ ~ScopedLock()

sofa::simulation::ScopedLock::~ScopedLock ( )
inline

◆ ScopedLock() [2/2]

sofa::simulation::ScopedLock::ScopedLock ( ScopedLock const &  )
delete

Function details

◆ operator=()

ScopedLock& sofa::simulation::ScopedLock::operator= ( ScopedLock const &  )
delete