Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MutexLockBase Class Reference

#include <ReadWriteLock.h>

+ Inheritance diagram for MutexLockBase:

Public Member Functions

 MutexLockBase ()
 
virtual ~MutexLockBase ()
 

Static Public Member Functions

static int initFunctions ()
 

Static Public Attributes

static bool functionsAreInitialized
 
static std::function< int(pthread_mutex_t &)> plainLockLock
 
static std::function< int(pthread_mutex_t &)> plainLockUnlock
 
static std::function< int(pthread_rwlock_t &)> readLockLock
 
static std::function< int(pthread_rwlock_t &)> readLockUnock
 
static std::function< int(pthread_rwlock_t &)> writeLockLock
 
static std::function< int(pthread_rwlock_t &)> writeLockUnlock
 

Detailed Description

Definition at line 18 of file ReadWriteLock.h.

Constructor & Destructor Documentation

MutexLockBase::MutexLockBase ( )
inline

Definition at line 22 of file ReadWriteLock.h.

References functionsAreInitialized, and initFunctions().

virtual MutexLockBase::~MutexLockBase ( )
inlinevirtual

Definition at line 27 of file ReadWriteLock.h.

Member Function Documentation

static int MutexLockBase::initFunctions ( )
inlinestatic

Member Data Documentation

bool MutexLockBase::functionsAreInitialized
static

Definition at line 20 of file ReadWriteLock.h.

Referenced by initFunctions(), and MutexLockBase().

std::function<int(pthread_mutex_t&)> MutexLockBase::plainLockLock
static

Definition at line 48 of file ReadWriteLock.h.

Referenced by initFunctions().

std::function<int(pthread_mutex_t&)> MutexLockBase::plainLockUnlock
static

Definition at line 49 of file ReadWriteLock.h.

Referenced by initFunctions().

std::function<int(pthread_rwlock_t&)> MutexLockBase::readLockLock
static

Definition at line 51 of file ReadWriteLock.h.

Referenced by initFunctions().

std::function<int(pthread_rwlock_t&)> MutexLockBase::readLockUnock
static

Definition at line 52 of file ReadWriteLock.h.

Referenced by initFunctions().

std::function<int(pthread_rwlock_t&)> MutexLockBase::writeLockLock
static

Definition at line 54 of file ReadWriteLock.h.

Referenced by initFunctions().

std::function<int(pthread_rwlock_t&)> MutexLockBase::writeLockUnlock
static

Definition at line 55 of file ReadWriteLock.h.

Referenced by initFunctions().


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