QXRD
0.11.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qxrd
source
submodules
qceplib
qceplib-base
qcepmutexlocker.h
Go to the documentation of this file.
1
#ifndef QCEPMUTEXLOCKER_H
2
#define QCEPMUTEXLOCKER_H
3
4
#include <QMutexLocker>
5
#include <QTime>
6
#include "
qcepmacros.h
"
7
8
class
QcepMutexLocker
:
public
QMutexLocker
9
{
10
public
:
11
QcepMutexLocker
(
const
char
*file,
int
line, QMutex * mutex);
12
~QcepMutexLocker
();
13
14
static
void
traceLock
(
const
char
*file,
int
line);
15
static
void
dumpLocks
();
16
17
private
:
18
QTime
m_LockTime
;
19
const
char
*
m_File
;
20
int
m_Line
;
21
};
22
23
#endif // QCEPMUTEXLOCKER_H
qcepmacros.h
QcepMutexLocker::traceLock
static void traceLock(const char *file, int line)
Definition:
qcepmutexlocker.cpp:31
QcepMutexLocker
Definition:
qcepmutexlocker.h:8
QcepMutexLocker::dumpLocks
static void dumpLocks()
Definition:
qcepmutexlocker.cpp:38
QcepMutexLocker::QcepMutexLocker
QcepMutexLocker(const char *file, int line, QMutex *mutex)
Definition:
qcepmutexlocker.cpp:8
QcepMutexLocker::m_Line
int m_Line
Definition:
qcepmutexlocker.h:20
QcepMutexLocker::~QcepMutexLocker
~QcepMutexLocker()
Definition:
qcepmutexlocker.cpp:19
QcepMutexLocker::m_File
const char * m_File
Definition:
qcepmutexlocker.h:19
QcepMutexLocker::m_LockTime
QTime m_LockTime
Definition:
qcepmutexlocker.h:18
Generated by
1.8.10