Taryn Rose

Practical UML Statecharts in C/C++: Event-Driven Programming for Embedded System

Description: Practical UML Statecharts in C/C++ by Miro Samek Describes a lightweight, open source infrastructure, called QP that enables direct manual coding UML statecharts and concurrent event-driven applications in C or C++ without big tools. This book focuses on core concepts rather than tools which are always changing allowing the reader to continue to use this information with various projects. FORMAT Hardcover LANGUAGE English CONDITION Brand New Publisher Description Practical UML Statecharts in C/C plus plus Second Edition bridges the gap between high-level abstract concepts of the Unified Modeling Language (UML) and the actual programming aspects of modern hierarchical state machines (UML statecharts). The book describes a lightweight, open source, event-driven infrastructure, called QP that enables direct manual coding UML statecharts and concurrent event-driven applications in C or C plus plus without big tools.This book is presented in two parts. In Part I, you get a practical description of the relevant state machine concepts starting from traditional finite state automata to modern UML state machines followed by state machine coding techniques and state-machine design patterns, all illustrated with executable examples. In Part II, you find a detailed design study of a generic real-time framework indispensable for combining concurrent, event-driven state machines into robust applications. Part II begins with a clear explanation of the key event-driven programming concepts such as inversion of control ( Hollywood Principle ), blocking versus non-blocking code, run-to-completion (RTC) execution semantics, the importance of event queues, dealing with time, and the role of state machines to maintain the context from one event to the next. This background is designed to help software developers in making the transition from the traditional sequential to the modern event-driven programming, which can be one of the trickiest paradigm shifts. The lightweight QP event-driven infrastructure goes several steps beyond the traditional real-time operating system (RTOS). In the simplest configuration, QP runs on bare-metal microprocessor, microcontroller, or DSP completely replacing the RTOS. QP can also work with almost any OS/RTOS to take advantage of the existing device drivers, communication stacks, and other middleware. The accompanying website to this book contains complete open source code for QP, ports to popular proc Author Biography Dr. Miro Samek is the founder and president of Quantum Leaps, an open source company providing lightweight, state machine-based, event-driven application frameworks for embedded systems. He is the author of Practical Statecharts in C/C++ (CMP Books, 2002), has written numerous articles for magazines, including a column for C/C++ Users Journal, is a regular speaker at the Embedded Systems Conferences, and serves on the editorial review board of the Embedded Systems Design magazine. For a number of years, he worked in various Silicon Valley companies as an embedded software architect and before that he worked as an embedded software engineer at GE Medical Systems (now GE Healthcare). Dr. Samek earned his Ph.D. in nuclear physics at GSI (Darmstadt, Germany). Table of Contents Preface PART I STATECHARTS Chapter 1 Whirlwind Tour of Programming with Statecharts1.1 Why Bother?1.2 The Traditional Event-Action Paradigm1.3 State Machines ? A Better Way of Programming1.3.1 The Time Bomb Example1.3.2 The Calculator Example1.5 Object-Oriented Analogy1.6 The Event-driven Framework1.6 SummaryChapter 2 A Crash Course in Statecharts 2.1 The Essence of Finite State Machines2.2 The Essence of UML Statecharts2.3 Examples of State Models2.4 SummaryChapter 3 Standard State Machine Implementations3.1 State Machine Interface3.2 Nested switch Statement3.3 State Table3.4 State Design Pattern3.5 Optimal FSM Implementation3.6 State Machines and C++ Exception Handling 3.7 Role of Pointer-to-Member Functions3.8 Implementing Guards, Junctions, and Choice Points3.9 Implementing Entry and Exit Actions3.10 Dealing with State Hierarchy3.11 SummaryChapter 4 QEP: A Minimal Hierarchical Event Processor4.1 General Structure of the QEP Event Processor4.2 An Annotated Example (QHsm)4.3 QEP Structure4.3.1 QEP Source Code Structure4.3.2 Internal Representation of a State Machine4.3.3 Initialization of a State Machine4.3.4 Dispatching Events to a FSM4.3.5 Executing a Transition in a FSM4.3.6 Dispatching Events to a HSM4.3.7 Executing a Transition in a HSM4.3.8 Static Transition Optimization in a HSM4.4 Porting and Configuring QEP4.5 Caveats4.6 Su Details ISBN1138436380 Year 2018 ISBN-10 1138436380 ISBN-13 9781138436381 Format Hardcover Edition 2nd Imprint CRC Press Subtitle Event-Driven Programming for Embedded Systems Place of Publication London Country of Publication United Kingdom Author Miro Samek Publisher Taylor & Francis Ltd Publication Date 2018-04-04 DEWEY 005.117 Short Title Practical UML Statecharts in C/C++ Language English UK Release Date 2018-04-04 AU Release Date 2018-04-04 NZ Release Date 2018-04-04 Pages 744 Edition Description 2nd edition Alternative 9780750687065 Audience Professional & Vocational We've got this At The Nile, if you're looking for it, we've got it. With fast shipping, low prices, friendly service and well over a million items - you're bound to find what you want, at a price you'll love! TheNile_Item_ID:161944142;

