source: libcfa/src/parseconfig.hfa @ 31337d8

ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
Last change on this file since 31337d8 was 07b0c91, checked in by Jacob Prud'homme <jafprudhomme@…>, 3 years ago

Changed name of function exposed in parseconfig header

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[16f9aca]1#pragma once
2
3struct 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
[07b0c91]17void parseConfig( const char * configFile, ConfigParms & cparms );
[16f9aca]18
19// Local Variables: //
20// mode: c //
21// tab-width: 4 //
22// End: //
Note: See TracBrowser for help on using the repository browser.