base class for notice originators
Intended use:
Public interface
Review Status
- Reviewed By:
- Friso Olnon
- Date Reviewed:
- 1995/03/16
Synopsis
A NoticeSource
maintains a list of all of the NoticeTarget
s which are interested in Notice
s from this NoticeSource
. Its member function notify()
sends the specified Notice
to all the NoticeTarget
s in the list.
Classes which have many other dependent objects which need to be updated, should derive from this class.
Example
List, the linked list class, is derived from NoticeSource
. It mainly contains status information; all the manipulation functions are located in the ListIter classes. The linked list and its iterators communicate with each other via the notice system. List
does not provide any further notice functionality; everything is taken care of by its base class NoticeSource
.
Definition at line 99 of file Notice.h.