This book allows users to handcode working real-time systems in C and C++ directly form UML statecharts. Several modes are used for the implementation, firstly the author uses a State-orientated cookbook to show step-by-step how to write optimal and efficient C and C++ directly from the information in the statecharts. Secondly, he presents a lightweight framework for developing embedded real-time applications based on statecharts. Finally, readers learn how to produce completed applications from the statecharts using code generators.