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 TDSPSIGNALDUMP_H 00019 #define TDSPSIGNALDUMP_H 00020 00021 #include <Riostream.h> 00022 00023 #include <TDSPSignal.h> 00024 #include <TDSPOperator.h> 00025 00030 enum eSignalDumpMode { 00031 kSignalDumpAll, 00032 kSignalDumpParams 00033 }; 00034 00035 class TDSPSignalDump : public TDSPOperator { 00036 00037 ostream *os; 00038 00039 protected: 00040 00041 eSignalDumpMode fMode; // Dump Mode 00042 Int_t fPause; // Pause (<0 - infinity , >0 in seconds) 00043 00044 TString Slot_Update; 00045 00046 public: 00047 TDSPSignalDump(char *name = NULL); 00048 ~TDSPSignalDump(); 00049 00050 void SetMode(eSignalDumpMode e) { fMode = e;}; 00051 eSignalDumpMode GetMode() const { return fMode;}; 00052 00053 void SetPause(Int_t sec) { fPause = sec;}; 00054 Int_t GetPause() const { return fPause;}; 00055 00056 // Slots 00057 00058 void Update(TDSPSignal*); 00059 00060 ClassDef(TDSPSignalDump,0) 00061 00062 }; 00063 00064 #endif
1.3.2