Class AbstractLaneBasedMoveChecker

java.lang.Object
org.opentrafficsim.road.gtu.lane.AbstractLaneBasedMoveChecker
All Implemented Interfaces:
EventListener, nl.tudelft.simulation.event.EventListenerInterface
Direct Known Subclasses:
AccelerationChecker, CollisionDetector, MultiLaneBasedMoveChecker

public abstract class AbstractLaneBasedMoveChecker
extends Object
implements nl.tudelft.simulation.event.EventListenerInterface
Abstract class that listens to move events of GTUs so checks can be performed.

Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version Aug 6, 2019
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Constructor Details

  • Method Details

    • notify

      public void notify​(nl.tudelft.simulation.event.EventInterface event) throws RemoteException
      Specified by:
      notify in interface nl.tudelft.simulation.event.EventListenerInterface
      Throws:
      RemoteException
    • checkMove

      public abstract void checkMove​(LaneBasedGTU gtu) throws Exception
      Check the move of the given GTU.
      Parameters:
      gtu - LaneBasedGTU; GTU.
      Throws:
      Exception - thrown when something is not all right