Chapter II. Real-Time Framework

www.CartoonStock.com

The concept of a modern hierarchical state machine introduced in Part I is to event-driven programming as the invention of a wheel is to transportation. But just as wheels are useless without the infrastructure of roads, state machines are useless without an event-driven infrastructure that provides, at a minimum, a run-to-completion execution context for each state machine, queuing of events, and event-based timing services.

In Part II of this book, I describe such a reusable infrastructure for executing concurrent state machines in the form of a real-time framework called QF. QF is tailored specifically for developing real-time embedded (RTE) applications and in many respects resembles a real-time ...

Get Practical UML Statecharts in C/C++, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.