casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends
casa::async::Mutex Class Reference

#include <AsynchronousTools.h>

List of all members.

Public Member Functions

 Mutex ()
virtual ~Mutex ()
void lock ()
 Bool isLockedByThisThread () const; // for debug purposes only !!!
void unlock ()
 Bool lock (Int milliseconds);.
Bool trylock ()
void acquirelock ()
 jagonzal: Useful when mandatory is locking

Protected Member Functions

boost::mutex & getMutex ()

Private Member Functions

 Mutex (const Mutex &other)
Mutex operator= (const Mutex &other)

Private Attributes

Bool isLocked_p
MutexImpl * impl_p

Friends

class Condition
class UniqueLock

Detailed Description

Definition at line 33 of file AsynchronousTools.h.


Constructor & Destructor Documentation

virtual casa::async::Mutex::~Mutex ( ) [virtual]
casa::async::Mutex::Mutex ( const Mutex other) [private]

Member Function Documentation

jagonzal: Useful when mandatory is locking

boost::mutex& casa::async::Mutex::getMutex ( ) [protected]

Bool isLockedByThisThread () const; // for debug purposes only !!!

Mutex casa::async::Mutex::operator= ( const Mutex other) [private]

Bool lock (Int milliseconds);.


Friends And Related Function Documentation

friend class Condition [friend]

Definition at line 35 of file AsynchronousTools.h.

friend class UniqueLock [friend]

Definition at line 36 of file AsynchronousTools.h.


Member Data Documentation

MutexImpl* casa::async::Mutex::impl_p [private]

Definition at line 60 of file AsynchronousTools.h.

Definition at line 59 of file AsynchronousTools.h.


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