SOFA API  014b24ea
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

sofa::simulation::ScopedLock::ScopedLock ( SpinLock lock)
inlineexplicit
sofa::simulation::ScopedLock::~ScopedLock ( )
inline
sofa::simulation::ScopedLock::ScopedLock ( ScopedLock const &  )
delete

Function details

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