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

Revision 1867, 625 bytes checked in by bittner, 18 years ago (diff)

merge, global lines, rss sampling 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
27  int
28  GetCurrentThreadId() const;
29
30protected:
31
32private:
33       
34        boost::thread *mThread;
35};
36
37}
38
39#endif
Note: See TracBrowser for help on using the repository browser.