O'Reilly logo

Practical UML Statecharts in C/C++, 2nd Edition by CRC Press

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required