OW_NAMESPACE::MutexLock Class Reference

#include <OW_MutexLock.hpp>

Collaboration diagram for OW_NAMESPACE::MutexLock:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MutexLock (Mutex &mutex, bool initially_locked=true)
 ~MutexLock ()
void lock ()
void release ()
 MutexLock (const MutexLock &arg)
bool isLocked () const

Private Attributes

Mutexm_mutex
bool m_locked

Friends

class Condition

Detailed Description

Definition at line 46 of file OW_MutexLock.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::MutexLock::MutexLock Mutex mutex,
bool  initially_locked = true
[inline, explicit]
 

Definition at line 49 of file OW_MutexLock.hpp.

OW_NAMESPACE::MutexLock::~MutexLock  )  [inline]
 

Definition at line 57 of file OW_MutexLock.hpp.

OW_NAMESPACE::MutexLock::MutexLock const MutexLock arg  )  [inline]
 

Definition at line 83 of file OW_MutexLock.hpp.

References m_locked.


Member Function Documentation

bool OW_NAMESPACE::MutexLock::isLocked  )  const [inline]
 

Definition at line 88 of file OW_MutexLock.hpp.

void OW_NAMESPACE::MutexLock::lock  )  [inline]
 

Definition at line 71 of file OW_MutexLock.hpp.

References OW_NAMESPACE::Mutex::acquire(), and m_mutex.

void OW_NAMESPACE::MutexLock::release  )  [inline]
 

Definition at line 77 of file OW_MutexLock.hpp.

References m_mutex, and OW_NAMESPACE::Mutex::release().

Referenced by OW_NAMESPACE::IndicationServerImplThread::_processIndication(), OW_NAMESPACE::WQLImpl::createSelectStatement(), OW_NAMESPACE::HTTPXMLCIMListenerCallback::deregisterForIndication(), OW_NAMESPACE::CppProviderIFC::doShuttingDown(), OW_NAMESPACE::WQLImpl::evaluate(), and OW_NAMESPACE::CppProviderIFC::getProvider().


Friends And Related Function Documentation

friend class Condition [friend]
 

Definition at line 95 of file OW_MutexLock.hpp.


Member Data Documentation

bool OW_NAMESPACE::MutexLock::m_locked [mutable, private]
 

Definition at line 94 of file OW_MutexLock.hpp.

Referenced by MutexLock().

Mutex* OW_NAMESPACE::MutexLock::m_mutex [private]
 

Definition at line 93 of file OW_MutexLock.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Feb 9 09:14:03 2006 for openwbem by  doxygen 1.4.6