摘要
Qt是目前Linux下比较流行的C++类库,也是面向对象的软件开发环境,具有良好的跨平台性,它提出了一种新的通信机制,"信号与槽",可以替代之前的回调机制,并具有更加灵活、方便等特点。组件技术是在面向对象技术和结构化技术之上发展而来的,它将抽象程度提高到一个更高层次,进一步提高了代码的可重用性。在Qt下将基于组件的开发方法应用于智能气象站的嵌入式软件设计,根据功能需求设计了系统整体框架,将系统划分为若干组件;明确了类的继承关系、单元间通信方式和系统配置过程;描述了几个重要模块的工作流程,从而实现了嵌入式软件框架。
Presently,Qt is a popular C + + class library in Linux,and is also an object-oriented Software Development Environment( SDE),which has good cross-platform performance.It presented a new message mechanism:"signal and slot",which can replace the former callback functions,which is more flexible and convenient.Component-Based Development( CBD) evolved from object-oriented technology and structurized technology.It brings the abstraction of design to a higher level,improving codes' reusability.In this paper,CBD was applied to the design of an intelligent weather station' s embedded software by Qt.According to functional requirements of the system,the overall framework of the system was designed and the system was divided into several components.The way of communications among units,the derived relations of the classes and the procedure of system configuration were figured out.The specified processes of some important components were descirbed,then the embedded software framework was implemented.
出处
《计算机应用》
CSCD
北大核心
2016年第A01期257-261,共5页
journal of Computer Applications
基金
国家重大科学仪器设备开发专项(2012YQ110205)
关键词
QT
信号与槽
组件技术
嵌入式软件
框架设计
Qt
signal and slot
Component-Based Development(CBD)
embedded software
framework design