CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DTSpy.h
Go to the documentation of this file.
1 #ifndef DaqSource_DTSpy_h
2 #define DaqSource_DTSpy_h
3 
4 /*
5  * DTSpy.h
6  *
7  *
8  * Created by Sandro Ventura on 7/28/07.
9  * Copyright 2007 __MyCompanyName__. All rights reserved.
10  *
11  */
12 
13 #include "DTSpyHelper.h"
14 
15 class DTSpy : public DTCtcp {
16 protected:
17  char *spybuf;
18  short givenonce;
19 
20 public:
21  char *lastpointer;
22 
23  DTSpy();
24  DTSpy(char *hostaddr, int port);
25  ~DTSpy();
26 
27  int getNextBuffer();
28 
29  int getBuffSize();
30  int getRunNo();
31  const char *getEventPointer();
32  void setlastPointer(char *data);
33 };
34 
35 #endif
DTSpy()
Definition: DTSpy.cc:17
char * spybuf
Definition: DTSpy.h:17
const char * getEventPointer()
Definition: DTSpy.cc:65
~DTSpy()
Definition: DTSpy.cc:22
int port
Definition: DTSpyHelper.h:20
char * lastpointer
Definition: DTSpy.h:21
Definition: DTSpy.h:15
void setlastPointer(char *data)
Definition: DTSpy.cc:73
short givenonce
Definition: DTSpy.h:18
int getNextBuffer()
Definition: DTSpy.cc:29
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
int getBuffSize()
Definition: DTSpy.cc:55
int getRunNo()
Definition: DTSpy.cc:60