8#ifndef _Belle2_LockGuard_hh
9#define _Belle2_LockGuard_hh
11#include <daq/slc/system/Mutex.h>
46 template<
class AMutex>
Lock Guard for a Mutex instance.
GenericLockGuard(AMutex &mutex)
Construct a new LockGuard locking the mutex.
AMutex & m_mutex
The mutex hold by this lock guard.
GenericLockGuard(const GenericLockGuard &)
Do not allow to copy a lock guard.
~GenericLockGuard()
Automatically release the lock on destruction.
GenericLockGuard & operator=(const GenericLockGuard &)
Do not allow to copy a lock guard.
Abstract base class for different kinds of events.