CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/IORawData/DTCommissioning/src/DTSpy.h

Go to the documentation of this file.
00001 #ifndef DaqSource_DTSpy_h
00002 #define DaqSource_DTSpy_h
00003 
00004 /*
00005  *  DTSpy.h
00006  *  
00007  *
00008  *  Created by Sandro Ventura on 7/28/07.
00009  *  Copyright 2007 __MyCompanyName__. All rights reserved.
00010  *
00011  */
00012 
00013 
00014 #include "DTSpyHelper.h"
00015 
00016 
00017 class DTSpy : public DTCtcp {
00018 protected:
00019    
00020   char * spybuf;
00021   short givenonce;
00022          
00023 public:
00024 
00025   char * lastpointer;      
00026   
00027            
00028   DTSpy();
00029   DTSpy(char *hostaddr,int port);
00030   ~DTSpy();
00031         
00032   int getNextBuffer();
00033 
00034   int getBuffSize();
00035   int getRunNo();
00036   const char * getEventPointer();
00037   void setlastPointer(char * data);
00038 
00039 };
00040 
00041 
00042 #endif
00043