Chapter 16. States, Transitions, Events, and Actions

Choosing each stone, and poising every weight, Trying the measures of the breadth and height, Here pulling down, and there erecting new, Founding a firm state by proportions true.

—Andrew Marvel: The First Anniversary of the Government under Oliver Cromwell

In the previous chapter we dealt with identifying when state machines are necessary and how to recognize object life cycles. In this chapter we will get into the structural details of how state machines are constructed. The structure is the more mechanical aspect of developing state machines, so this chapter will just flesh out the basics that were described in Chapter 14. The goal in this chapter is simply to establish the proper mindset ...

Get Model-Based Development: Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.