Interface TrafficManagementCenterApplication
- All Superinterfaces:
Application,EventProcessor,OperatingSystemAccess<TrafficManagementCenterOperatingSystem>
- All Known Implementing Classes:
HighwayManagementApp
public interface TrafficManagementCenterApplication
extends Application, OperatingSystemAccess<TrafficManagementCenterOperatingSystem>
All applications accessing traffic management center functionality
are to implement this interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonInductionLoopUpdated(Collection<InductionLoop> updatedInductionLoops) This method is called when any subscribedInductionLoopof the unit has been updated.voidonLaneAreaDetectorUpdated(Collection<LaneAreaDetector> updatedLaneAreaDetectors) This method is called when any subscribedLaneAreaDetectorof the unit has been updated.Methods inherited from interface org.eclipse.mosaic.fed.application.app.api.Application
onShutdown, onStartupMethods inherited from interface org.eclipse.mosaic.lib.util.scheduling.EventProcessor
canProcessEvent, processEventMethods inherited from interface org.eclipse.mosaic.fed.application.app.api.OperatingSystemAccess
getOperatingSystem, getOs
-
Method Details
-
onInductionLoopUpdated
This method is called when any subscribedInductionLoopof the unit has been updated. This requires this tmc unit to be mapped correctly to induction loop detectors in the mapping3 Configuration.- Parameters:
updatedInductionLoops- collection of updatedInductionLoopstates
-
onLaneAreaDetectorUpdated
This method is called when any subscribedLaneAreaDetectorof the unit has been updated. This requires this tmc unit to be mapped correctly to lane area detectors in the mapping3 Configuration.- Parameters:
updatedLaneAreaDetectors- collection of updatedLaneAreaDetectorstates
-