Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
progressBar.hpp
00001 /* $Id$ */
00002 
00003 #ifndef KERNEL_PROGRESS_BAR_HPP
00004 #define KERNEL_PROGRESS_BAR_HPP
00005 
00006 #include "kernel/timingTools.hpp"
00007 
00008 namespace jafar {
00009   namespace kernel {
00010 
00015     class ProgressBar {
00016 
00017     public:
00018 
00019       ProgressBar(std::string title, unsigned int cptMax, unsigned int barWidth = 60);
00020       ~ProgressBar();
00021 
00022       void operator++();
00023 
00024     private:
00025 
00026       unsigned int m_barWidth;
00027       unsigned int m_cpt, m_cptMax;
00028 
00029       Chrono chrono;
00030       
00031       void bar();
00032 
00033     }; // class ProgressBar
00034 
00035   }
00036 }
00037 
00038 
00039 #endif // KERNEL_PROGRESS_BAR_HPP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:24 for Jafar by doxygen 1.7.6.1
LAAS-CNRS