source:
GTP/trunk/Lib/Vis/Preprocessing/src/PreprocessorThread.h
@
1154
Revision 1154, 560 bytes checked in by mattausch, 18 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[492] | 1 | #ifndef __PREPROCESSOR_THREAD_H |
2 | #define __PREPROCESSOR_THREAD_H | |
3 | ||
[860] | 4 | |
[1146] | 5 | namespace GtpVisibilityPreprocessor |
6 | { | |
7 | ||
[492] | 8 | class Preprocessor; |
9 | ||
[1145] | 10 | /** This class represents a preprocessor thread. |
11 | */ | |
[1146] | 12 | class PreprocessorThread |
[492] | 13 | { |
14 | public: | |
[1146] | 15 | PreprocessorThread(Preprocessor *p); |
16 | virtual ~PreprocessorThread(); | |
[492] | 17 | |
[1146] | 18 | virtual void InitThread() = 0; |
19 | virtual void RunThread() = 0; | |
[1145] | 20 | |
[1146] | 21 | protected: |
22 | virtual void Main() = 0; | |
23 | ||
24 | Preprocessor *mPreprocessor; | |
[492] | 25 | }; |
26 | ||
[1154] | 27 | /*class PreprocessorThreadFactory |
28 | { | |
29 | PreprocessorThread *Create(const int threadType); | |
30 | }*/ | |
31 | ||
[860] | 32 | } |
[492] | 33 | |
34 | #endif |
Note: See TracBrowser
for help on using the repository browser.