| Last change
 on this file since 3892 was             2187, checked in by aubourg, 23 years ago | 
        
          | 
Vivien, limites processors et connect
 | 
        
          | File size:
            678 bytes | 
      
      
| 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: toidelay.h,v 1.1 2002-09-09 15:33:15 aubourg Exp $ | 
|---|
| 8 |  | 
|---|
| 9 | #ifndef TOIDELAY_H | 
|---|
| 10 | #define TOIDELAY_H | 
|---|
| 11 |  | 
|---|
| 12 | #include "toiprocessor.h" | 
|---|
| 13 |  | 
|---|
| 14 | class TOIDelay : public TOIProcessor { | 
|---|
| 15 | public: | 
|---|
| 16 | TOIDelay(int delay); | 
|---|
| 17 |  | 
|---|
| 18 | void setSkipBegin(int nskip) {this->nskip = nskip;} | 
|---|
| 19 | void setDropEnd(int ndrop) {this->ndrop = ndrop;} | 
|---|
| 20 |  | 
|---|
| 21 | virtual void init(); | 
|---|
| 22 | virtual void run(); | 
|---|
| 23 | protected: | 
|---|
| 24 | int delay; | 
|---|
| 25 | int nskip; | 
|---|
| 26 | int ndrop; | 
|---|
| 27 | }; | 
|---|
| 28 |  | 
|---|
| 29 |  | 
|---|
| 30 | #endif | 
|---|
| 31 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.