Ebook lập trình lượng tử cho hệ thống embedded bằng C++

Practical Statecharts in C/C++
Practical Statecharts in C/C++



Nhà xuất bản Publishers Group West
Tác giả Robert Ward, Jeff Claar
Số trang 279
Ngày xuất bản 2002
File PDF

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
3.4 State Design Pattern
3.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

Chapter 5: State Patterns
5.1 Ultimate Hook
5.2 Reminder
5.3 Deferred Event
5.4 Orthogonal Component
5.5 Transition to History
5.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

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 Cleanup
8.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
10.5 System Integration
10.6 Summary

Chapter 11: Conclusion
11.1 Key Elements of QP
11.2 Propositions of QP
11.3 An Invitation

Be the first to comment

Leave a Reply

Your email address will not be published.