摘要
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.
出处
《计算机工程》
CAS
CSCD
北大核心
2010年第15期72-73,76,共3页
Computer Engineering