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

Valutazione media 3,44
( su 16 valutazioni fornite da Goodreads )
 
9780750687065: Practical UML Statecharts in C/C++: Event-Driven Programming for Embedded Systems

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.

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

From the Author:

You can't just look at state machines and the event-driven active object framework as a collection of features, because some of the features will make no sense in isolation. You can only use these powerful concepts effectively if you are thinking about incremental, iterative design, not simply coding. And to understand state machines that way, you must understand the problems with programming event-driven systems in general.

This book discusses problems inherent in reactive systems, why they are problems, and how state machines and active object computing model can help. Thus, I begin most chapters with the programming problems the chapter will address. In this way, I hope to move you, a little at a time, to the point where active objects and hierarchical state machines become a much more natural way of solving the problems than the traditional approaches such as deeply nested IFs and ELSEs for coding stateful behavior or using blocking calls, such as semaphores or time delays to signal events in a traditional RTOS.

When you start using the techniques described in this book, your problems will change. You will no longer struggle with 15 levels of convoluted IF-ELSE statements, and you will stop worrying about semaphores or other such low-level RTOS mechanisms. Instead, you'll start thinking at a higher level of abstraction about state machines, events, and active objects. After you experience this quantum leap you will find, as I did, that programming can be much more fun.

About the Author:

Dr. Miro Samek is the founder of Quantum Leaps (state-machine.com), an open source company providing lightweight active object (actor) frameworks for microcontrollers. His practical books about UML state machines and event-driven active object (actor) frameworks for embedded systems are among the most popular on the market. Miro has also published dozens of technical articles, including a column for C/C++ Users Journal, as well as numerous articles for Embedded Systems Design and Dr. Dobb's Journal. He is a regular speaker at the Embedded Systems Conferences, and serves on the editorial review board of the Embedded Systems Design magazine. His extensive industry experience ranges from safety-critical software development at GE Medical Systems through hard real-time embedded software design at two Silicon Valley companies specializing in GPS technologies. Software he wrote continues to power millions of products. Dr. Samek earned his Ph.D. in nuclear physics at GSI (Darmstadt, Germany).

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

I migliori risultati di ricerca su AbeBooks

1.

Miro Samek
Editore: ELSEVIER SCIENCE TECHNOLOGY, United Kingdom (2008)
ISBN 10: 0750687061 ISBN 13: 9780750687065
Nuovi Paperback Quantità: 1
Da
The Book Depository
(London, Regno Unito)
Valutazione libreria
[?]

Descrizione libro ELSEVIER SCIENCE TECHNOLOGY, United Kingdom, 2008. Paperback. Condizione libro: New. 2nd edition. Language: English . Brand New 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, event-driven infrastructure, called QP that enables direct manual coding UML statecharts and concurrent event-driven applications in C or C++ 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 processors and operating systems, including 80x86, ARM Cortex-M3, MSP430, and Linux, as well as all examples described in the book. Codice libro della libreria AAZ9780750687065

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 47,38
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

2.

