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 "centella/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         virtual ~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 writeOutServer() const {m_server->command("writeOut");}
00067         virtual void writeOut(std::string name) const {m_server->get(name)->writeOut();}
00069         virtual void writeOut() const;
00070 
00071 protected:
00072 
00074         virtual trsDataVI* getTrsData(std::string name) const; 
00075 
00076 private:
00077 
00079         detectorGeo* m_detectorGeo;
00080 
00082         serverVI<trsDataVI>* m_server;
00083 
00084 };
00085 #endif

Generated at Fri Aug 18 12:57:37 2000 for centella framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000