scheduler.h

来自「可用该程序将avi的电影文件转化为TS流」· C头文件 代码 · 共 41 行

H
41
字号
// Creer plutot une class EventListener globale partagee avec le Timerclass C_SchedulerEvent{  };// The C_Date represents an instant in time with a precision of a millisecondclass C_Date{ public:  // Initialise the date to the time at which the instance was created  C_Date();  // Milliseconds since 1970  C_Date(unsigned long iMilliSecond);  // Modify the value of the date so that it represents the current time  SetCurrentTime();  // };class C_Scheduler{ public:  void Init();  void Destroy();    // Ca roule, iPeriod = 0 -> pas de repetition  void Schedule(C_Date cStartDate, unsigned int iPeriod, C_SchedulerEvent);  // Pb si le meme event a ete schedule plusieurs fois  void Cancel(C_SchedulerEvent);   private:  C_Timer m_cTimer;};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?