/* File: link.cp 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: Connector and Wire class methods defined. Modification history: 8/1/98: RPF. Started. 8/8/98: RPF. Now supports Connector/Wire architecture. */ #include "includes.h" int Connector::next_id = 0; int Wire::next_id = 0; Connector:: Connector() { id = next_id++; } Wire:: Wire() : packet(NULL) { id = next_id++; }