00001 /* This is an event generator class that 00002 will allow events to be regularly generated 00003 for the key frame animator so that it can 00004 allow for brief breaks so that the user 00005 can pause or stop the code that is being run 00006 00007 This uses the wxTimer Base class to provide 00008 most of the implementation 00009 00010 Christopher Steinbach 00011 March 2002 00012 */ 00013 00014 #ifndef vuEventGenerator_h__ 00015 #define vuEventGenerator_h__ 00016 00017 #include <wx/wx.h> 00018 #include <wx/timer.h> 00019 00020 class vuKeyFramerDialog; 00021 00033 class vuEvtGenerator : public wxTimer 00034 00035 { 00036 public: // Constructors and destructors 00037 00041 vuEvtGenerator (); 00042 00044 virtual ~vuEvtGenerator (); 00045 00046 public: // member functions 00047 00051 virtual void Notify (); 00052 00056 void setKeyFramer (vuKeyFramerDialog *temp); 00057 00058 private: // member data 00059 00062 vuKeyFramerDialog *m_framer; 00063 }; 00064 00065 #endif 00066 00067 00068