CMS 3D CMS Logo

SiStripHistoricInfoWebInterface.h

Go to the documentation of this file.
00001 #ifndef SiStripHistoricInfoClient_SiStripHistoricInfoWebInterface_h
00002 #define SiStripHistoricInfoClient_SiStripHistoricInfoWebInterface_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     SiStripHistoricInfoClient
00006 // Class  :     SiStripHistoricInfoWebInterface
00007 // 
00016 //
00017 // Original Author:  dkcira
00018 //         Created:  Thu Jun 15 09:40:18 CEST 2006
00019 // $Id: SiStripHistoricInfoWebInterface.h,v 1.2 2008/03/02 00:07:41 dutta Exp $
00020 //
00021 
00022 /*
00023   This class is an example web interface that can be instantiated in a DQM client. 
00024   Such web interfaces inherit the ability to react to widget requests from the 
00025   WebInterface class of WebComponents.
00026 */
00027 #include "DQMServices/WebComponents/interface/WebInterface.h"
00028 
00029 
00030 class SiStripHistoricInfoWebInterface : public WebInterface
00031 {
00032 
00033 public:
00034 
00035   SiStripHistoricInfoWebInterface(std::string theContextURL, std::string theApplicationURL, DQMOldReceiver ** _mui_p);
00036 
00037   // you need to implement this function if you have widgets that invoke custom-made methods defined in your client
00038   void handleCustomRequest(xgi::Input * in, xgi::Output * out ) throw (xgi::exception::Exception);
00039 
00040   // methods that we want to bind to widgets
00041   void saveToFile(xgi::Input * in, xgi::Output *out) throw (xgi::exception::Exception);
00042 
00043   // methods for getting and setting action flags
00044   bool getSaveToFile() const{return doSaveToFile;};
00045   void setSaveToFile(bool setsavto){doSaveToFile = setsavto;};
00046 
00047 private:
00048   // action flags that are raised in the WebInterface but executed in the Client in the onUpdate() method
00049   bool doSaveToFile;
00050 
00051 };
00052 
00053 
00054 #endif

Generated on Tue Jun 9 17:33:34 2009 for CMSSW by  doxygen 1.5.4