首页> 外文会议>Development and evolution of software architectures for product families >Reengineering C/C++ source code by transforming state machines
【24h】

Reengineering C/C++ source code by transforming state machines

机译:通过转换状态机来重新设计C / C ++源代码

获取原文
获取原文并翻译 | 示例

摘要

State transition mechanisms are widely used in software engineering to implement state/event-dependtent behavior.In C/C++,the implementation of state machines using 'switch/case' or "if" statements causes problems in redability ,understandability,maintainability,and modifications.We have devleoped both a source code pattern searching tool cjapale of srarching for state machine occurrences an da design pattern to replace state machines with C++ generic components.With 'ESPaRT' (Enhanced String Pattern Recognition Tool) we search for state machines in the source cod.Examplexs of patterns for stae machine detection are given in the paper.The stae machine information is extracted and hte state machine code is replaced by generic components following the 'generic Harel Sftate Machine Engine' (HSME) design pattern.
机译:状态转换机制在软件工程中广泛用于实现状态/事件相关的行为。在C / C ++中,使用“ switch / case”或“ if”语句执行状态机会导致可重复性,可理解性,可维护性和修改问题。我们开发了一种源代码模式搜索工具cjapale,用于稀疏状态机的出现和设计模式,以用C ++通用组件替换状态机。使用'ESPaRT'(增强型字符串模式识别工具),我们在源代码中搜索状态机。文章中提供了用于stae机器检测的模式示例。按照“通用Harel Sftate机器引擎”(HSME)设计模式,提取stae机器信息,并用通用组件替换状态机代码。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号