Practical Statecharts in C/C++ : Quantum Programming for Embedded Systems


Miro. Samek
Bok Engelsk 2002 · Electronic books.
Annen tittel
Utgitt
Burlington : : Taylor & Francis, , 2002.
Omfang
1 online resource (412 p.)
Opplysninger
Description based upon print version of record.. - Cover; Copyright Page; Table of Contents; Preface; Part I: Statecharts; Chapter 1. Whirlwind Tour of Quantum Programming; 1.1 The Ultimate Hook „ Anatomy of a GUI Application; 1.2 A Better Way of Programming „ A Calculator That Works; 1.3 Object-Oriented Analogy; 1.4 Quantum Analogy; 1.5 Summary; Chapter 2. A Crash Course in Statecharts; 2.1 The Essence of Finite State Machines; 2.2 The Essence of UML Statecharts; 2.3 Examples of State Models; 2.4 Summary; Chapter 3. Standard State Machine Implementations; 3.1 State Machine Interface; 3.2 Nested switch Statement; 3.3 State Table. - 10.5 System Integration10.6 Summary; Chapter 11. Conclusion; 11.1 Key Elements of QP; 11.2 Propositions of QP; 11.3 An Invitation; Appendix A. ?C+Ž „ Object-Oriented Programming in C; A.1 Abstraction; A.2 Inheritance; A.3 Polymorphism; A.4 Costs and Overheads; A.5 Summary; Appendix B. Guide to Notation; B.1 Class Diagrams; B.2 Statechart Diagrams; B.3 Sequence Diagrams; B.4 Timing Diagrams; Bibliography; Index. - 3.4 State Design Pattern3.5 Optimal FSM Implementation; 3.6 State Machines and C++ Exception Handling; 3.7 Role of Pointer-to-Member Functions; 3.8 Implementing Guards, Junctions, and Choice Points; 3.9 Implementing Entry and Exit Actions; 3.10 Dealing with State Hierarchy; 3.11 Summary; Chapter 4. Implementing Behavioral Inheritance; 4.1 Structure; 4.2 An Annotated Example; 4.3 Heuristics and Idioms; 4.4 The Event Processor; 4.5 C Implementation; 4.6 Caveats; 4.7 Summary; Chapter 5. State Patterns; 5.1 Ultimate Hook; 5.2 Reminder; 5.3 Deferred Event; 5.4 Orthogonal Component. - 5.5 Transition to History5.6 Summary; Chapter 6. Inheriting State Models; 6.1 Statechart Refinement Example in C++; 6.2 Statechart Refinement Example in C; 6.3 Caveats; 6.4 Summary; Part II: Quantum Framework; Chapter 7. Introducing the Quantum Framework; 7.1 Conventional Approach to Multithreading; 7.2 Computing Model of the QF; 7.3 Roles of the QF; 7.4 Summary; Chapter 8. Design of the Quantum Framework; 8.1 Embedded Real-Time Systems; 8.2 Handling Errors and Exceptional Conditions; 8.3 Memory Management; 8.4 Mutual Exclusion and Blocking; 8.5 Passing Events; 8.6 Active Objects. - 8.7 Initialization and Cleanup8.8 Time Management; 8.9 QF API Quick Reference; 8.10 Summary; Chapter 9. Implementations of the Quantum Framework; 9.1 The QF as a Parnas Family; 9.2 Code Organization; 9.3 Common Elements; 9.4 DOS: The QF without a Multitasking Kernel; 9.5 Win32: The QF on the Desktop; 9.6 RTKernel-32: The QF with a Preemptive Priority-Based Kernel; 9.7 Summary; Chapter 10. Sample Quantum Framework Application; 10.1 Generating a QF Application; 10.2 Rules for Developing QF Applications; 10.3 Heuristics for Developing QF Applications; 10.4 Sizing Event Queues and Event Pools. - 'Downright revolutionary... the title is a major understatement... 'Quantum Programming' may ultimately change the way embedded software is designed.' -- Michael Barr, Editor-in-Chief, Embedded Systems Programming magazine (Click herePractical Statecharts in C/C++ illustrates how to efficiently code statecharts directly in C/C++. You get a lightweight alternative to CASE tools that permits you to model reactive systems with UML statecharts.
Emner
Sjanger
Dewey
ISBN
1578201101

Bibliotek som har denne