Rev | Line | |
---|
[1487] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 |
|
---|
[1738] | 3 | // ArchTOIPipe (C) CEA/DAPNIA/SPP IN2P3/LAL
|
---|
| 4 | // Eric Aubourg
|
---|
| 5 | // Christophe Magneville
|
---|
| 6 | // Reza Ansari
|
---|
[1762] | 7 | // $Id: nooppr.h,v 1.5 2001-11-13 16:22:47 aubourg Exp $
|
---|
[1738] | 8 |
|
---|
| 9 |
|
---|
[1487] | 10 | #ifndef NOOPPR_H
|
---|
| 11 | #define NOOPPR_H
|
---|
| 12 |
|
---|
| 13 | #include "toiprocessor.h"
|
---|
| 14 |
|
---|
| 15 | // Un processeur qui ne fait rien !
|
---|
[1488] | 16 | // Au mieux, copie son entree sur la sortie - peut avoir 2 entrees
|
---|
[1487] | 17 | // Peut introduire un delai de wsize
|
---|
| 18 |
|
---|
| 19 | class NoOpProcessor : public TOIProcessor {
|
---|
| 20 | public:
|
---|
| 21 | NoOpProcessor(int wsz=0);
|
---|
| 22 | // ~NoOpProcessor();
|
---|
| 23 |
|
---|
| 24 | inline int WSize() const { return wsize; }
|
---|
| 25 | inline int_8 ProcessedSampleCount() const { return totnscount; }
|
---|
| 26 |
|
---|
[1762] | 27 | virtual void PrintStatus(::ostream & os) ; // const plus tard
|
---|
[1487] | 28 |
|
---|
| 29 | virtual void init();
|
---|
| 30 | virtual void run();
|
---|
| 31 |
|
---|
| 32 | protected:
|
---|
| 33 | int_8 totnscount; // Nombre total d'echantillon processe
|
---|
| 34 | int wsize; // Taille de fenetre de travail
|
---|
| 35 | };
|
---|
| 36 |
|
---|
| 37 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.