// pseudev.cc: pseudo-events for the CSC 270 simulation example
// -- J. Clarke, March-June 1996

#include "event.h"
#include "evlist.h"
#include "stats.h"
#include "car.h"
#include "carqueue.h"
#include "pump.h"
#include "pstand.h"
#include "globals.h"
#include "pseudev.h"

bool reportClass::makeItHappen (void)
{
	stats -> snapshot ();

	// schedule the next interim report.
	setTime (simulationTime + intervalToNext);
	eventList -> insert (this);

	return true; // Reports don't stop the simulation!
}

bool allDoneClass::makeItHappen (void)
{
	stats -> snapshot ();
	return false;
};
