CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ModuleWeb.h
Go to the documentation of this file.
1 #ifndef EVF_MODULEWEB_H
2 #define EVF_MODULEWEB_H
3 
4 #include "toolbox/lang/Class.h"
5 #include "xdata/InfoSpace.h"
6 #include <string>
7 
8 namespace xgi{
9  class Input;
10  class Output;
11 }
12 
13 
14 namespace evf
15 {
16  class ModuleWeb : public toolbox::lang::Class
17  {
18  public:
19  ModuleWeb(const std::string &);
20  virtual ~ModuleWeb(){}
21  virtual void defaultWebPage(xgi::Input *in, xgi::Output *out);
22  virtual void publish(xdata::InfoSpace *) = 0;
23  virtual void publishToXmas(xdata::InfoSpace *){};
24  protected:
25  std::string moduleName_;
26  private:
27  virtual void openBackDoor(unsigned int timeout_sec = 0){};
28  virtual void closeBackDoor(){};
29  friend class ModuleWebRegistry;
30  };
31 }
32 #endif
#define Input(cl)
Definition: vmac.h:189
virtual void closeBackDoor()
Definition: ModuleWeb.h:28
virtual void publishToXmas(xdata::InfoSpace *)
Definition: ModuleWeb.h:23
virtual void publish(xdata::InfoSpace *)=0
ModuleWeb(const std::string &)
Definition: ModuleWeb.cc:14
std::string moduleName_
Definition: ModuleWeb.h:23
tuple out
Definition: dbtoconf.py:99
virtual void defaultWebPage(xgi::Input *in, xgi::Output *out)
Definition: ModuleWeb.cc:20
#define Output(cl)
Definition: vmac.h:193
virtual ~ModuleWeb()
Definition: ModuleWeb.h:20
virtual void openBackDoor(unsigned int timeout_sec=0)
Definition: ModuleWeb.h:27