ldas-tools-al  2.6.3
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
LDASTools::AL::ReadWriteLock::baton_type::impl Class Reference

Public Member Functions

 impl (bool Logging)
 
void Lock (mode_type Mode, bool TryLock)
 
void Lock (mode_type Mode, size_t Timeout)
 
bool Logging () const
 
void Unlock ()
 
 operator pthread_rwlock_t * ()
 
 operator void * ()
 

Public Attributes

bool logging
 

Static Public Attributes

static timespec_type LockAcquisitionInterval
 

Private Member Functions

void error (int Code)
 

Private Attributes

pthread_rwlock_t handle
 

Constructor & Destructor Documentation

◆ impl()

LDASTools::AL::ReadWriteLock::baton_type::impl::impl ( bool  Logging)
inline

Member Function Documentation

◆ error()

void LDASTools::AL::ReadWriteLock::baton_type::impl::error ( int  Code)
inlineprivate

◆ Lock() [1/2]

void LDASTools::AL::ReadWriteLock::baton_type::impl::Lock ( mode_type  Mode,
bool  TryLock 
)
inline
Todo:
Should never be trying to set the lock to NONE; should throw an exception.

◆ Lock() [2/2]

void LDASTools::AL::ReadWriteLock::baton_type::impl::Lock ( mode_type  Mode,
size_t  Timeout 
)
inline

◆ Logging()

bool LDASTools::AL::ReadWriteLock::baton_type::impl::Logging ( ) const
inline

◆ operator pthread_rwlock_t *()

LDASTools::AL::ReadWriteLock::baton_type::impl::operator pthread_rwlock_t * ( )
inline

◆ operator void *()

LDASTools::AL::ReadWriteLock::baton_type::impl::operator void * ( )
inline

◆ Unlock()

void LDASTools::AL::ReadWriteLock::baton_type::impl::Unlock ( )
inline

Member Data Documentation

◆ handle

pthread_rwlock_t LDASTools::AL::ReadWriteLock::baton_type::impl::handle
mutableprivate

◆ LockAcquisitionInterval

timespec_type LDASTools::AL::ReadWriteLock::baton_type::impl::LockAcquisitionInterval
static

◆ logging

bool LDASTools::AL::ReadWriteLock::baton_type::impl::logging

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