NGSolve  5.3
statushandler.hpp
1 #ifndef _STATUSHANDLER_HPP
2 #define _STATUSHANDLER_HPP
3 
4 namespace ngstd
5 {
6 
10  class NGS_DLL_HEADER BaseStatusHandler
11  {
12  public:
13  virtual ~BaseStatusHandler () { ; }
14  virtual void PushStatus (const char * str) const;
15  virtual void PopStatus () const;
16  virtual void SetThreadPercentage (double percent) const;
17 
18  virtual void GetStatus (string & str, double & percent) const;
19 
20  virtual void SetTerminate(void) const;
21  virtual void UnSetTerminate(void) const;
22  virtual bool ShouldTerminate(void) const;
23  };
24 
25 }
26 
27 #endif // _STATUSHANDLER_HPP
ngstd::BaseStatusHandler
Access to statusbar.
Definition: statushandler.hpp:10
ngstd
namespace for standard data types and algorithms.
Definition: ngstd.hpp:55