public enum GTUStatus extends Enum<GTUStatus>
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Enum Constant and Description |
---|
BRAKING_LIGHTS
Braking lights are on when observing the headway.
|
EMERGENCY_LIGHTS
Alarm lights are on.
|
HONK
GTU was honking (car) or ringing a bell (cyclist) when observing the headway.
|
LEFT_TURNINDICATOR
Left turn indicator was on when observing the headway.
|
RIGHT_TURNINDICATOR
Right turn indicator was on when observing the headway.
|
Modifier and Type | Method and Description |
---|---|
static GTUStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GTUStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GTUStatus BRAKING_LIGHTS
public static final GTUStatus LEFT_TURNINDICATOR
public static final GTUStatus RIGHT_TURNINDICATOR
public static final GTUStatus EMERGENCY_LIGHTS
public static final GTUStatus HONK
public static GTUStatus[] values()
for (GTUStatus c : GTUStatus.values()) System.out.println(c);
public static GTUStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2017 Delft University of Technology. All rights reserved.