Package org.opentrafficsim.sim0mq.kpi
Class GtuData
- java.lang.Object
-
- org.opentrafficsim.sim0mq.kpi.GtuData
-
- All Implemented Interfaces:
Identifiable,GtuDataInterface
public class GtuData extends Object implements GtuDataInterface
Copyright (c) 2013-2022 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(String id, GtuTypeData gtuType, RouteData route)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)NodeDataInterfacegetDestinationNodeData()GtuTypeDataInterfacegetGtuTypeData()StringgetId()NodeDataInterfacegetOriginNodeData()RouteDataInterfacegetRouteData()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
GtuData
public GtuData(String id, GtuTypeData gtuType, RouteData route)
- Parameters:
id- String; the idgtuType- GtuTypeData; the gtu typeroute- RouteData; the route
-
-
Method Detail
-
getId
public final String getId()
- Specified by:
getIdin interfaceGtuDataInterface- Specified by:
getIdin interfaceIdentifiable
-
getOriginNodeData
public final NodeDataInterface getOriginNodeData()
- Specified by:
getOriginNodeDatain interfaceGtuDataInterface
-
getDestinationNodeData
public final NodeDataInterface getDestinationNodeData()
- Specified by:
getDestinationNodeDatain interfaceGtuDataInterface
-
getGtuTypeData
public final GtuTypeDataInterface getGtuTypeData()
- Specified by:
getGtuTypeDatain interfaceGtuDataInterface
-
getRouteData
public final RouteDataInterface getRouteData()
- Specified by:
getRouteDatain interfaceGtuDataInterface
-
-