00001 #ifndef CAFE_TIMER_HPP_ 00002 #define CAFE_TIMER_HPP_ 00003 00004 #include "TStopwatch.h" 00005 00006 #include "cafe/Controller.hpp" 00007 00008 namespace cafe { 00009 00013 class Timer : public cafe::Controller { 00014 public: 00015 Timer(const char *name); 00016 ~Timer(); 00017 bool processEvent(cafe::Event& event); 00018 private: 00019 TStopwatch _timer; 00020 public: 00021 ClassDef(Timer,0 ); 00022 }; 00023 00024 } 00025 00026 #endif // CAFE_TIMER_HPP_
1.3.4