Changeset 224 in tmcsimulator for branches/FEPSimulator/FEPSim.cpp


Ignore:
Timestamp:
11/04/2017 01:48:46 PM (8 years ago)
Author:
jdalbey
Message:

FEPSim.cpp Added a comment containing code to let ATMS server catch up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FEPSimulator/FEPSim.cpp

    r223 r224  
    3333    vector<STATION*> ldsMap = highwaysParser.stations; 
    3434 
     35    cout << "Starting sendReplys for " << lines.size() << " lines." << endl; 
    3536    // Send one reply for every FEPLine 
    3637    for (int i = 0; i < lines.size(); i++) { 
     
    9899            handleCallResponse(fep_reply_xfer_32(&fepReply, clnt)); 
    99100        } 
    100     } 
     101        // pause to let ATMS server catch up 
     102        //unsigned int sleepseconds = 220000; 
     103        //usleep(sleepseconds); 
     104    } 
     105    cout << "Finished." << endl; 
    101106} 
    102107 
Note: See TracChangeset for help on using the changeset viewer.