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 = 0;
15 
16  virtual void PopStatus () const = 0;
17 
18  virtual void SetThreadPercentage (double percent) const = 0;
19 
20  virtual void GetStatus (string & str, double & percent) const = 0;
21 
22  virtual void SetTerminate(void) const = 0;
23  virtual void UnSetTerminate(void) const = 0;
24  virtual bool ShouldTerminate(void) const = 0;
25 
26  };
27 
28 }
29 
30 #endif // _STATUSHANDLER_HPP
namespace for standard data types and algorithms.
Definition: ngstd.hpp:81
Access to statusbar.
Definition: statushandler.hpp:10