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