没有合适的资源?快使用搜索试试~ 我知道了~
首页Practical UML StateCharts In C/C++,Second Edition
Practical UML StateCharts In C/C++,Second Edition
需积分: 9 21 下载量 160 浏览量
更新于2023-05-30
评论 1
收藏 7.6MB PDF 举报
Practical UML StateCharts In C/C++,Second Edition 英文原版
资源详情
资源评论
资源推荐
Newnes is an imprint of Elsevier
30 Corporate Drive, Suite 400, Burlington, MA 01803, USA
Linacre House, Jordan Hill, Oxford OX2 8DP, UK
Copyright
#
2009, Elsevier Inc. All rights reserved.
No part of this publication may be reproduce d, stored in a retrieval system, or
transmitted in any form or by any means, electronic, mechanical, photocopyin g,
recording, or otherwise, without the prior written permission of the publisher.
Permissions may be sought directly from Elsevier’s Science & Technology Rights
Department in Oxford, UK: phone: (+44) 1865 843830, fax: (+44) 1865 853333,
E-m ail: permi ssions@el sevier. com. You may also com plete your reque st online
via the Else vier homepage ( http://el sevier. com), by selecting “Suppor t & Contact”
then “Copyright and Permission” and then “Obtaining Permissions.”
Library of Congress Cataloging-in-Publication Data
Application submitted.
British Library Cataloguing-in-Publication Data
A catalogue record for this book is available from the British Library.
ISBN: 978-0-7506-8706-5
For information on all Newnes publications
visit our Web site at www.elsevierdirect.com
0809101110987654321
Printed in the United States of America
Preface
To create a usable piece of software, you have to fight for every fix, every feature, every little
accommodation that will get one more person up the curve. There are no shortcuts. Luck is involved, but
you don’t win by being lucky, it happens because you fought for every inch.
—Dave Winer
For many years, I had been looking for a book or a magazine article that would describe
a truly practical way of coding modern state machines (UML
1
statecharts) in a
mainstream programming language such as C or C++. I have never found such a
technique.
In 2002, I wrote Practical Statecharts in C/C++: Quantum Programming for
Embedded Systems (PSiCC), which was the first book to provide what had been missing
thus far: a compact, efficient, and highly maintainable implementation of UML state
machines in C and C++ with full support for hierarchical nesting of states. PSiCC was
also the first book to offer complete C and C++ source code of a generic, state machine-
based, real-time application framework for embedded systems.
To my delight, PSiCC continues to be one of the most popular books about
statecharts and event-driven programming for embedded systems. Within a year of
its publication, PSiCC was translated into Chinese, and a year later into Korean.
I’ve received and answered literally thousands of e-mails from readers who successfully
used the published code in consumer, medical, industrial, wireless, networking,
research, defense, robotics, automotive, space exploration, and many other
applications worldwide. In 2003 I started to speak about the subject matter at
1
UML stands for Unified Modeling Language and is the trademark of Object Management Group.
state-machine.com
the Embedded Systems Conferences on both U.S. coasts. I also began to consult to
companies. All this gave me additional numerous opportunities to find out firsthand
how engineers actually use the published design techniques in a wide range of
application areas.
What you’re holding in your hands is the second edition of PSiCC. It is the direct result
of the plentiful feedback I’ve received as well as five years of the “massive parallel
testing” and scrutiny that has occurred in the trenches.
What’s New in the Second Edition?
As promised in the first edition of PSiCC, I continued to advance the code and refine
the design techniques. This completely revised second edition incorporates these
advancements as well the numerous lessons learned from readers.
New Code
First of all, this book presents an entirely new version of the software, which is now
called Quantum Platform (QP) and includes the hierarchical event processor (QEP) and
the real-time framework (QF) as well as two new components. QP underwent several
quantum leaps of improvement since the first publication six years ago. The
enhancements introduced since the first edition of PSiCC are too numerous to list here,
but the general areas of improvements include greater efficiency and testability and
better portability across different processors, compilers, and operating systems. The two
new QP components are the lightweight, preemptive, real-time kernel (QK) described
in Chapter 10 and the software-tracing instrumentation (QS) covered in Chapter 11.
Finally, I’m quite excited about the entirely new, ultralight, reduced-feature version of
QP called QP-nano that scales the approach down to the lowest-end 8- and 16-bit
MCUs. I describe QP-nano in Chapter 12.
Open Source and Dual Licensing
In 2004, I decided to release the entire QP code as open source under the terms of the
GNU General Public License (GPL) version 2, as published by the Free Software
Foundation. Independent of the open-source licensing, the QP source code is also
available under the terms of traditional commercial licenses, which expressly supersede
the GPL and are specifically designed for users interested in retaining the proprietary
state-machine.com
xviii Preface
剩余721页未读,继续阅读
cr4kb0y
- 粉丝: 7
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0