H-SRTF: A real-time framework supporting state machine model
Xianghu Wu, Mingcheng Qu, Yongchao Tao, Liu Zhiqiang · 2013
The state machine can be used to describe reactive event-driven software system effectively. Existing commercial tools which can generate code from the state diagram all base on real-time framework mostly. But the code size of these frameworks is a little more, it will be a big shortage for military weapon systems that the hardware resources are limited and time is critical. By the detailed analysis of mapping strategy from state diagram model to real-time framework, a smart real-time framework is designed and implemented by C language. The framework can adapt to two cases, i.e. operating system exists or not, and can adapt to two types of active objects, i.e. task and interruption.