source: Sophya/trunk/ArchTOIPipe/ProcWSophya/rztoi.h@ 1437

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: 638 bytes
Line 
1// This may look like C code, but it is really -*- C++ -*-
2
3#ifndef RZTOIPROC_H
4#define RZTOIPROC_H
5
6#include "toiprocessor.h"
7
8class RzTOIProc : public TOIProcessor {
9public:
10 RzTOIProc(int w1=4096, int w2=128, int nmax=20);
11 inline void setOutPPF(string const & ppfname)
12 { outppf = ppfname; }
13 virtual void init();
14 virtual void run();
15
16protected:
17 int _width1;
18 int _width2;
19 int _nmax;
20 string outppf;
21};
22
23class RzSimpleTOIProc : public TOIProcessor {
24public:
25 RzSimpleTOIProc(double fact=1.0, int npr=1000);
26 virtual void init();
27 virtual void run();
28
29protected:
30 double _fact;
31 int _nprt;
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.