Class Conflict.ConflictEnd
java.lang.Object
nl.tudelft.simulation.event.EventProducer
org.opentrafficsim.core.object.StaticObject
org.opentrafficsim.road.network.lane.object.AbstractLaneBasedObject
org.opentrafficsim.road.network.lane.conflict.Conflict.ConflictEnd
- All Implemented Interfaces:
 java.io.Serializable,Locatable,nl.tudelft.simulation.event.EventProducerInterface,Identifiable,Drawable,ObjectInterface,LaneBasedObject
- Enclosing class:
 - Conflict
 
public class Conflict.ConflictEnd extends AbstractLaneBasedObject
Light-weight lane based object to indicate the end of a conflict. It is used to perceive conflicts when a GTU is on the
 conflict area, and hence the conflict lane based object is usptream.
 
 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 14 dec. 2016 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 - See Also:
 - Serialized Form
 
- 
Field Summary
 - 
Method Summary
Modifier and Type Method Description AbstractLaneBasedObjectclone(CrossSectionElement newCSE, SimulatorInterface.TimeDoubleUnit newSimulator)Clone the LaneBasedObject for e.g., copying a network.ConflictgetConflict()java.lang.StringtoString()Methods inherited from class org.opentrafficsim.road.network.lane.object.AbstractLaneBasedObject
clone, getDirection, getFullId, getLane, getLocation, getLongitudinalPosition, initMethods inherited from class org.opentrafficsim.core.object.StaticObject
create, create, getBounds, getGeometry, getHeight, getIdMethods inherited from class nl.tudelft.simulation.event.EventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface nl.tudelft.simulation.event.EventProducerInterface
addListener, addListener, addListener, addListener, removeListenerMethods inherited from interface org.opentrafficsim.road.network.lane.object.LaneBasedObject
getBoundsMethods inherited from interface org.opentrafficsim.core.object.ObjectInterface
getGeometry, getHeight 
- 
Method Details
- 
getConflict
- Returns:
 - conflict
 
 - 
clone
public final AbstractLaneBasedObject clone(CrossSectionElement newCSE, SimulatorInterface.TimeDoubleUnit newSimulator) throws NetworkExceptionClone the LaneBasedObject for e.g., copying a network.- Specified by:
 clonein classAbstractLaneBasedObject- Parameters:
 newCSE- CrossSectionElement; the new cross section element to which the clone belongsnewSimulator- SimulatorInterface.TimeDoubleUnit; the new simulator for this network- Returns:
 - AbstractLaneBasedObject; a clone of this object
 - Throws:
 NetworkException- in case the cloning fails
 - 
toString
public final java.lang.String toString()- Overrides:
 toStringin classAbstractLaneBasedObject
 
 -