// This may look like C code, but it is really -*- C++ -*- // ArchTOIPipe (C) CEA/DAPNIA/SPP IN2P3/LAL // Eric Aubourg // Christophe Magneville // Reza Ansari // $Id: toidelay.h,v 1.1 2002-09-09 15:33:15 aubourg Exp $ #ifndef TOIDELAY_H #define TOIDELAY_H #include "toiprocessor.h" class TOIDelay : public TOIProcessor { public: TOIDelay(int delay); void setSkipBegin(int nskip) {this->nskip = nskip;} void setDropEnd(int ndrop) {this->ndrop = ndrop;} virtual void init(); virtual void run(); protected: int delay; int nskip; int ndrop; }; #endif