检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:52.15.143.11