SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
fast_mutex_autolock Class Reference

#include <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
 

Detailed Description

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

Definition at line 297 of file fast_mutex.h.

Constructor & Destructor Documentation

fast_mutex_autolock::fast_mutex_autolock ( fast_mutex mtx)
inlineexplicit

Definition at line 301 of file fast_mutex.h.

References fast_mutex::lock().

fast_mutex_autolock::~fast_mutex_autolock ( )
inline

Definition at line 305 of file fast_mutex.h.

References fast_mutex::unlock().

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

fast_mutex& fast_mutex_autolock::_M_mtx
private

Definition at line 299 of file fast_mutex.h.


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