Revision 1146,
608 bytes
checked in by mattausch, 18 years ago
(diff) |
use qt renderer as dll
changed vsp render heuristics sweep
capsulated thread
|
Rev | Line | |
---|
[1146] | 1 | #ifndef __BOOST_PREPROCESSOR_THREAD_H
|
---|
| 2 | #define __BOOST_PREPROCESSOR_THREAD_H
|
---|
| 3 |
|
---|
| 4 | #include "PreprocessorThread.h"
|
---|
| 5 |
|
---|
| 6 | namespace boost {
|
---|
| 7 | class thread;
|
---|
| 8 | }
|
---|
| 9 | namespace GtpVisibilityPreprocessor {
|
---|
| 10 |
|
---|
| 11 | class Preprocessor;
|
---|
| 12 |
|
---|
| 13 | /** This class represents a preprocessor thread using boost.
|
---|
| 14 | */
|
---|
| 15 | class BoostPreprocessorThread: public PreprocessorThread
|
---|
| 16 | {
|
---|
| 17 | public:
|
---|
| 18 | BoostPreprocessorThread(Preprocessor *p);
|
---|
| 19 | ~BoostPreprocessorThread();
|
---|
| 20 |
|
---|
| 21 | virtual void InitThread();
|
---|
| 22 | virtual void RunThread();
|
---|
| 23 |
|
---|
| 24 | virtual void Main();
|
---|
| 25 |
|
---|
| 26 | void operator()();
|
---|
| 27 |
|
---|
| 28 | protected:
|
---|
| 29 |
|
---|
| 30 | private:
|
---|
| 31 |
|
---|
| 32 | boost::thread *mThread;
|
---|
| 33 | };
|
---|
| 34 |
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.