Go to the documentation of this file.00001
00007 #ifndef TIMER_H_
00008 #define TIMER_H_
00009
00010 #include <boost/date_time.hpp>
00011
00016 class Timer
00017 {
00018 protected:
00019 boost::posix_time::ptime start_ ;
00020 public:
00021 Timer() ;
00022 virtual void restart() ;
00023 virtual std::string elapsed() ;
00024 virtual ~Timer() {}
00025 } ;
00026
00027 #endif