SourceXtractorPlusPlus  0.15
Please provide a description of the project.
ProgressNCurses.h
Go to the documentation of this file.
1 
17 /*
18  * ProgressNCurses.h
19  *
20  * Created on: Mar 19, 2019
21  * Author: Alejandro Alvarez Ayllon
22  */
23 
24 #ifndef _SEMAIN_PROGRESSBAR_H
25 #define _SEMAIN_PROGRESSBAR_H
26 
28 
29 namespace SourceXtractor {
30 
41 public:
42  virtual ~ProgressNCurses();
43 
45 
50  void handleMessage(const std::list<ProgressInfo> & info) override;
51 
55  void handleMessage(const bool &done) override;
56 
60  static bool isTerminalCapable();
61 
62 protected:
63  class Dashboard;
65 };
66 
67 } // end SourceXtractor
68 
69 #endif // _SEMAIN_PROGRESSBAR_H
std::unique_ptr< Dashboard > m_dashboard
virtual void handleMessage(const T &message)=0