Class RoadTag
- java.lang.Object
-
- org.opentrafficsim.road.network.factory.opendrive.old.RoadTag
-
- All Implemented Interfaces:
Serializable
public class RoadTag extends Object implements Serializable
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.$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Jul 23, 2015
- Author:
- Alexander Verbraeck
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RoadTag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidbuildLink(RoadTag roadTag, OpenDriveNetworkLaneParserOld openDriveNetworkLaneParser)static voidgenerateTrafficLightsbySignal(RoadTag roadTag, DEVSSimulatorInterface.TimeDoubleUnit simulator, OpenDriveNetworkLaneParserOld openDriveNetworkLaneParser)static voidgenerateTrafficLightsbySignalReference(RoadTag roadTag, DEVSSimulatorInterface.TimeDoubleUnit simulator, OpenDriveNetworkLaneParserOld openDriveNetworkLaneParser)StringtoString()
-
-
-
Method Detail
-
buildLink
public static void buildLink(RoadTag roadTag, OpenDriveNetworkLaneParserOld openDriveNetworkLaneParser) throws NetworkException
- Parameters:
roadTag- RoadTag; the road tagopenDriveNetworkLaneParser- OpenDriveNetworkLaneParser; the parser- Throws:
NetworkException- if link already exists in the network, if name of the link is not unique, or if the start node or the end node of the link are not registered in the network.
-
generateTrafficLightsbySignal
public static void generateTrafficLightsbySignal(RoadTag roadTag, DEVSSimulatorInterface.TimeDoubleUnit simulator, OpenDriveNetworkLaneParserOld openDriveNetworkLaneParser) throws NetworkException
- Parameters:
roadTag- RoadTag; the road tagsimulator- DEVSSimulatorInterface.TimeDoubleUnit; the simulatoropenDriveNetworkLaneParser- OpenDriveNetworkLaneParser; the parser- Throws:
NetworkException- on network error
-
generateTrafficLightsbySignalReference
public static void generateTrafficLightsbySignalReference(RoadTag roadTag, DEVSSimulatorInterface.TimeDoubleUnit simulator, OpenDriveNetworkLaneParserOld openDriveNetworkLaneParser) throws NetworkException
- Parameters:
roadTag- RoadTag; the road tagsimulator- DEVSSimulatorInterface.TimeDoubleUnit; the simulatoropenDriveNetworkLaneParser- OpenDriveNetworkLaneParser; the parser- Throws:
NetworkException- on network error
-
-