00001 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef TDSPBLOCKFIFOFILTER_H 00019 #define TDSPBLOCKFIFOFILTER_H 00020 00021 #include "TDSPFilter.h" 00022 #include "TDSPBlockFifo.h" 00023 00029 class TDSPBlockFifoFilter { 00030 00031 00032 protected: 00033 00034 TDSPFilter *fFilter; 00035 00036 Int_t fWidth; 00037 00038 TDSPBlockFifo *fInput; 00039 TDSPBlockFifo *fOutput; 00040 00041 void ConfigFifos(); 00042 00043 public: 00044 00045 00046 00047 TDSPBlockFifoFilter(char *name = NULL); 00048 virtual ~TDSPBlockFifoFilter(); 00049 00050 TDSPBlockFifo *GetInputFifo() { return fInput; }; 00051 TDSPBlockFifo *GetOutputFifo() { return fOutput; }; 00052 00053 void SetFilter(TDSPFilter*); 00054 TDSPFilter* GetFilter() const { return fFilter;}; 00055 00056 void SetWidth(Int_t); 00057 00058 TDSPSignal *filter(TDSPSignal *input, TDSPSignal *output); 00059 00060 ClassDef(TDSPBlockFifoFilter,1) 00061 00062 }; 00063 00064 #endif
1.3.2