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

std::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 31 of file AsynchronousTools.h.


Constructor & Destructor Documentation

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

Member Function Documentation

void casa::async::Mutex::acquirelock (  ) 

jagonzal: Useful when mandatory is locking

std::mutex& casa::async::Mutex::getMutex (  )  [protected]
void casa::async::Mutex::lock (  ) 

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

Mutex casa::async::Mutex::operator= ( const Mutex other  )  [private]
Bool casa::async::Mutex::trylock (  ) 
void casa::async::Mutex::unlock (  ) 

Bool lock (Int milliseconds);.


Friends And Related Function Documentation

friend class Condition [friend]

Definition at line 33 of file AsynchronousTools.h.

friend class UniqueLock [friend]

Definition at line 34 of file AsynchronousTools.h.


Member Data Documentation

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

Definition at line 58 of file AsynchronousTools.h.

Definition at line 57 of file AsynchronousTools.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1