SUMO - Simulation of Urban MObility
fast_mutex_autolock Class Reference

#include <fast_mutex.h>

Collaboration diagram for fast_mutex_autolock:
Collaboration graph

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 394 of file fast_mutex.h.

Constructor & Destructor Documentation

§ fast_mutex_autolock() [1/2]

fast_mutex_autolock::fast_mutex_autolock ( fast_mutex mtx)
inlineexplicit

Definition at line 398 of file fast_mutex.h.

References fast_mutex::lock().

§ ~fast_mutex_autolock()

fast_mutex_autolock::~fast_mutex_autolock ( )
inline

Definition at line 402 of file fast_mutex.h.

References fast_mutex::operator=(), and fast_mutex::unlock().

§ fast_mutex_autolock() [2/2]

fast_mutex_autolock::fast_mutex_autolock ( const fast_mutex_autolock )
private

Member Function Documentation

§ operator=()

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

Field Documentation

§ _M_mtx

fast_mutex& fast_mutex_autolock::_M_mtx
private

Definition at line 396 of file fast_mutex.h.


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