File indexing completed on 2024-04-06 12:19:14
0001 #ifndef DaqSource_DTSpy_h
0002 #define DaqSource_DTSpy_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #include "DTSpyHelper.h"
0014
0015 class DTSpy : public DTCtcp {
0016 protected:
0017 char *spybuf;
0018 short givenonce;
0019
0020 public:
0021 char *lastpointer;
0022
0023 DTSpy();
0024 DTSpy(char *hostaddr, int port);
0025 ~DTSpy();
0026
0027 int getNextBuffer();
0028
0029 int getBuffSize();
0030 int getRunNo();
0031 const char *getEventPointer();
0032 void setlastPointer(char *data);
0033 };
0034
0035 #endif