MythTV  master
Public Member Functions | Private Attributes | List of all members
MythMultiLocker Class Reference

#include <mythplayer.h>

Public Member Functions

 MythMultiLocker (std::initializer_list< QMutex * > Locks)
 
 MythMultiLocker ()=delete
 
 ~MythMultiLocker ()
 
void Unlock (void)
 
void Relock (void)
 

Private Attributes

QVector< QMutex * > m_locks
 

Detailed Description

Definition at line 119 of file mythplayer.h.

Constructor & Destructor Documentation

◆ MythMultiLocker() [1/2]

MythMultiLocker::MythMultiLocker ( std::initializer_list< QMutex * >  Locks)

Definition at line 123 of file mythplayer.cpp.

◆ MythMultiLocker() [2/2]

MythMultiLocker::MythMultiLocker ( )
delete

◆ ~MythMultiLocker()

MythMultiLocker::~MythMultiLocker ( )

Definition at line 129 of file mythplayer.cpp.

Member Function Documentation

◆ Unlock()

void MythMultiLocker::Unlock ( void  )

Definition at line 134 of file mythplayer.cpp.

Referenced by ~MythMultiLocker().

◆ Relock()

void MythMultiLocker::Relock ( void  )

Definition at line 141 of file mythplayer.cpp.

Referenced by MythMultiLocker().

Member Data Documentation

◆ m_locks

QVector<QMutex*> MythMultiLocker::m_locks
private

Definition at line 131 of file mythplayer.h.

Referenced by Relock(), and Unlock().


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