CMS 3D CMS Logo

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.h:15
DTSpy::getBuffSize
int getBuffSize()
Definition: DTSpy.cc:55
DTSpy::spybuf
char * spybuf
Definition: DTSpy.h:17
DTSpyHelper.h
DTCtcp::port
int port
Definition: DTSpyHelper.h:20
DTCtcp
Definition: DTSpyHelper.h:18
DTSpy::getEventPointer
const char * getEventPointer()
Definition: DTSpy.cc:65
DTSpy::~DTSpy
~DTSpy()
Definition: DTSpy.cc:22
DTSpy::lastpointer
char * lastpointer
Definition: DTSpy.h:21
DTSpy::getRunNo
int getRunNo()
Definition: DTSpy.cc:60
DTSpy::setlastPointer
void setlastPointer(char *data)
Definition: DTSpy.cc:73
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
DTSpy::givenonce
short givenonce
Definition: DTSpy.h:18
DTSpy::getNextBuffer
int getNextBuffer()
Definition: DTSpy.cc:29
DTSpy::DTSpy
DTSpy()
Definition: DTSpy.cc:17