Price: 534.16 AUD

Location: Melbourne

End Time: 2024-11-09T06:56:25.000Z

Shipping Cost: 24.05 AUD

Product Images

Practical UML Statecharts in C/C++: Event-Driven Programming for Embedded System

Item Specifics

Restocking fee: No

Return shipping will be paid by: Buyer

Returns Accepted: Returns Accepted

Item must be returned within: 30 Days

ISBN-13: 9781138436381

Book Title: Practical UML Statecharts in C/C++

Publisher: Taylor & Francis Ltd

Publication Year: 2018

Subject: Computer Science

Item Height: 246 mm

Language: English

Publication Name: Practical Uml Statecharts in C/C++: Event-Driven Programming for Embedded Systems

Item Weight: 1497 g

Type: Textbook

Author: Miro Samek

Item Width: 189 mm

Format: Hardcover

Recommended

UML and the Unified Process : Practical Object-Oriented Analysis
UML and the Unified Process : Practical Object-Oriented Analysis

$4.50

View Details
Uml in Practice : The Art of Modeling Software Systems Demonstrated Through W...
Uml in Practice : The Art of Modeling Software Systems Demonstrated Through W...

$32.19

View Details
Uml And C++ Practical Gui. To Object Ori. Dev. by Lee Book The Fast Free
Uml And C++ Practical Gui. To Object Ori. Dev. by Lee Book The Fast Free

$8.25

View Details
PRACTICAL OBJECT-ORIENTED DEVELOPMENT WITH UML AND JAVA By Richard C. Lee VG
PRACTICAL OBJECT-ORIENTED DEVELOPMENT WITH UML AND JAVA By Richard C. Lee VG

$27.95

View Details
Use Case Driven Object Modeling with UML: A Practical Approach - GOOD
Use Case Driven Object Modeling with UML: A Practical Approach - GOOD

$4.69

View Details
UML in Practice : The Art of Modeling Software Systems Demonstrat
UML in Practice : The Art of Modeling Software Systems Demonstrat

$14.74

View Details
Practical UML Statecharts in C/C++: Event-Driven Programming for Embedded System
Practical UML Statecharts in C/C++: Event-Driven Programming for Embedded System

$28.35

View Details
UML 2 and the Unified Process: Practical Object-Oriented Analysis and Design
UML 2 and the Unified Process: Practical Object-Oriented Analysis and Design

$6.11

View Details
UML in Practice - 9780470848319
UML in Practice - 9780470848319

$29.45

View Details
Object-Oriented Design with UML and Java by Barclay, Kenneth; Savage, John
Object-Oriented Design with UML and Java by Barclay, Kenneth; Savage, John

$13.00

View Details