Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming
暫譯: 即時 C++:高效的物件導向與模板微控制器程式設計

Christopher Kormanyos

  • 出版商: Springer
  • 出版日期: 2015-12-01
  • 售價: $3,350
  • 貴賓價: 9.5$3,183
  • 語言: 英文
  • 頁數: 378
  • 裝訂: Hardcover
  • ISBN: 3662478099
  • ISBN-13: 9783662478097
  • 相關分類: C++ 程式語言R 語言Object-oriented
  • 海外代購書籍(需單獨結帳)

商品描述

With this book, Christopher Kormanyos delivers a highly practical guide to programming real-time embedded microcontroller systems in C++. It is divided into three parts plus several appendices. Part I provides a foundation for real-time C++ by covering language technologies, including object-oriented methods, template programming and optimization. Next, part II presents detailed descriptions of a variety of C++ components that are widely used in microcontroller programming. It details some of C++’s most powerful language elements, such as class types, templates and the STL, to develop components for microcontroller register access, low-level drivers, custom memory management, embedded containers, multitasking, etc. Finally, part III describes mathematical methods and generic utilities that can be employed to solve recurring problems in real-time C++. The appendices include a brief C++ language tutorial, information on the real-time C++ development environment and instructions for building GNU GCC cross-compilers and a microcontroller circuit.

For this second edition, the most recent specification of C++14 in ISO/IEC 14882:2014 is used throughout the text. Several sections on new C++14 functionality have been added, and various others reworked to reflect changes in the standard. Also two new sample projects are introduced, and various user suggestions have been incorporated. To facilitate portability, no libraries other than those specified in the language standard itself are used. Efficiency is always in focus and numerous examples are backed up with real-time performance measurements and size analyses that quantify the true costs of the code down to the very last byte and microsecond.

The target audience of this book mainly consists of students and professionals interested in real-time C++. Readers should be familiar with C or another programming language and will benefit most if they have had some previous experience with microcontroller electronics and the performance and size issues prevalent in embedded systems programming.

商品描述(中文翻譯)

這本書由 Christopher Kormanyos 提供了一本非常實用的指南,專注於使用 C++ 程式設計實時嵌入式微控制器系統。全書分為三個部分以及幾個附錄。第一部分為實時 C++ 提供基礎,涵蓋語言技術,包括物件導向方法、模板程式設計和優化。接下來,第二部分詳細描述了在微控制器程式設計中廣泛使用的各種 C++ 元件。它詳細介紹了 C++ 中一些最強大的語言元素,如類型、模板和 STL,以開發微控制器寄存器訪問、低階驅動程式、自訂記憶體管理、嵌入式容器、多任務處理等元件。最後,第三部分描述了可以用來解決實時 C++ 中重複出現問題的數學方法和通用工具。附錄包括簡短的 C++ 語言教程、實時 C++ 開發環境的信息,以及構建 GNU GCC 交叉編譯器和微控制器電路的指導。

在這第二版中,整本書使用了 ISO/IEC 14882:2014 中 C++14 的最新規範。新增了幾個有關 C++14 功能的部分,並對其他部分進行了重寫,以反映標準中的變更。此外,還引入了兩個新的範例專案,並納入了各種用戶建議。為了促進可攜性,除了語言標準本身指定的庫外,未使用其他庫。效率始終是重點,許多範例都附有實時性能測量和大小分析,量化了代碼的真實成本,精確到最後一個位元組和微秒。

本書的目標讀者主要是對實時 C++ 感興趣的學生和專業人士。讀者應該熟悉 C 或其他程式語言,若有微控制器電子學的先前經驗以及嵌入式系統程式設計中常見的性能和大小問題,將會獲益良多。