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 TDSPCHOP_H 00019 #define TDSPCHOP_H 00020 00021 #include <TDSPSignal.h> 00022 #include <TDSPOutput1.h> 00023 00028 class TDSPChop : public TDSPOutput1 { 00029 00030 // the last set output signal length 00031 00032 Int_t fSignalLength; 00033 00034 // The size of the cached data 00035 00036 Int_t fFilled; 00037 00038 protected: 00039 00040 public: 00041 00042 00043 TDSPChop(char *name); 00044 ~TDSPChop(); 00045 00046 // Set the length of the output signal 00047 00048 void SetSignalLength(Int_t len) { GetSignal()->SetLen(fSignalLength = len); }; 00049 00050 // register signals and Slots 00051 00052 void RegisterSignalsAndSlots() {} 00053 00054 00055 // Slots 00056 00057 TDSPSignal* Update(TDSPSignal *input); 00058 00059 ClassDef(TDSPChop,1) 00060 00061 }; 00062 00063 #endif
1.3.2