Last change
on this file since 1442 was 1410, checked in by ansari, 25 years ago |
changement include xstream en xstream.h et suppression de variables re-declarees pour compil avec SGI-CC , Reza 20/2/2001
|
File size:
492 bytes
|
Line | |
---|
1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
2 |
|
---|
3 | #ifndef TOIMANAGER_H
|
---|
4 | #define TOIMANAGER_H
|
---|
5 |
|
---|
6 | #include <vector>
|
---|
7 |
|
---|
8 | using namespace std;
|
---|
9 |
|
---|
10 | class TOIManager {
|
---|
11 | public:
|
---|
12 | static TOIManager* getManager();
|
---|
13 | void setRequestedSample(long begin, long end);
|
---|
14 | long getRequestedBegin();
|
---|
15 | long getRequestedEnd();
|
---|
16 | void addThread(pthread_t*);
|
---|
17 | void joinAll();
|
---|
18 |
|
---|
19 | protected:
|
---|
20 | TOIManager();
|
---|
21 | static TOIManager* instance;
|
---|
22 | long reqBegin;
|
---|
23 | long reqEnd;
|
---|
24 |
|
---|
25 | vector<pthread_t*> threads;
|
---|
26 | };
|
---|
27 |
|
---|
28 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.