C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
Loading...
Searching...
No Matches
MTL::Synchronization::CLockGuard< LockType > Class Template Reference

Lock. More...

#include <Synchronization.h>

Public Member Functions

 CLockGuard (LockType &rLock)
 Constructor.
virtual ~CLockGuard ()
 Destructor.

Detailed Description

template<typename LockType>
class MTL::Synchronization::CLockGuard< LockType >

Lock.

Template Parameters
LockTypeLockable object type (e.g. mutex).

Definition at line 62 of file Synchronization.h.

Constructor & Destructor Documentation

◆ CLockGuard()

template<typename LockType>
MTL::Synchronization::CLockGuard< LockType >::CLockGuard ( LockType & rLock)
inline

Constructor.

Parameters
rLockLockable object to pass to lock.

Definition at line 69 of file Synchronization.h.

◆ ~CLockGuard()

template<typename LockType>
virtual MTL::Synchronization::CLockGuard< LockType >::~CLockGuard ( )
inlinevirtual

Destructor.

Definition at line 76 of file Synchronization.h.


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