7 #ifndef NAZARA_LOCKGUARD_HPP 8 #define NAZARA_LOCKGUARD_HPP 10 #include <Nazara/Prerequesites.hpp> 32 #include <Nazara/Core/LockGuard.inl> 34 #endif // NAZARA_LOCKGUARD_HPP TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
~LockGuard()
Destructs a LockGuard object and unlocks the mutex if it was previously locked.
Definition: LockGuard.inl:38
LockGuard(Mutex &mutex, bool lock=true)
Constructs a LockGuard object with a mutex.
Definition: LockGuard.inl:24
void Lock()
Locks the underlying mutex.
Definition: LockGuard.inl:49
bool TryLock()
Tries to lock the underlying mutex.
Definition: LockGuard.inl:63
Core class that represents a binary semaphore, a mutex.
Definition: Mutex.hpp:17
void Unlock()
Unlocks the underlying mutex.
Definition: LockGuard.inl:75
Core class that represents a mutex wrapper that provides a convenient RAII-style mechanism.
Definition: LockGuard.hpp:16