HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_NullLock Class Reference

#include <UT_LockUtil.h>

Public Types

using Scope = UT_UniqueLock< UT_NullLock >
 

Public Member Functions

 UT_NullLock (int=0)
 
 ~UT_NullLock ()=default
 
bool lock (int)
 
bool safeLock ()
 
void lock ()
 
void unlock ()
 
bool isLocked ()
 

Detailed Description

An empty implementation of the lock interface (for easily removing all locks from an application).

Definition at line 167 of file UT_LockUtil.h.

Member Typedef Documentation

Definition at line 181 of file UT_LockUtil.h.

Constructor & Destructor Documentation

UT_NullLock::UT_NullLock ( int  = 0)
inlineexplicit

Definition at line 170 of file UT_LockUtil.h.

UT_NullLock::~UT_NullLock ( )
default

Member Function Documentation

bool UT_NullLock::isLocked ( )
inline

Definition at line 179 of file UT_LockUtil.h.

bool UT_NullLock::lock ( int  )
inline

Definition at line 175 of file UT_LockUtil.h.

void UT_NullLock::lock ( )
inline

Definition at line 177 of file UT_LockUtil.h.

bool UT_NullLock::safeLock ( )
inline

Definition at line 176 of file UT_LockUtil.h.

void UT_NullLock::unlock ( )
inline

Definition at line 178 of file UT_LockUtil.h.


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