// reportEvent.C: the Report class.

#include "supermarket.h"
#include "reportEvent.h"

void ReportEvent::makeItHappen () {
   sim->statSnapshot();
   
   // Schedule the next interim report.
   setTime (sim->getTime() + sim->getReportInterval());
   sim->insertEvent (this);
}
