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 TDSPREADSIGNAL_H 00019 #define TDSPREADSIGNAL_H 00020 00021 #include <Riostream.h> 00022 #include <TDSPGenerator.h> 00023 #include <TDSPOutput1.h> 00024 00030 class TDSPReadSignal : public TDSPOutput1, public TDSPGenerator { 00031 00032 istream *is; 00033 00034 protected: 00035 00036 TString Slot_Generate; 00037 00038 public: 00039 TDSPReadSignal(char *name) : TDSPOutput1(name) { 00040 // My Slot 00041 Slot_Generate = AddSlot("Generate()"); 00042 is = &cin; 00043 } 00044 ~TDSPReadSignal(); 00045 00046 // My Slots 00047 00048 void Generate(); 00049 00050 ClassDef(TDSPReadSignal,1) 00051 00052 }; 00053 00054 #endif
1.3.2