marclock.h

Go to the documentation of this file.
00001 #ifndef MARCLOCK_H
00002 #define MARCLOCK_H
00003 
00004 #include "marhw.h"
00005 
00006 class MarClock : public MarHW
00007 {
00008   Q_OBJECT;
00009 
00010  public:
00011   MarClock(QObject *parent=0);
00012   typedef MarHW inherited;
00013 
00014  private:
00015   static void mar_heartbeat(int);
00016   void mar_clock();
00017   void set_timer_params(double val);
00018   static void start_timer(void (*fcn)(int), int speed);
00019   void set_timer_grain(double val);
00020   static void enqueue_fcn(void (*fcn)(int), int arg, double dtval);
00021   static void clock_heartbeat(int);
00022   void init_clock();
00023 };
00024 
00025 #endif