Practical Statecharts in C/C++: Quantum Programming for Embedded Systems
暫譯: C/C++ 實用狀態圖:嵌入式系統的量子程式設計
Miro Samek
- 出版商: CMP Books
- 定價: $1,980
- 售價: 8.0 折 $1,584
- 語言: 英文
- 頁數: 389
- 裝訂: Paperback
- ISBN: 1578201101
- ISBN-13: 9781578201105
-
相關分類:
C++ 程式語言、嵌入式系統、量子 Quantum
立即出貨 (庫存=1)
買這商品的人也買了...
-
$680$537 -
$2,660$2,527 -
$980$774 -
$920$727 -
$880$695 -
$860$679 -
$450$351 -
$399CCNA Self-Study: CCNA Basics (CCNAB) (Hardcover)
-
$1,930$1,834 -
$780$741 -
$280$218 -
$750$638 -
$650$514 -
$760$600 -
$580$493 -
$590$466 -
$680$537 -
$690$538 -
$650$618 -
$720$562 -
$720$569 -
$350$315 -
$750$638 -
$560$476 -
$480$379
商品描述
- Model reactive systems with UML statecharts
- Efficiently code statecharts directly in C/C++
- Rapidly build embedded software with statechart-based frameworks
Model your reactive systems without heavyweight, expensive CASE tools. The author's Quantum Programming is a new paradigm that treats statecharts as a way of design rather than the use of a particular tool. It includes a complete software infrastructure for executing statecharts tailored for multithreaded embedded applications. Flexible, efficient, portable, scalable, and maintainable, this lightweight Quantum Framework permits you to quickly hand-code working real-time systems in C or C++ directly from UML statecharts.
The Quantum Framework is a complete implementation environment ? an active-object framework carefully designed to work with nearly any RTOS. It supports rapid prototyping, easy modification of states and transitions at any stage of development, and the choice of implementation language (C or C++) to match the resource constraints of the target system. Best of all, it is compact, with complete QF code typically requiring less than 5KB of code and data.
In Part I of this book, you get a clear, articulate description of the relevant concepts including traditional finite state machines, statecharts, and several statechart-based design patterns in the form of executable code examples. Learn how state nesting leads to behavioral inheritance and how it enables reuse through programming-by-difference. Part II fully describes the implementation of the Quantum Framework and explains how you can use it in your applications and port it to an RTOS of your choice.
The CD-ROM includes complete source code for the author's Quantum Framework, answers to all exercises scattered throughout the book, and an evaluation version of RTOS-32 ?a 32-bit real-time operating system for x86 processors.
Table of Contents
Section I: Statecharts
Chapter 1 Whirlwind Tour of Quantum Programming
Chapter 2 Crash Course in Statecharts
Chapter 3 Standard State Machine Implementations
Chapter 4 Implementing Behavioral Inheritance
Chapter 5 State Patterns
Chapter 6 Inheriting State Models
Section II: Quantum Framework
Chapter 7 Introducing Quantum Framework
Chapter 8 Design of QF
Chapter 9 Implementations of Quantum Framework
Chapter 10 Sample Quantum Framework Application
Chapter 11 Conclusion
商品描述(中文翻譯)
- 使用 UML 狀態圖建模反應式系統
- 直接在 C/C++ 中高效編碼狀態圖
- 快速構建基於狀態圖的嵌入式軟體框架
在不使用繁重且昂貴的 CASE 工具的情況下建模您的反應式系統。作者的 Quantum Programming 是一種新範式,將狀態圖視為設計的一種方式,而不是使用特定工具。它包括一個完整的軟體基礎架構,用於執行針對多執行緒嵌入式應用程式量身定制的狀態圖。這個輕量級的 Quantum Framework 具有靈活、高效、可攜帶、可擴展和可維護的特性,允許您直接從 UML 狀態圖快速手動編碼工作中的實時系統,使用 C 或 C++。
Quantum Framework 是一個完整的實現環境——一個精心設計的主動物件框架,幾乎可以與任何 RTOS 一起工作。它支持快速原型設計,允許在開發的任何階段輕鬆修改狀態和轉換,並根據目標系統的資源限制選擇實現語言(C 或 C++)。最重要的是,它的體積小,完整的 QF 代碼通常需要少於 5KB 的代碼和數據。
在本書的第一部分,您將清晰、明確地描述相關概念,包括傳統的有限狀態機、狀態圖以及幾種基於狀態圖的設計模式,這些都以可執行的代碼範例形式呈現。了解狀態嵌套如何導致行為繼承,以及它如何通過差異編程實現重用。第二部分全面描述 Quantum Framework 的實現,並解釋如何在您的應用程式中使用它並將其移植到您選擇的 RTOS。
CD-ROM 包含作者的 Quantum Framework 的完整源代碼、書中所有練習的答案,以及 RTOS-32 的評估版本——一個針對 x86 處理器的 32 位實時作業系統。
目錄
第一部分:狀態圖
第 1 章 Quantum Programming 的旋風之旅
第 2 章 狀態圖速成課程
第 3 章 標準狀態機實現
第 4 章 實現行為繼承
第 5 章 狀態模式
第 6 章 繼承狀態模型
第二部分:Quantum Framework
第 7 章 介紹 Quantum Framework
第 8 章 QF 的設計
第 9 章 Quantum Framework 的實現
第 10 章 Quantum Framework 應用範例
第 11 章 結論