Torc  0.1
torctimer.h
Go to the documentation of this file.
1 #ifndef TORCTIMER_H_
2 #define TORCTIMER_H_
3 
4 // Qt
5 #include <QTime>
6 
7 class TorcTimer
8 {
9  public:
10  TorcTimer();
11 
12  void Start(void);
13  int Restart(void);
14  int Elapsed(void);
15  void Stop(void);
16  bool IsRunning(void) const;
17 
18  private:
19  QTime m_timer;
20  bool m_running;
21 };
22 
23 #endif
24 
void Stop(void)
Definition: torctimer.cpp:33
void Start(void)
Definition: torctimer.cpp:9
bool IsRunning(void) const
Definition: torctimer.cpp:38
int Restart(void)
Definition: torctimer.cpp:15
int Elapsed(void)
Definition: torctimer.cpp:22