Practical UML Statecharts in C/C++: Event-Driven Programming for Embedded Systems by Samek
  • InstantOn purchase
  • Full bookAll chapters
  • Any devicePC, tablet, phone
  • SecureSSL checkout
Authorised digital seller
On saleDigital download

Practical UML Statecharts in C/C++: Event-Driven Programming for Embedded Systems by Samek

by CRC Press

Rated 4.9 by 12,400+ readers
$35.52 $84.99 Save 58%

Lowest price online, guaranteed. One-time payment, no subscription.

Publisher store $84.99
BooksGen $35.52

Download link emailed instantly after payment, 24/7

AMERICAN EXPRESSAPPLE PAYDINERS CLUBDISCOVERGOOGLE PAYKLARNA
30-day money-back guarantee

File issue? We replace it or refund you, no questions asked.

Digital product, nothing is shipped

You'll receive a download link by email immediately after checkout.

Can't find the ebook you need?

Send us the book cover via live chat and we'll request it for you. Typical response time: 10 minutes.

About this book

What's inside

Practical UML Statecharts in C/C++ 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, active object (actor) framework, called QP that enables direct manual coding UML statecharts and concurrent event-driven applications in C or C++.

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 active object framework goes several steps beyond the traditional real-time operating system (RTOS). In the simplest configuration, QP runs on bare-metal microcontroller 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 (state-machine.com/psicc2) contains complete open source code for QP and the free QM graphical modeling tool for QP, ports to popular processors, including ARM Cortex-M, ARM7/9, MSP430, AVR/AVR32, PIC24, RX, etc., as well as QP ports to operating systems, such as Linux, Windows, and Android.
How it works

From checkout to chapter one in seconds

0110 sec

Check out securely

Pay by card or wallet. Use an email address you can access right now.

02Instant

Get your link

Your download link arrives by email the moment your payment clears, 24/7.

03Forever

Read anywhere

Open it on your laptop, tablet or phone. Save it and keep it.

Why buy from us

Smarter than paying full price

100%

Authorised by publisher: licensed copy, never pirated.

–84%

Less than Amazon Kindle, with our lowest-price guarantee.

Instant

Delivered the moment your payment clears, day or night.

Full

Complete edition: every chapter, no missing pages.

Questions

Good to know

How do I receive my ebook?

Right after checkout we email you a download link. Check your spam folder if it doesn't arrive within a few minutes.

Which devices can I read it on?

Any computer, tablet or phone. PDF opens in any browser or free reader app.

I entered the wrong email. What now?

Contact us via live chat with your order number and we'll resend the link to the right address.

What if there's a problem with the file?

We'll replace it or refund you within 30 days, no questions asked.