Figure 2: Use of the Observer pattern for automatic frame-by-frame updates of the image canvas. The VideoGrabberCanvas gets a change notification every time the camera scans a new image.

Back to Article
Copyright © 1999, Dr. Dobb's Journal