/* File: ps2.doc (in the Documents group in the project -- not compiled) Author: R. P. Futrelle Date: 7/31/98 Notice: Copyright 1998 by R. P. Futrelle and the College of Computer Science, Northeastern University Class: COM1204, Object-Oriented Design, Summer 1998. Proj: PS2.µ Metrowerks Code Warrior Mac. Done in IDE version 2.0.1. Purpose: Implementation notes for the phone system, 2nd design. See the Web doc ps2-design-a2.html for further details and graphics. Modification history: 7/31/98: RPF. Started. 8/1/98: RPF. Needs updating. */ /* Files in this project: ps2.doc Implementation notes (this file) globals.h Contains one or a few global vars declares.h Header for bare declares, forward declarations super.h Abstract superclass definitions super.cp Inits static slots in superclass Node phone.h Phone class definitions phone.cp Phone method definitions switch.h Switch class definitions, including phone state class switch.cp Switch method definitions link.h Link class definitions link.cp Link method definitions packet.h Packet class definitions packet.cp Packet method definitions system.h System class definitions system.cp System method definitions log.h Log class definitions log.cp Log method definitions misc.h Miscellaneous class definitions, fn prototypes misc.cp Miscellaneous method definitions, fn defs includes.h Gathers together all our (user) includes. This has to be done, because the implementations of the methods may require the signatures of methods from a variety of classes, so they need access to all class definitions. main.cp Creates system, inits it, and runs with/wo logging. Note: Because this file is never compiled, there is no need for comment blocks. One was used at the beginning to be consistent with all other source code files. One large comment block was used for the rest of the file, so the editor will not distractingly highlight keywords as it does in normal source files. */