Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
SharedLock< LockType > Class Template Reference

Helper class that is similar to std::shared_lock. More...

#include <PhysicsLock.h>

Inheritance diagram for SharedLock< LockType >:
NonCopyable

Public Member Functions

 SharedLock (LockType &inLock JPH_IF_ENABLE_ASSERTS(, PhysicsLockContext inContext, EPhysicsLockTypes inType))
 
 ~SharedLock ()
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Detailed Description

template<class LockType>
class SharedLock< LockType >

Helper class that is similar to std::shared_lock.

Constructor & Destructor Documentation

◆ SharedLock()

template<class LockType >
SharedLock< LockType >::SharedLock ( LockType &inLock   JPH_IF_ENABLE_ASSERTS, PhysicsLockContext inContext, EPhysicsLockTypes inType)
inlineexplicit

◆ ~SharedLock()

template<class LockType >
SharedLock< LockType >::~SharedLock ( )
inline

The documentation for this class was generated from the following file: