Interface Application

All Superinterfaces:
EventProcessor
All Known Subinterfaces:
AgentApplication, ChargingStationApplication, CommunicationApplication, ElectricVehicleApplication, MosaicApplication, OperatingSystemAccess<OS>, TrafficLightApplication, TrafficManagementCenterApplication, TrafficSignAwareApplication, VehicleApplication
All Known Implementing Classes:
AbstractApplication, AbstractCamSendingApp, AdditionalProcessingApp, AdditionalReceivingApp, CamSendingApp, ChargingStationCamSendingApp, ConfigurableApplication, EmergencyBrakeApp, EventProcessingApp, EventSendingApp, HelloWorldApp, HighwayManagementApp, InterconnectApp, IntervalSamplingApp, MessageReceivingApp, MosaicInteractionHandlingApp, MultithreadSamplingApp, NotProcessingApp, OnVehicleUpdatedApp, PerceptionApp, RandomSamplingIntervalApp, RoadSideUnitApp, RoadSideUnitCamSendingApp, SimpleCommuterApp, SlowDownApp, SpecificEventProcessingApp, SumoTraciInteractionApp, TrafficLightApp, TrafficLightCamSendingApp, TrafficLightControlApp, UserTaggedValueReadingApp, VehicleCamSendingApp, VehicleConfigurationApp, VehicleToTrafficLightApp, WeatherServerApp, WeatherWarningApp, WeatherWarningAppCell

public interface Application extends EventProcessor
All basic applications need to implement this interface, for the application simulator to properly handle them.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The operating system calls this method to notify that the application is going to be torn down.
    void
    The operating system calls this method to notify that the application is started.

    Methods inherited from interface org.eclipse.mosaic.lib.util.scheduling.EventProcessor

    canProcessEvent, processEvent
  • Method Details

    • onStartup

      void onStartup()
      The operating system calls this method to notify that the application is started.
    • onShutdown

      void onShutdown()
      The operating system calls this method to notify that the application is going to be torn down.