基于Java的对象模型消息机制实现  被引量:2

Implementation of Message Mechanism for Object Model Based on Java

在线阅读下载全文

作  者:石博天[1] 高玉金[2] 朱凯[1] 

机构地区:[1]北京市八一中学,北京100080 [2]北京理工大学计算机学院,北京100081

出  处:《计算机工程》2010年第15期72-73,76,共3页Computer Engineering

摘  要:Java语言标准不提供消息,使得面向对象模型中消息机制的实现十分不便。针对上述问题,利用Java的接口、继承及多态机制,实现一种风格与微软基础类库中framework的消息机制相似的对象模型消息机制,将其应用于一款基于LEGO机器人的协同式智能化多机器人系统,结果证明该消息机制具有合理性、有效性和易实现性。Java language standard does not provide any message,which makes message mechanism in object-oriented model hard to implement.This paper uses interface,inheritance and polymorphism of Java to implement a message mechanism for object model,which is similar to that of framework in Microsoft Foundation Class(MFC).The mechanism is applied in a collaborative intelligent multi-robot system based on LEGO robot,and the result proves it is reasonable,effective and easy to implement.

关 键 词:JAVA语言 消息 面向对象 LEGO机器人 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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