⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 anim.hpp

📁 一个嵌入式系统的C代码
💻 HPP
字号:
//***********************************************************************//  MODULE : ANIM - Animator Device Driver for the RCOS OS simulator    *//  AUTHOR : Ron Chernich                                               *//  PURPOSE: Module to perform all screen animation operations and re-  *//           draw of switched displays.                                 *//  HISTORY:                                                            *//   14-MAY-93  First (MSC/C++ 7.00) version                            *//   18-AUG-94  static func of module made private member               *//   15-MAR-95  Modified to accomodate improved user tty encapsulation  *//   22-MAR-95  (Happy Birthday, Ron!) No of terminals made dynamic     *//***********************************************************************#ifndef _ANIM_RCOS_  #define _ANIM_RCOS_  #include "rcos.hpp"  #include "message.hpp"  #include "timer.hpp"  #include "cpu-disp.hpp"  #include "dev-disp.hpp"  #include "dsk-disp.hpp"  #include "kernel.hpp"  #include "app.hpp"    //////////////////////////////  // This is a device driver merely to facilitate abstract communications  // with it.  It does not respond to normal Open, Read etc messages.  //  class Animate : public port {  private:    UINT16    nTermRb;    AniWin    nCurWin;                  // to inhibit updates of hidden windows    CpuAnim   Cpu;                      // process scheduler animation    TTyAnim  *pDev;                     // TTY and printer animation    DiskAnim *pDiskAnim[MAX_DRIVES];    // Disk Driver animation    void      PutTitle (char*, UINT16 = 0, char* = NULL);  public:    Animate (UINT16, UINT16, Knl*, UINT16);   ~Animate (void);    void   RxPort (PMSG);    void   SetCurWin (INT16, BOOL = FALSE);    INT16  GetCurWin (void)    { return (INT16)nCurWin; }  };#endif/********************************** eof **********************************/

⌨️ 快捷键说明

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