联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 A Class To Encapsulate MultiMedia Timers - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为15579
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • Air Traffic Controller
  • jasperreports
  • PoolMan
  • Apache-SSL-Jserv
  • virtualdub-win
  • CppUnit
  • GLgraph
  • Step Mania
  • FCK editor
  • -= 更多 =-

    项目描述:
    This simple class encapsulates the multimedia timers. To use the class include mmTimers.cpp and mmTimers.h in your project. Link with winmm.lib. To use a timer derive a class from CMMTimers and override member timerProc. timerProc will be called when the timer goes off. Instantiate a variable of the new class. The parameter to the constructor is the timer resolution in ms. To start a timer call startTimer. The first parameter specifies the period of the timer in ms.

    这个简单的类封装了多媒体定时器。为了使用这个类,需要在你的项目中包括mmTimers.cpp 和 mmTimers.h,链接winmm.lib到项目中。要使用定时器,从CMMTimers 派生一个CMMTimers ,重载成员timerProc。timerProc 将会在定时器触发时被调用。实例化这个新类的一个变量。构造函数的参数是以毫秒为粒度的时间分辨率。调用startTimer来启动一个定时器。
    来源: http://www.codeguru.com/multimedia/mmTimers.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    mmTimers  1.0  2004-04-18 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/multimedia/mmTimers_src.zip

      » 合 作 伙 伴