CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
14 #include "DTSpyHelper.h"
15 
16 
17 class DTSpy : public DTCtcp {
18 protected:
19 
20  char * spybuf;
21  short givenonce;
22 
23 public:
24 
25  char * lastpointer;
26 
27 
28  DTSpy();
29  DTSpy(char *hostaddr,int port);
30  ~DTSpy();
31 
32  int getNextBuffer();
33 
34  int getBuffSize();
35  int getRunNo();
36  const char * getEventPointer();
37  void setlastPointer(char * data);
38 
39 };
40 
41 
42 #endif
43 
DTSpy()
Definition: DTSpy.cc:18
char * spybuf
Definition: DTSpy.h:20
const char * getEventPointer()
Definition: DTSpy.cc:83
~DTSpy()
Definition: DTSpy.cc:25
int port
Definition: DTSpyHelper.h:23
char * lastpointer
Definition: DTSpy.h:25
Definition: DTSpy.h:17
void setlastPointer(char *data)
Definition: DTSpy.cc:92
short givenonce
Definition: DTSpy.h:21
int getNextBuffer()
Definition: DTSpy.cc:39
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
int getBuffSize()
Definition: DTSpy.cc:67
int getRunNo()
Definition: DTSpy.cc:76