摘要
随着OSD在嵌入式领域的广泛应用,需求与业务流程的频繁变更以及代码工作量不断提高,使构建一个统一的OSD界面开发平台非常重要。利用MFC消息回调机制思想设计OSD消息响应机制,采用组合设计模式结合STL容器形成对象树,设计并实现一种基于对象树的OSD UI平台,使真正重要的应用层和设备驱动层的开发时间不受变更影响,提高开发效率。实验结果表明,该平台具有较好的移植性,可扩展性,用户界面友好。
With the OSD is widely used in the embedded field, frequently changing requirements and business processes, and increasing workload code, so to build a unified OSD interface development platform is very important. Designs OSD message response mechanism by using MFC message callback mechanism ideas. An object tree was formed by using a combination of design patterns combined with STL containers. Designs and implements an OSD UI platform based on object tree, which enables the development time from really important application layer and device driver layer without the impact of changes, which improves the development efficiency. Experimental results show that the platform has good portability, scalability, friendly UI.
出处
《现代计算机》
2014年第23期76-80,共5页
Modern Computer
关键词
OSD
组合模式
对象树
消息机制
用户界面
OSD(On-Screen Display): Composite Pattern
Object Tree
Message Mechanism
UI