Miro
Editore: Taylor Fransis
ISBN 10: 0750687061 ISBN 13: 9780750687065
Nuovi Quantità: > 20
Da
INDOO
(Avenel, NJ, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Taylor Fransis. Condizione libro: New. Brand New. Codice libro della libreria 0750687061

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 46,37
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 2,93
In U.S.A.
Destinazione, tempi e costi

3.

Miro Samek
Editore: ELSEVIER SCIENCE TECHNOLOGY, United Kingdom (2008)
ISBN 10: 0750687061 ISBN 13: 9780750687065
Nuovi Paperback Quantità: 1
Da
The Book Depository US
(London, Regno Unito)
Valutazione libreria
[?]

Descrizione libro ELSEVIER SCIENCE TECHNOLOGY, United Kingdom, 2008. Paperback. Condizione libro: New. 2nd edition. Language: English . Brand New 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, event-driven infrastructure, called QP that enables direct manual coding UML statecharts and concurrent event-driven applications in C or C++ 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 processors and operating systems, including 80x86, ARM Cortex-M3, MSP430, and Linux, as well as all examples described in the book. Codice libro della libreria AAZ9780750687065

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 51,27
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

4.

Samek, Miro
ISBN 10: 0750687061 ISBN 13: 9780750687065
Nuovi Quantità: > 20
Da
Paperbackshop-US
(Wood Dale, IL, U.S.A.)
Valutazione libreria
[?]

Descrizione libro 2008. PAP. Condizione libro: New. New Book. Shipped from US within 10 to 14 business days. Established seller since 2000. Codice libro della libreria VT-9780750687065

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 49,30
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 3,35
In U.S.A.
Destinazione, tempi e costi

5.

Miro Samek
Editore: CRC Press (2008)
ISBN 10: 0750687061 ISBN 13: 9780750687065
Nuovi Quantità: > 20
Print on Demand
Da
Books2Anywhere
(Fairford, GLOS, Regno Unito)
Valutazione libreria
[?]

Descrizione libro CRC Press, 2008. PAP. Condizione libro: New. New Book. Delivered from our UK warehouse in 3 to 5 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Codice libro della libreria LQ-9780750687065

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 44,12
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 10,19
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

6.

Miro Samek
Editore: CRC Press (2008)
ISBN 10: 0750687061 ISBN 13: 9780750687065
Nuovi Quantità: 1
Da
Books2Anywhere
(Fairford, GLOS, Regno Unito)
Valutazione libreria
[?]

Descrizione libro CRC Press, 2008. PAP. Condizione libro: New. New Book. Shipped from UK in 4 to 14 days. Established seller since 2000. Codice libro della libreria GB-9780750687065

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 44,37
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 10,19
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

7.

Miro Samek
Editore: Taylor and Francis 2008-11-10, Amsterdam |London (2008)
ISBN 10: 0750687061 ISBN 13: 9780750687065
Nuovi paperback Quantità: > 20
Da
Blackwell's
(Oxford, OX, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Taylor and Francis 2008-11-10, Amsterdam |London, 2008. paperback. Condizione libro: New. Codice libro della libreria 9780750687065

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 47,81
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 6,80
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

8.

Samek, Miro
Editore: Focal Press (2016)
ISBN 10: 0750687061 ISBN 13: 9780750687065
Nuovi Paperback Quantità: 1
Print on Demand
Da
Ria Christie Collections
(Uxbridge, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Focal Press, 2016. Paperback. Condizione libro: New. PRINT ON DEMAND Book; New; Publication Year 2016; Not Signed; Fast Shipping from the UK. No. book. Codice libro della libreria ria9780750687065_lsuk

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 50,89
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 4,38
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

9.

Samek, Miro
Editore: Elsevier Science & Technology (2008)
ISBN 10: 0750687061 ISBN 13: 9780750687065
Nuovi Brossura Quantità: 1
Valutazione libreria
[?]

Descrizione libro Elsevier Science & Technology, 2008. Condizione libro: New. 2008. 2nd Edition. Paperback. 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. Num Pages: 728 pages, 1, black & white illustrations. BIC Classification: UMN. Category: (P) Professional & Vocational. Dimension: 233 x 190 x 37. Weight in Grams: 1310. . . . . . . Codice libro della libreria V9780750687065

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 58,36
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: Irlanda a: U.S.A.
Destinazione, tempi e costi

10.

Miro Samek
ISBN 10: 0750687061 ISBN 13: 9780750687065
Nuovi Quantità: 1
Da
Speedy Hen LLC
(Sunrise, FL, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Condizione libro: New. Bookseller Inventory # ST0750687061. Codice libro della libreria ST0750687061

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 59,05
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

Vedi altre copie di questo libro

Vedi tutti i risultati per questo libro