public interface GTU extends Locatable, Serializable, EventProducerInterface
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Field and Description |
|---|---|
static EventType |
DESTROY_EVENT
The event type for pub/sub indicating destruction of the GTU.
|
static EventType |
INIT_EVENT
The event type for pub/sub indicating the initialization of a new GTU.
|
static EventType |
MOVE_EVENT
The event type for pub/sub indicating a move.
|
FIRST_POSITION, LAST_POSITIONaddListener, addListener, addListener, addListener, removeListenerstatic final EventType MOVE_EVENT
static final EventType INIT_EVENT
static final EventType DESTROY_EVENT
String getId()
org.djunits.value.vdouble.scalar.Length getLength()
org.djunits.value.vdouble.scalar.Length getWidth()
org.djunits.value.vdouble.scalar.Speed getMaximumSpeed()
org.djunits.value.vdouble.scalar.Acceleration getMaximumAcceleration()
org.djunits.value.vdouble.scalar.Acceleration getMaximumDeceleration()
GTUType getGTUType()
OTSDEVSSimulatorInterface getSimulator()
RelativePosition getReference()
RelativePosition getFront()
RelativePosition getRear()
RelativePosition getCenter()
Set<RelativePosition> getContourPoints()
Map<RelativePosition.TYPE,RelativePosition> getRelativePositions()
org.djunits.value.vdouble.scalar.Speed getSpeed()
org.djunits.value.vdouble.scalar.Acceleration getAcceleration()
org.djunits.value.vdouble.scalar.Length getOdometer()
BehavioralCharacteristics getBehavioralCharacteristics()
StrategicalPlanner getStrategicalPlanner()
TacticalPlanner getTacticalPlanner()
OperationalPlan getOperationalPlan()
TurnIndicatorStatus getTurnIndicatorStatus()
void setTurnIndicatorStatus(TurnIndicatorStatus turnIndicatorStatus) throws GTUException
turnIndicatorStatus - the new status of the turn indicator.GTUException - when GTUType does not have a turn indicatorvoid destroy()
DirectedPoint getLocation()
getLocation in interface LocatableCopyright © 2014–2016 Delft University of Technology. All rights reserved.