public static enum TrafficLight.Variable extends Enum<TrafficLight.Variable>
TraciObject.getReadQuery(Enum).| Enum Constant and Description |
|---|
ASSUMED_NEXT_SWITCH_TIME
Query "ReadAssumedNextSwitchTime"
|
COMPLETE_DEFINITION
Query "ReadCompleteDefinition"
|
CONTROLLED_LANES
Query "ReadControlledLanes"
|
CONTROLLED_LINKS
Query "ReadControlledLinks"
|
CURRENT_PHASE
Query "ReadCurrentPhase"
|
CURRENT_PROGRAM
Query "ReadCurrentProgram"
|
DEFAULT_CURRENT_PHASE_DURATION
Query "ReadDefaultCurrentPhaseDuration"
|
STATE
Query "ReadState"
|
| Modifier and Type | Method and Description |
|---|---|
static TrafficLight.Variable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficLight.Variable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficLight.Variable STATE
TrafficLight.queryReadState()public static final TrafficLight.Variable DEFAULT_CURRENT_PHASE_DURATION
public static final TrafficLight.Variable CONTROLLED_LANES
TrafficLight.queryReadControlledLanes()public static final TrafficLight.Variable CONTROLLED_LINKS
TrafficLight.queryReadControlledLinks()public static final TrafficLight.Variable CURRENT_PHASE
TrafficLight.queryReadCurrentPhase()public static final TrafficLight.Variable CURRENT_PROGRAM
TrafficLight.queryReadCurrentProgram()public static final TrafficLight.Variable COMPLETE_DEFINITION
public static final TrafficLight.Variable ASSUMED_NEXT_SWITCH_TIME
public static TrafficLight.Variable[] values()
for (TrafficLight.Variable c : TrafficLight.Variable.values()) System.out.println(c);
public static TrafficLight.Variable 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 © 2015 Politecnico di Torino. All rights reserved.