|
Last change
on this file since 1627 was 1488, checked in by ansari, 25 years ago |
|
transformation de NoOpProcessor en double entree - Reza 6/5/2001
|
|
File size:
749 bytes
|
| Rev | Line | |
|---|
| [1487] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
|---|
| 2 |
|
|---|
| 3 | #ifndef NOOPPR_H
|
|---|
| 4 | #define NOOPPR_H
|
|---|
| 5 |
|
|---|
| 6 | #include "toiprocessor.h"
|
|---|
| 7 |
|
|---|
| 8 | // Un processeur qui ne fait rien !
|
|---|
| [1488] | 9 | // Au mieux, copie son entree sur la sortie - peut avoir 2 entrees
|
|---|
| [1487] | 10 | // Peut introduire un delai de wsize
|
|---|
| 11 |
|
|---|
| 12 | class NoOpProcessor : public TOIProcessor {
|
|---|
| 13 | public:
|
|---|
| 14 | NoOpProcessor(int wsz=0);
|
|---|
| 15 | // ~NoOpProcessor();
|
|---|
| 16 |
|
|---|
| 17 | inline int WSize() const { return wsize; }
|
|---|
| 18 | inline int_8 ProcessedSampleCount() const { return totnscount; }
|
|---|
| 19 |
|
|---|
| 20 | virtual void PrintStatus(ostream & os) ; // const plus tard
|
|---|
| 21 |
|
|---|
| 22 | virtual void init();
|
|---|
| 23 | virtual void run();
|
|---|
| 24 |
|
|---|
| 25 | protected:
|
|---|
| 26 | int_8 totnscount; // Nombre total d'echantillon processe
|
|---|
| 27 | int wsize; // Taille de fenetre de travail
|
|---|
| 28 | };
|
|---|
| 29 |
|
|---|
| 30 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.