基于DLL的高精度定时器的设计方案  被引量:1

Design scheme of High-precision timer based on DLL

在线阅读下载全文

作  者:董佩[1] 林培榕[2] 林姿琼[1] 

机构地区:[1]闽南师范大学福建省粒计算及其应用重点实验室,福建漳州363000 [2]闽南师范大学计算机学院,福建漳州363000

出  处:《电子设计工程》2016年第13期59-60,共2页Electronic Design Engineering

基  金:福建省教育厅项目(JA14194)

摘  要:定时器的使用在程序开发工作中使用广泛,然而在动态链接库中却没有直接实现的定时器工具;为了提高开发效率,本文在分析了有关定时器技术的实现及动态库特性的基础上,利用C++语言,结合策略模式的程序设计方法在动态库中实现了高精度可扩展的定时器,并封装成模块提供给其它进程调用。经实际项目验证本方案可行,对有关定时功能的开发能提高50%的开发效率。The Timer is widely used in program development by RD personnel. However, there was no direct way to implement the Timer in Dynamic link library. In order to improve development efficiency, this paper based on analyzing the relevant technology of Timer implementation and the property of DLL, and used C++ and a programming technique of strategy Pattern to implement High-precision and expansible Timer. Meanwhile,it packaged into a module to provide other processes with calling.This program is feasible testified by the actual project, and it can improve the developing efficiency of 50% on the Timer development.

关 键 词:动态库 定时器 策略模式 C++ 

分 类 号:TN929.5[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象