ADT
        ast-experimental
        enum
        forall-pointer-decay
        jacob/cs343-translation
        pthread-emulation
        qualifiedEnum
      
      
        
          | 
            Last change
 on this file since dac3455 was             16f9aca, checked in by Jacob Prud'homme <jafprudhomme@…>, 4 years ago           | 
        
        
          | 
             
Created new library with code directly from CS 343 A6 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1.0 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | #pragma once
 | 
|---|
| 2 | 
 | 
|---|
| 3 | struct ConfigParms {
 | 
|---|
| 4 |         unsigned int stopCost;                                                          // amount to charge per train stop
 | 
|---|
| 5 |         unsigned int numStudents;                                                       // number of students to create
 | 
|---|
| 6 |         unsigned int numStops;                                                          // number of train stops; minimum of 2
 | 
|---|
| 7 |         unsigned int maxNumStudents;                                            // maximum students each train can carry
 | 
|---|
| 8 |         unsigned int timerDelay;                                                        // length of time between each tick of the timer
 | 
|---|
| 9 |         unsigned int maxStudentDelay;                                           // maximum random student delay between trips
 | 
|---|
| 10 |         unsigned int maxStudentTrips;                                           // maximum number of train trips each student takes
 | 
|---|
| 11 |         unsigned int groupoffDelay;                                                     // length of time between initializing gift cards
 | 
|---|
| 12 |         unsigned int conductorDelay;                                            // length of time between checking on passenger POPs
 | 
|---|
| 13 |         unsigned int parentalDelay;                                                     // length of time between cash deposits
 | 
|---|
| 14 |         unsigned int numCouriers;                                                       // number of WATCard office couriers in the pool
 | 
|---|
| 15 | }; // ConfigParms
 | 
|---|
| 16 | 
 | 
|---|
| 17 | void processConfigFile( const char * configFile, ConfigParms & cparms );
 | 
|---|
| 18 | 
 | 
|---|
| 19 | // Local Variables: //
 | 
|---|
| 20 | // mode: c //
 | 
|---|
| 21 | // tab-width: 4 //
 | 
|---|
| 22 | // End: //
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.