FACT++  1.0
void CheckStartupAndShutdown ( vector< Source > &  obs)

Definition at line 491 of file makeschedule.cc.

Referenced by main().

492 {
493  if (obs.front().name=="SLEEP")
494  {
495  obs.erase(obs.begin());
496  cout << "Detected sleep after startup... removed." << endl;
497  }
498 
499  if (obs.back().name=="SLEEP")
500  {
501  obs.pop_back();
502  cout << "Detected sleep before shutdown... removed." << endl;
503  }
504 }

+ Here is the caller graph for this function: