Skip to content

Glossary: Software Design Patterns in C++

State

Also written: state pattern

A pattern for rules that depend on status. It is shown as a transitions table, or in the textbook form as one class per state whose methods return the next state or refuse.

Where the book teaches it

Related terms

State machineTransition