VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtTracyScopedLock< T_Mutex, T_LockName > Class Template Reference

template<typename T_Mutex, char const * T_LockName = DtScopedLockDefaultName>
class DtTracyScopedLock< T_Mutex, T_LockName >

Template around a TBB Mutex lock which adds a tracy marker when the lock is waiting on the mutex. T_LockName is the text that shows in Tracy while waiting on the mutex.

Public Member Functions

 DtTracyScopedLock (T_Mutex &m)
 
void release ()
 

Protected Attributes

T_Mutex::scoped_lock lock
 

Constructor & Destructor Documentation

template<typename T_Mutex , char const * T_LockName = DtScopedLockDefaultName>
DtTracyScopedLock< T_Mutex, T_LockName >::DtTracyScopedLock ( T_Mutex &  m)
inline

Member Function Documentation

template<typename T_Mutex , char const * T_LockName = DtScopedLockDefaultName>
void DtTracyScopedLock< T_Mutex, T_LockName >::release ( )
inline

Member Data Documentation

template<typename T_Mutex , char const * T_LockName = DtScopedLockDefaultName>
T_Mutex::scoped_lock DtTracyScopedLock< T_Mutex, T_LockName >::lock
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)