1 #ifndef _DQM_TrackerCommon_WebInterface_h_
2 #define _DQM_TrackerCommon_WebInterface_h_
4 #include "xgi/Method.h"
5 #include "xdata/UnsignedLong.h"
6 #include "cgicc/HTMLClasses.h"
8 #include "xdaq/Application.h"
10 #include "xgi/Method.h"
28 std::multimap<std::string, std::string>
conf_map;
void printContentViewerXML(std::string current, xgi::Output *out)
std::string getApplicationURL()
virtual void Default(xgi::Input *in, xgi::Output *out)
Answers requests by sending the webpage of the application.
void Open(xgi::Input *in, xgi::Output *out)
Answer navigator requests.
virtual void handleCustomRequest(xgi::Input *in, xgi::Output *out)
void sendMessage(std::string the_title, std::string the_text, MessageType the_type)
Adds messages to the message dispatcher.
void DrawGif(xgi::Input *in, xgi::Output *out)
Answers viewer requests.
std::string getContextURL()
WebInterface(std::string _exeURL, std::string _appURL)
void printMap(ME_MAP view_map, std::string id)
std::string get_from_multimap(std::multimap< std::string, std::string > &mymap, std::string key)
void handleStandardRequest(xgi::Input *in, xgi::Output *out)
std::multimap< std::string, std::string > conf_map
void printMessagesXML(xgi::Output *out)
Answers Messages requests.
void Configure(xgi::Input *in, xgi::Output *out)
Answers connection configuration requests.
void add(std::string, WebElement *)
Adds widgets to the page.
void printNavigatorXML(std::string directory, xgi::Output *out)
Outputs the subdirectories and files of "directory". Called by any of the above three.
void handleRequest(xgi::Input *in, xgi::Output *out)
void ContentsOpen(xgi::Input *in, xgi::Output *out)
Answers ContentViewer requests.
MessageDispatcher msg_dispatcher