source:
Sophya/trunk/ArchTOIPipe/Processors/nooppr.h@
1487
Last change on this file since 1487 was 1487, checked in by , 24 years ago | |
---|---|
File size: 680 bytes |
Line | |
---|---|
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 ! |
9 | // Peut introduire un delai de wsize |
10 | |
11 | class NoOpProcessor : public TOIProcessor { |
12 | public: |
13 | NoOpProcessor(int wsz=0); |
14 | // ~NoOpProcessor(); |
15 | |
16 | inline int WSize() const { return wsize; } |
17 | inline int_8 ProcessedSampleCount() const { return totnscount; } |
18 | |
19 | virtual void PrintStatus(ostream & os) ; // const plus tard |
20 | |
21 | virtual void init(); |
22 | virtual void run(); |
23 | |
24 | protected: |
25 | int_8 totnscount; // Nombre total d'echantillon processe |
26 | int wsize; // Taille de fenetre de travail |
27 | }; |
28 | |
29 | #endif |
Note:
See TracBrowser
for help on using the repository browser.