Mercurial > hg > svcore
comparison transform/Transform.h @ 96:1aebdc68ec6d
* Introduce simple non-RT thread base class
* Rename MatrixFileCache to MatrixFile
* some fixes & tidying
author | Chris Cannam |
---|---|
date | Thu, 04 May 2006 16:03:02 +0000 |
parents | d397ea0a79f5 |
children | 61a2ac1241b3 |
comparison
equal
deleted
inserted
replaced
95:040a151d0897 | 96:1aebdc68ec6d |
---|---|
14 */ | 14 */ |
15 | 15 |
16 #ifndef _TRANSFORM_H_ | 16 #ifndef _TRANSFORM_H_ |
17 #define _TRANSFORM_H_ | 17 #define _TRANSFORM_H_ |
18 | 18 |
19 #include <QThread> | 19 #include "NonRTThread.h" |
20 | 20 |
21 #include "base/Model.h" | 21 #include "base/Model.h" |
22 | 22 |
23 typedef QString TransformName; | 23 typedef QString TransformName; |
24 | 24 |
33 * thread populating the output model. The model is available to the | 33 * thread populating the output model. The model is available to the |
34 * user of the Transform immediately, but may be initially empty until | 34 * user of the Transform immediately, but may be initially empty until |
35 * the background thread has populated it. | 35 * the background thread has populated it. |
36 */ | 36 */ |
37 | 37 |
38 class Transform : public QThread | 38 class Transform : public NonRTThread |
39 { | 39 { |
40 public: | 40 public: |
41 virtual ~Transform(); | 41 virtual ~Transform(); |
42 | 42 |
43 Model *getInputModel() { return m_input; } | 43 Model *getInputModel() { return m_input; } |