检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国地质大学,武汉430074
出 处:《电脑开发与应用》2006年第5期36-37,共2页Computer Development & Applications
摘 要:虚函数是C++中实现多态性的一个重要机制,常常使用它在父类中对某种操作提供一个框架,而在不同的子类中为该框架提供不同的实现,据此特点,介绍了目前图形图像处理软件中常用的一种鼠标键盘事件的新的封装机制。该机制以面向对象的多态性及技术基础,可实现鼠标键盘事件的模块化和不同功能间的自动切换。Virt.ual function is one of the important facilities to support polymorphism in C++, normally the virtual function mechanism is used to provide the frame and the declaration of public methods of some operations for the parent or base class, then the implementation details of the operation would been given in the derived classes individually. With this characteristic, this paper presents a new packaging mechanism which could modulate mouse and keyboard events in graphic and image processing software. On the basis of object-oriented polymorphism technique, the mechanism also can realize automatization of mouse and keyboard and automatic exchange among different events.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7