fast_mutex_autolock Class Reference

#include <fast_mutex.h>


Detailed Description

An acquistion-on-initialization lock class based on fast_mutex.

Definition at line 294 of file fast_mutex.h.


Public Member Functions

 fast_mutex_autolock (fast_mutex &__mtx)
 ~fast_mutex_autolock ()

Private Member Functions

 fast_mutex_autolock (const fast_mutex_autolock &)
fast_mutex_autolockoperator= (const fast_mutex_autolock &)

Private Attributes

fast_mutex_M_mtx

Constructor & Destructor Documentation

fast_mutex_autolock::fast_mutex_autolock ( fast_mutex __mtx  )  [inline, explicit]

Definition at line 298 of file fast_mutex.h.

References _M_mtx, and fast_mutex::lock().

00298                                                     : _M_mtx(__mtx)
00299     {
00300         _M_mtx.lock();
00301     }

fast_mutex_autolock::~fast_mutex_autolock (  )  [inline]

Definition at line 302 of file fast_mutex.h.

References _M_mtx, and fast_mutex::unlock().

00303     {
00304         _M_mtx.unlock();
00305     }

fast_mutex_autolock::fast_mutex_autolock ( const fast_mutex_autolock  )  [private]


Member Function Documentation

fast_mutex_autolock& fast_mutex_autolock::operator= ( const fast_mutex_autolock  )  [private]


Field Documentation

Definition at line 296 of file fast_mutex.h.

Referenced by fast_mutex_autolock(), and ~fast_mutex_autolock().


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

Generated on Wed May 5 00:06:41 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6