ApraLinuxUtils 1.0.0
C++ utility library for embedded Linux systems
 
Loading...
Searching...
No Matches
apra::ScopeLock Class Reference

#include <ScopeLock.h>

Public Member Functions

 ScopeLock (pthread_mutex_t &mutex)
 
 ScopeLock (Mutex &mutex)
 
 ~ScopeLock ()
 

Protected Attributes

pthread_mutex_t & m_lock
 

Detailed Description

Definition at line 22 of file ScopeLock.h.

Constructor & Destructor Documentation

◆ ScopeLock() [1/2]

apra::ScopeLock::ScopeLock ( pthread_mutex_t &  mutex)

Definition at line 22 of file ScopeLock.cpp.

References m_lock.

◆ ScopeLock() [2/2]

apra::ScopeLock::ScopeLock ( Mutex mutex)

Definition at line 16 of file ScopeLock.cpp.

References m_lock.

◆ ~ScopeLock()

apra::ScopeLock::~ScopeLock ( )

Definition at line 28 of file ScopeLock.cpp.

References m_lock.

Member Data Documentation

◆ m_lock

pthread_mutex_t& apra::ScopeLock::m_lock
protected

Definition at line 29 of file ScopeLock.h.

Referenced by ScopeLock(), ScopeLock(), and ~ScopeLock().


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