Buy 2 get 1 free. Everything is calculated at checkout.

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

$47.99

Buy 2, get 1 free. Applied automatically at checkout.

Before you buy

  • Check your email at checkoutYour download link is sent to the address you enter, so make sure it's typed correctly.
  • This is a digital PDFNothing is shipped. The download link arrives by email right after payment.
  • 30-day money-back guaranteeIf the file doesn't work, we'll replace it or refund you.
Can't find the ebook you want?

Send us a photo of the cover in live chat and we'll look for it. We usually reply within 10 minutes.

About this book

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.

Book details

Format
PDF, instant download
Language
English

Why buy here

Instant

The PDF is delivered as soon as your payment clears, day or night.

Complete

The full edition, every chapter, no missing pages.

24/7

Questions about your order? Message us in live chat any time.

Secure

Encrypted checkout with all major cards and wallets.

You may also like