/* File: declares.h Author: R. P. Futrelle Date: 8/8/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: Bare declares, forward declarations for entire system. A few are abstract classes (superclasses), rest are not. Modification history: 7/31/98: RPF. Started. 8/1/98: RPF. Fleshed out 8/8/98. RPF. Added Connector and Wire; removed Link. */ // Abstract classes class Keywords; // used in messages, included in nodes class Node; // items that are run() = phones, switches // Concrete classes for the phone system structure class Phone; // a telephone node class Switch; // a node attached to phones, a central "exchange" class Connector; // One in each node, with two wires attached class Wire; // two between each pair of attached connectors class Packet; // information flowing in a link // class User; // not included; lumped with phone functionality // For administration and bookkeeping class System; // system build() and run() via one System obj. class Log; // Log object records statistics class Timer; // Used mainly by phones to timeout class Switch_Phone_State; // used within Switch