Last change
on this file since 1437 was 1437, checked in by ansari, 25 years ago |
Protections diverses dans TOIProcessor et FITSTOIReader/Writer
Ajout d'un TOI (TOISeqBuffered) avec gestion d'un buffer entre put/get
Ajout de processeurs de test (RZTOIProc...) , programme test associe
et SMakefile (pour compil avec SOPHYA)
Reza 12/3/2001
|
File size:
616 bytes
|
Rev | Line | |
---|
[1365] | 1 | #include "toi.h"
|
---|
| 2 | #include "toiprocessor.h"
|
---|
| 3 | #include "fitstoirdr.h"
|
---|
| 4 | #include "fitstoiwtr.h"
|
---|
| 5 | #include "toisqfilter.h"
|
---|
| 6 | #include "toimanager.h"
|
---|
| 7 |
|
---|
[1437] | 8 | int main(int argc, char** argv) {
|
---|
[1365] | 9 | cout << "tsttoi starting" << endl;
|
---|
| 10 | TOIManager* mgr = TOIManager::getManager();
|
---|
| 11 | mgr->setRequestedSample(11680920,11710584);
|
---|
| 12 | FITSTOIReader r(argv[1]); cout << "reader created" << endl;
|
---|
| 13 | FITSTOIWriter w(argv[2]);
|
---|
[1370] | 14 | w.setOutFlags(true);
|
---|
[1365] | 15 |
|
---|
[1367] | 16 | TOI* toi = new TOIRegularWindow("t1");
|
---|
[1365] | 17 | // toi->dbg=true;
|
---|
| 18 | r.addOutput("boloMuV_11", toi);
|
---|
| 19 | w.addInput("bolo_filtered", toi);
|
---|
| 20 |
|
---|
| 21 | r.start();
|
---|
| 22 | w.start();
|
---|
| 23 |
|
---|
| 24 | mgr->joinAll();
|
---|
[1437] | 25 |
|
---|
| 26 | return(0);
|
---|
[1365] | 27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.