Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ThreadUtil::Mutex Class Reference

#include </home/clem/local/src/opie/noncore/multimedia/opieplayer2/threadutil.h>

Collaboration diagram for ThreadUtil::Mutex:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Mutex ()
 ~Mutex ()
void lock ()
void unlock ()
bool tryLock ()
bool isLocked ()

Private Member Functions

 Mutex (const Mutex &)
Mutexoperator= (const Mutex &)

Private Attributes

Datad

Friends

class WaitCondition

Constructor & Destructor Documentation

Mutex::Mutex  ) 
 

Definition at line 46 of file threadutil.cpp.

Mutex::~Mutex  ) 
 

Definition at line 51 of file threadutil.cpp.

References d.

ThreadUtil::Mutex::Mutex const Mutex  )  [private]
 


Member Function Documentation

bool Mutex::isLocked  ) 
 

Definition at line 71 of file threadutil.cpp.

References tryLock(), and unlock().

Referenced by ThreadUtil::ChannelMessage::~ChannelMessage().

void Mutex::lock  ) 
 

Definition at line 56 of file threadutil.cpp.

References d.

Referenced by ThreadUtil::AutoLock::AutoLock(), ThreadUtil::Channel::deliver(), ThreadUtil::Channel::deliverOne(), ThreadUtil::Channel::send(), and WaitCondition::wait().

Mutex& ThreadUtil::Mutex::operator= const Mutex  )  [private]
 

bool Mutex::tryLock  ) 
 

Definition at line 66 of file threadutil.cpp.

References d.

Referenced by isLocked().

void Mutex::unlock  ) 
 

Definition at line 61 of file threadutil.cpp.

References d.

Referenced by ThreadUtil::Channel::deliver(), isLocked(), ThreadUtil::ChannelMessage::reply(), ThreadUtil::Channel::send(), ThreadUtil::AutoLock::~AutoLock(), and ThreadUtil::ChannelMessage::~ChannelMessage().


Friends And Related Function Documentation

friend class WaitCondition [friend]
 

Definition at line 34 of file threadutil.h.


Member Data Documentation

Data* ThreadUtil::Mutex::d [private]
 

Definition at line 45 of file threadutil.h.

Referenced by lock(), tryLock(), unlock(), WaitCondition::wait(), and ~Mutex().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:03:54 2005 for OPIE by  doxygen 1.4.2