LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
Pause.h
1 #ifndef PAUSE_H_
2 #define PAUSE_H_
3 
4 #include "Automation.h"
5 #include "Timer.h"
6 
10 class Pause : public Automation
11 {
12 public:
13  Pause(double time);
14  Pause(int cycles);
15 
16  bool Start();
17  bool Run();
18  bool Abort();
19  void AllocateResources();
20 
21 private:
22  bool timingCycles;
23  double m_time;
24  int m_cycles;
25  Timer m_timer;
26  int m_currentCycles;
27 };
28 
29 #endif