Public Member Functions | Private Member Functions | Private Attributes | List of all members
icl_core::thread::RWLockImplWin32 Class Reference

#include <RWLockImplWin32.h>

Inheritance diagram for icl_core::thread::RWLockImplWin32:
Inheritance graph
[legend]

Public Member Functions

virtual bool readLock ()
 
virtual bool readLock (const TimeStamp &timeout)
 
virtual bool readLock (const TimeSpan &timeout)
 
 RWLockImplWin32 ()
 
virtual bool tryReadLock ()
 
virtual bool tryWriteLock ()
 
virtual void unlock ()
 
virtual bool writeLock ()
 
virtual bool writeLock (const TimeStamp &timeout)
 
virtual bool writeLock (const TimeSpan &timeout)
 
virtual ~RWLockImplWin32 ()
 
- Public Member Functions inherited from icl_core::thread::RWLockImpl
virtual ~RWLockImpl ()
 

Private Member Functions

bool readLock (DWORD timeout)
 
bool writeLock (DWORD timeout)
 

Private Attributes

int m_number_of_reader
 
int m_number_of_writer
 
Mutex m_reader_access_lock
 
HANDLE m_reader_mutex_event
 
std::vector< int > m_reader_pid
 
HANDLE m_writer_mutex
 
int m_writer_pid
 

Additional Inherited Members

- Protected Member Functions inherited from icl_core::Noncopyable
 Noncopyable ()
 
virtual ~Noncopyable ()
 

Detailed Description

Definition at line 38 of file RWLockImplWin32.h.

Constructor & Destructor Documentation

icl_core::thread::RWLockImplWin32::RWLockImplWin32 ( )

Definition at line 29 of file RWLockImplWin32.cpp.

icl_core::thread::RWLockImplWin32::~RWLockImplWin32 ( )
virtual

Definition at line 38 of file RWLockImplWin32.cpp.

Member Function Documentation

bool icl_core::thread::RWLockImplWin32::readLock ( )
virtual

Implements icl_core::thread::RWLockImpl.

Definition at line 44 of file RWLockImplWin32.cpp.

bool icl_core::thread::RWLockImplWin32::readLock ( const TimeStamp timeout)
virtual

Implements icl_core::thread::RWLockImpl.

Definition at line 50 of file RWLockImplWin32.cpp.

bool icl_core::thread::RWLockImplWin32::readLock ( const TimeSpan timeout)
virtual

Implements icl_core::thread::RWLockImpl.

Definition at line 56 of file RWLockImplWin32.cpp.

bool icl_core::thread::RWLockImplWin32::readLock ( DWORD  timeout)
private

Definition at line 61 of file RWLockImplWin32.cpp.

bool icl_core::thread::RWLockImplWin32::tryReadLock ( )
virtual

Implements icl_core::thread::RWLockImpl.

Definition at line 81 of file RWLockImplWin32.cpp.

bool icl_core::thread::RWLockImplWin32::tryWriteLock ( )
virtual

Implements icl_core::thread::RWLockImpl.

Definition at line 115 of file RWLockImplWin32.cpp.

void icl_core::thread::RWLockImplWin32::unlock ( )
virtual

Implements icl_core::thread::RWLockImpl.

Definition at line 120 of file RWLockImplWin32.cpp.

bool icl_core::thread::RWLockImplWin32::writeLock ( )
virtual

Implements icl_core::thread::RWLockImpl.

Definition at line 86 of file RWLockImplWin32.cpp.

bool icl_core::thread::RWLockImplWin32::writeLock ( const TimeStamp timeout)
virtual

Implements icl_core::thread::RWLockImpl.

Definition at line 92 of file RWLockImplWin32.cpp.

bool icl_core::thread::RWLockImplWin32::writeLock ( const TimeSpan timeout)
virtual

Implements icl_core::thread::RWLockImpl.

Definition at line 98 of file RWLockImplWin32.cpp.

bool icl_core::thread::RWLockImplWin32::writeLock ( DWORD  timeout)
private

Definition at line 103 of file RWLockImplWin32.cpp.

Member Data Documentation

int icl_core::thread::RWLockImplWin32::m_number_of_reader
private

Definition at line 64 of file RWLockImplWin32.h.

int icl_core::thread::RWLockImplWin32::m_number_of_writer
private

Definition at line 63 of file RWLockImplWin32.h.

Mutex icl_core::thread::RWLockImplWin32::m_reader_access_lock
private

Definition at line 60 of file RWLockImplWin32.h.

HANDLE icl_core::thread::RWLockImplWin32::m_reader_mutex_event
private

Definition at line 61 of file RWLockImplWin32.h.

std::vector<int> icl_core::thread::RWLockImplWin32::m_reader_pid
private

Definition at line 66 of file RWLockImplWin32.h.

HANDLE icl_core::thread::RWLockImplWin32::m_writer_mutex
private

Definition at line 62 of file RWLockImplWin32.h.

int icl_core::thread::RWLockImplWin32::m_writer_pid
private

Definition at line 65 of file RWLockImplWin32.h.


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


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59