Mass++ Common Libraries v2.7.5
 All Classes Namespaces Files Functions Variables Enumerations Macros
DisplayProgress.h
Go to the documentation of this file.
1 
12 #ifndef __KOME_CORE_DISPLAY_PROGRESS_H__
13 #define __KOME_CORE_DISPLAY_PROGRESS_H__
14 
15 
16 #include "Progress.h"
17 
18 #include <boost/progress.hpp>
19 
20 
21 namespace kome {
22  namespace core {
23 
28  class CORE_TOOLKITS_CLASS DisplayProgress : public Progress {
29  public:
35  DisplayProgress( const char* title );
36 
41  virtual ~DisplayProgress();
42 
43  protected:
45  boost::progress_display* m_progress;
46 
47  protected:
54  virtual void onSetRange( const int start, const int end );
55 
62  virtual void onSetPosition( const int pos, const int prevPos );
63 
70  virtual void onSetStatus( const char* status, const bool bForced = false ); // @Date:2013/11/25 <Add> A.Ozaki
71 
77  virtual bool onIsStopped();
78 
79  // >>>>>> @Date:2013/11/25 <Add> A.Ozaki
80  //
85  virtual void onFill( void );
86  //
87  // <<<<<< @Date:2013/11/25 <Add> A.Ozaki
88  };
89  }
90 }
91 
92 #endif // __KOME_CORE_DISPLAY_PROGRESS_H__
interfaces of Progress class
boost::progress_display * m_progress
progress display abstract class
Definition: Progress.h:31
showing progress with display class