| Line |  | 
|---|
| 1 | #include "toi.h" | 
|---|
| 2 | #include "toiseqbuff.h" | 
|---|
| 3 | #include "toiprocessor.h" | 
|---|
| 4 | #include "fitstoirdr.h" | 
|---|
| 5 | #include "fitstoiwtr.h" | 
|---|
| 6 | #include "toisqfilter.h" | 
|---|
| 7 | #include "toiregwindow.h" | 
|---|
| 8 | #include "toimanager.h" | 
|---|
| 9 |  | 
|---|
| 10 | int main(int argc, char** argv) { | 
|---|
| 11 | cout << "tstflag starting" << endl; | 
|---|
| 12 | TOIManager* mgr = TOIManager::getManager(); | 
|---|
| 13 | mgr->setRequestedSample(104001000,104001500); | 
|---|
| 14 |  | 
|---|
| 15 | FITSTOIReader r1(argv[1]); | 
|---|
| 16 | FITSTOIWriter w(argv[2]); | 
|---|
| 17 |  | 
|---|
| 18 |  | 
|---|
| 19 | TOI* toi1 = new TOISeqBuffered(); | 
|---|
| 20 | //TOI* toi1 = new TOIRegularWindow(); | 
|---|
| 21 |  | 
|---|
| 22 | r1.addOutput("boloMuV_8", toi1); | 
|---|
| 23 |  | 
|---|
| 24 |  | 
|---|
| 25 | w.addInput("143K01", toi1, true); | 
|---|
| 26 | w.addInput("143K0X", toi1, false); | 
|---|
| 27 | w.addInput("143K0Y", toi1, true); | 
|---|
| 28 | w.addInput("143K0Z", toi1, false); | 
|---|
| 29 |  | 
|---|
| 30 |  | 
|---|
| 31 | cout << "starting" << endl; | 
|---|
| 32 |  | 
|---|
| 33 | r1.start(); | 
|---|
| 34 | w.start(); | 
|---|
| 35 |  | 
|---|
| 36 | cout << "joining" << endl; | 
|---|
| 37 | mgr->joinAll(); | 
|---|
| 38 | return(0); | 
|---|
| 39 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.