XRDS

Crossroads The ACM Magazine for Students

Sign In

Association for Computing Machinery

Articles Tagged: Classes and objects

Articles & Features

Modeling object states and behaviors using a state action manager

This design pattern is an extension of the well-known state pattern [2], which allows an object to change its behavior depending on the internal state of the object. The behavior is defined by events, whose transformation to actions depends on the object state. This pattern introduces a way to manage state actions.

By Gunther Palfinger, September 2007

PDF | HTML | In the Digital Library