source: snovis/trunk/source/G4Lab/State.h @ 233

Last change on this file since 233 was 233, checked in by barrand, 17 years ago
  • Property svn:eol-style set to native
File size: 1003 bytes
Line 
1#ifndef G4Lab_State_h
2#define G4Lab_State_h
3
4#include <G4VStateDependent.hh>
5#include <G4UIsession.hh>
6
7namespace Slash {namespace UI {class IScriptManager;}}
8
9namespace G4Lab {
10
11class State : public G4VStateDependent, public G4UIsession {
12public:
13  State(Slash::UI::IScriptManager*);
14  virtual ~State();
15  G4bool Notify(G4ApplicationState);
16  void PauseSessionStart(G4String);
17  void setRunBeginScript(const std::string&,const std::string&);
18  void setRunEndScript(const std::string&,const std::string&);
19  void setEventBeginScript(const std::string&,const std::string&);
20  void setEventEndScript(const std::string&,const std::string&);
21  bool isRunning() const;
22private:
23  Slash::UI::IScriptManager* fScriptManager;
24  bool fIsRunning;
25
26  std::string fRunBeginInterp;
27  std::string fRunBeginScript;
28  std::string fRunEndInterp;
29  std::string fRunEndScript;
30
31  std::string fEventBeginInterp;
32  std::string fEventBeginScript;
33  std::string fEventEndInterp;
34  std::string fEventEndScript;
35};
36
37}
38
39#endif
40
Note: See TracBrowser for help on using the repository browser.