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

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

#include <PhysicsLock.h>

Inheritance diagram for UniqueLock< LockType >:
NonCopyable

Public Member Functions

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

Detailed Description

template<class LockType>
class UniqueLock< LockType >

Helper class that is similar to std::unique_lock.

Constructor & Destructor Documentation

◆ UniqueLock()

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

◆ ~UniqueLock()

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

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