Public Member Functions | Private Attributes | List of all members
FIX::Locker Class Reference

Locks/Unlocks a mutex using RAII. More...

#include <Mutex.h>

Collaboration diagram for FIX::Locker:
Collaboration graph
[legend]

Public Member Functions

 Locker (Mutex &mutex)
 
 ~Locker ()
 

Private Attributes

Mutexm_mutex
 

Detailed Description

Locks/Unlocks a mutex using RAII.

Definition at line 110 of file Mutex.h.

Constructor & Destructor Documentation

◆ Locker()

FIX::Locker::Locker ( Mutex mutex)
inline

Definition at line 113 of file Mutex.h.

114 {
115 public:
116  ReverseLocker( Mutex& mutex )
117  : m_mutex( mutex )

References FIX::ReverseLocker::m_mutex, and FIX::ReverseLocker::ReverseLocker().

◆ ~Locker()

FIX::Locker::~Locker ( )
inline

Definition at line 119 of file Mutex.h.

123  {

Member Data Documentation

◆ m_mutex

Mutex& FIX::Locker::m_mutex
private

Definition at line 124 of file Mutex.h.


The documentation for this class was generated from the following file:
FIX::Locker::m_mutex
Mutex & m_mutex
Definition: Mutex.h:124

Generated on Thu Apr 23 2020 04:32:03 for QuickFIX by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2001