Class GtuData
java.lang.Object
org.opentrafficsim.road.network.sampling.GtuData
- All Implemented Interfaces:
Identifiable,GtuDataInterface
public class GtuData extends java.lang.Object implements GtuDataInterface
Gtu representation in road sampler.
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 13 okt. 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description GtuData(LaneBasedGTU gtu) -
Method Summary
Modifier and Type Method Description NodeDatagetDestinationNodeData()LaneBasedGTUgetGtu()GtuTypeDatagetGtuTypeData()java.lang.StringgetId()NodeDatagetOriginNodeData()RouteDatagetRouteData()java.lang.StringtoString()
-
Constructor Details
-
GtuData
- Parameters:
gtu- LaneBasedGTU; gtu
-
-
Method Details
-
getGtu
- Returns:
- gtu.
-
getId
public final java.lang.String getId()- Specified by:
getIdin interfaceGtuDataInterface- Specified by:
getIdin interfaceIdentifiable
-
getOriginNodeData
- Specified by:
getOriginNodeDatain interfaceGtuDataInterface
-
getDestinationNodeData
- Specified by:
getDestinationNodeDatain interfaceGtuDataInterface
-
getGtuTypeData
- Specified by:
getGtuTypeDatain interfaceGtuDataInterface
-
getRouteData
- Specified by:
getRouteDatain interfaceGtuDataInterface
-
toString
public final java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-