//-------------------------------------------------------------------- // // Laboratory C timer.hs // // Class declaration for the Timer ADT // //-------------------------------------------------------------------- #include // Insert a declaration for SystemTime here. class Timer { public: // Start and stop the timer void start (); void stop (); // Compute the elapsed time (in seconds) double getElapsedTime () const; private: SystemTime startTime, // Time that the timer was started stopTime; // Time that the timer was stopped };