| Line |  | 
|---|
| 1 | // This may look like C code, but it is really -*- C++ -*- | 
|---|
| 2 |  | 
|---|
| 3 | // ArchTOIPipe           (C)     CEA/DAPNIA/SPP IN2P3/LAL | 
|---|
| 4 | //                               Eric Aubourg | 
|---|
| 5 | //                               Christophe Magneville | 
|---|
| 6 | //                               Reza Ansari | 
|---|
| 7 | // $Id: nooppr.h,v 1.5 2001-11-13 16:22:47 aubourg Exp $ | 
|---|
| 8 |  | 
|---|
| 9 |  | 
|---|
| 10 | #ifndef NOOPPR_H | 
|---|
| 11 | #define NOOPPR_H | 
|---|
| 12 |  | 
|---|
| 13 | #include "toiprocessor.h" | 
|---|
| 14 |  | 
|---|
| 15 | //  Un processeur qui ne fait rien ! | 
|---|
| 16 | //   Au mieux, copie son entree sur la sortie - peut avoir 2 entrees | 
|---|
| 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 |  | 
|---|
| 27 | virtual void  PrintStatus(::ostream & os) ; // const plus tard | 
|---|
| 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.