commonlib
Locking< TMutexType > Class Template Reference

Abstract class bringing basic locking features on synchronization and threading related classes. More...

#include <locking.h>

Public Member Functions

TMutexType & getLock ()
 Get locking object. More...
 

Protected Attributes

TMutexType lock
 

Detailed Description

template<class TMutexType>
class Locking< TMutexType >

Abstract class bringing basic locking features on synchronization and threading related classes.

Template Parameters
TMutexTypeis type of preferable object

Member Function Documentation

◆ getLock()

template<class TMutexType>
TMutexType& Locking< TMutexType >::getLock ( )
inline

Get locking object.

Returns
std::recursive_mutex& locking object

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