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 | #include "asciitoiwtr.h"
|
---|
10 |
|
---|
11 | int main(int argc, char** argv) {
|
---|
12 | TOIManager* mgr = TOIManager::getManager();
|
---|
13 | mgr->setRequestedSample(104001000,104001500);
|
---|
14 |
|
---|
15 | FITSTOIReader r1(argv[1]);
|
---|
16 | ASCIITOIWriter w(argv[2]);
|
---|
17 |
|
---|
18 |
|
---|
19 | TOI* toi1 = new TOISeqBuffered();
|
---|
20 | TOI* toi2 = new TOISeqBuffered();
|
---|
21 | TOI* toi3 = new TOISeqBuffered();
|
---|
22 | TOI* toi4 = new TOISeqBuffered();
|
---|
23 |
|
---|
24 | r1.addOutput("143K01", toi1);
|
---|
25 | r1.addOutput("143K0X", toi2);
|
---|
26 | r1.addOutput("143K0Y", toi3);
|
---|
27 | r1.addOutput("143K0Z", toi4);
|
---|
28 |
|
---|
29 | w.addInput("143K01", toi1);
|
---|
30 | w.addInput("143K0X", toi2);
|
---|
31 | w.addInput("143K0Y", toi3);
|
---|
32 | w.addInput("143K0Z", toi4);
|
---|
33 |
|
---|
34 |
|
---|
35 | r1.start();
|
---|
36 | w.start();
|
---|
37 | mgr->joinAll();
|
---|
38 | return(0);
|
---|
39 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.