source: GTP/trunk/Lib/Vis/Preprocessing/src/BoostPreprocessorThread.h @ 1457

Revision 1457, 585 bytes checked in by bittner, 18 years ago (diff)

thread updates

Line 
1#ifndef __BOOST_PREPROCESSOR_THREAD_H
2#define __BOOST_PREPROCESSOR_THREAD_H
3
4#include "PreprocessorThread.h"
5
6namespace boost {
7        class thread;
8}
9namespace GtpVisibilityPreprocessor {
10
11class Preprocessor;
12
13/** This class represents a preprocessor thread using boost.
14*/
15class BoostPreprocessorThread: public PreprocessorThread
16{
17public:
18        BoostPreprocessorThread(Preprocessor *p);
19        ~BoostPreprocessorThread();
20
21        virtual void InitThread();
22        virtual void RunThread();
23
24
25        void operator()();
26
27protected:
28
29private:
30       
31        boost::thread *mThread;
32};
33
34}
35
36#endif
Note: See TracBrowser for help on using the repository browser.