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 TypeMethodDescriptionvoid
onInductionLoopUpdated
(Collection<InductionLoop> updatedInductionLoops) This method is called when any subscribedInductionLoop
of the unit has been updated.void
onLaneAreaDetectorUpdated
(Collection<LaneAreaDetector> updatedLaneAreaDetectors) This method is called when any subscribedLaneAreaDetector
of the unit has been updated.Methods inherited from interface org.eclipse.mosaic.fed.application.app.api.Application
onShutdown, onStartup
Methods inherited from interface org.eclipse.mosaic.lib.util.scheduling.EventProcessor
canProcessEvent, processEvent
Methods inherited from interface org.eclipse.mosaic.fed.application.app.api.OperatingSystemAccess
getOperatingSystem, getOs
-
Method Details
-
onInductionLoopUpdated
This method is called when any subscribedInductionLoop
of 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 updatedInductionLoop
states
-
onLaneAreaDetectorUpdated
This method is called when any subscribedLaneAreaDetector
of 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 updatedLaneAreaDetector
states
-