Space Sheep Xtreme Turbo Penguin Edition
Horloge.h
Aller à la documentation de ce fichier.
1 #ifndef HORLOGE_H
2 #define HORLOGE_H
3 
11 #include <ctime>
12 
23 class Horloge
24 {
25  private:
26  time_t m_startTime;
27  timespec tp;
28  float m_buffer;
29  bool m_paused;
30  public:
31 
35  Horloge();
36 
41  float getTime();
42 
50  bool getStatus() const;
51 
52 
56  void start();
57 
61  void pause();
62 
69  void stop();
70 
74  void reset();
75 
76 
77 };
78 
79 
80 #endif
81