daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Nov 23rd, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     while (currentTime <= endTime && runStation())
  2.     {
  3.  
  4.         shared_ptr<Event> nextEvent = eventQueue.top();
  5.         eventQueue.pop();
  6.         currentTime = nextEvent->getTime();
  7.         nextEvent->processEvent();
  8.     }
RAW Paste Data
Top