Go to the documentation of this file.00001
00008 #include <ControlDeck2/ControlDeck2.h>
00009
00010 #ifndef MAGLEV_TIMER
00011 #define MAGLEV_TIMER
00012
00014
00018 class maglev_timer : public cd_control_module
00019 {
00020 public:
00021 maglev_timer (const char * mod_name);
00022 void initialize_data();
00023 void initialize();
00024 void handle_event(int code);
00025
00026 protected:
00028 double control_time_last;
00030 double perctol;
00031
00033 CD_DATA_REF control_period_command_ref;
00034
00036 double get_met();
00038 double jD0;
00040 double met_last;
00041
00042 };
00043
00044 extern "C"
00045 {
00046 cd_control_module *maglev_timer_builder(const char *name);
00047 }
00048
00049 #endif