Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

dataDetectorServer.h

Go to the documentation of this file.
00001 #ifndef dataDetectorServer_H
00002 #define dataDetectorServer_H
00003 
00004 #include "Event/trsDataVI.h"
00005 #include "Event/serverVI.h"
00006 #include "Event/serviceI.h"
00007 
00008 #include "Event/serverVI.h"
00009 
00010 #include "Event/userDetectorGeo.h"
00011 
00012 //----------------------------------------------
00014 
00035 //----------------------------------------------
00036 // J.A Hernando, Santa Cruz, CA 02/29/00
00037 //----------------------------------------------
00038 //###############################
00039 class dataDetectorServer : public serviceI
00040 //###############################
00041 {
00042         friend class dataManager;
00043         friend class comLoadCalibration;
00044 
00045 public:
00046 
00048         dataDetectorServer();
00050         ~dataDetectorServer();
00051 
00053         virtual detectorGeo* geo() {return m_detectorGeo;}
00054 
00056         virtual void addData(std::string name, trsDataVI* data);
00057 
00059         virtual void update() {m_server->command("update");}
00060 
00062         virtual void update(std::string name);
00063 
00065         virtual void writeOut() const;
00066 
00067 protected:
00068 
00070         virtual trsDataVI* getTrsData(std::string name) const; 
00071 
00072 private:
00073 
00075         detectorGeo* m_detectorGeo;
00076 
00078         serverVI<trsDataVI>* m_server;
00079 
00080 };
00081 #endif

Generated at Thu Jun 22 16:53:25 2000 for Centella Framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000