lobot::AutoWriteLock Class Reference

Write locks created on the stack that acquire an "underlying" read/write lock for writing on initialization and release it when the object goes out of scope. More...

#include <Robots/LoBot/thread/LoRWLock.H>

Collaboration diagram for lobot::AutoWriteLock:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AutoWriteLock (RWLock &)
 Constructor: will acquire the underlying lock object for writing.
 AutoWriteLock (const RWLock &)
 ~AutoWriteLock ()
 Clean-up: will release the underlying lock object.

Detailed Description

Write locks created on the stack that acquire an "underlying" read/write lock for writing on initialization and release it when the object goes out of scope.

Definition at line 127 of file LoRWLock.H.


Constructor & Destructor Documentation

lobot::AutoWriteLock::AutoWriteLock ( RWLock L  ) 

Constructor: will acquire the underlying lock object for writing.

Definition at line 128 of file LoRWLock.C.

lobot::AutoWriteLock::AutoWriteLock ( const RWLock L  ) 

Constructor for const RWLock objects (e.g., when called from const member functions in client classes).

Definition at line 134 of file LoRWLock.C.

lobot::AutoWriteLock::~AutoWriteLock (  ) 

Clean-up: will release the underlying lock object.

Definition at line 176 of file LoRWLock.C.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:30:46 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3