Changeset 188 in tmcsimulator for trunk/src/tmcsim/cadsimulator/CADServer.java


Ignore:
Timestamp:
10/29/2017 03:13:25 PM (9 years ago)
Author:
jdalbey
Message:

TrafficModelManager?.java: Now integrated into CAD Server. Passes smoke test, needs system testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/cadsimulator/CADServer.java

    r123 r188  
    2020import tmcsim.cadsimulator.managers.ParamicsSimulationManager; 
    2121import tmcsim.cadsimulator.managers.SimulationClockManager; 
     22import tmcsim.cadsimulator.managers.TrafficModelManager; 
    2223import tmcsim.cadsimulator.viewer.model.CADSimulatorState; 
    2324import tmcsim.common.SimulationException; 
     
    122123        ATMS_PROP_FILE("ATMSProperties"), 
    123124        /** 
     125         * Filepath for the properties file to initialize the traffic manager. 
     126         */ 
     127        TRAFFICMGR_PROP_FILE("TrafficMgrProperties"), 
     128        /** 
    124129         * Class name of desired user interface. 
    125130         */ 
     
    168173     */ 
    169174    protected static ATMSManager theATMSMgr = null; 
     175    /** 
     176     * Traffic Model Manager instance 
     177     */ 
     178    protected static TrafficModelManager theTrafficMgr = null; 
    170179    /** 
    171180     * Properties file for the CADSimulator. 
     
    242251                    cadSimulatorProperties.getProperty( 
    243252                    CAD_PROPERTIES.ATMS_PROP_FILE.name)); 
     253             
     254            theTrafficMgr = new TrafficModelManager( 
     255                    cadSimulatorProperties.getProperty( 
     256                    CAD_PROPERTIES.TRAFFICMGR_PROP_FILE.name), 
     257                    theCoordinator); 
    244258 
    245259            theMediaMgr = new MediaManager( 
Note: See TracChangeset for help on using the changeset viewer.