协议软件实现的面向对象的方法  被引量:3

An Object-Oriented-Based Approach to Protocol Software Implementation

在线阅读下载全文

作  者:肖斐[1] 朱崇湘[1] 孙永学 赵文耘[1] 

机构地区:[1]复旦大学计算机系

出  处:《计算机工程与设计》1998年第6期19-25,共7页Computer Engineering and Design

摘  要:提出一种用面向对象的方法来实现协议。协议由FSM说明,然后FSM由一组相关的对象实现。对象的成员函数是接口事件,它们激发状态变迁。与状态变迁相联系的行为构成成员函数的主体。当状态变迁产生时,一个对象成为另一个对象。文中给出了一个实例,还提出一个软件工具,使设计者可以用图形方式编辑状态机,并且自动产生C++的类定义。In this paper, an object-oriented-based approach to protocol software implementation is presented. A protocol is specified by an FSM, and the FSM is implemented by a group of related object. In our method, each state is implemented by an object. The member functions of an object are the interface events that trigger state transitions, and actions associated with state transitions constitute the body of the member functions. An object becomes another object if a state transition is enabled. A real example is given for illustration. We also present a software tool that lets a designer edit a state machine graphically, and generates C++ class definitions automatically.

关 键 词:协议软件 面向对象 C++语言 程序设计 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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