QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RThread.h
Go to the documentation of this file.
1
20
#ifndef RTHREAD_H_
21
#define RTHREAD_H_
22
23
#include "
core_global.h
"
24
25
#include <QMetaType>
26
#include <QThread>
27
28
#include "
RRunner.h
"
29
35
class
QCADCORE_EXPORT
RThread
:
public
QThread {
36
37
Q_OBJECT
38
39
public
:
40
RThread
(QObject * parent = 0);
41
virtual
~RThread
();
42
43
void
start();
44
45
static
void
yieldCurrentThread();
46
47
static
QString currentThreadAddress();
48
static
QString currentThreadName();
49
static
RThread
* currentThread();
50
51
signals:
52
void
dorun
();
53
54
protected
:
55
virtual
void
run();
56
};
57
58
Q_DECLARE_METATYPE
(
RThread
*)
59
60
#endif
/* RTHREAD_H_ */
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(RMath *)
RRunner.h
RThread
Copyright (c) 2011-2018 by Andrew Mustun.
Definition
RThread.h:35
RThread::dorun
void dorun()
core_global.h
QCADCORE_EXPORT
#define QCADCORE_EXPORT
Definition
core_global.h:10
src
core
RThread.h
Generated on Fri Jul 18 2025 09:41:50 for QCAD by
1.10.0