public class Route extends it.polito.appeal.traci.TraciObject<Route.Variable> implements it.polito.appeal.traci.StepAdvanceListener
| Modifier and Type | Class and Description |
|---|---|
static class |
Route.Variable
Enumerates all the read queries.
|
| Modifier and Type | Method and Description |
|---|---|
List<Edge> |
getRoute()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
void |
nextStep(double step)
Callback for step advancement.
|
it.polito.appeal.traci.ReadObjectVarQuery<List<Edge>> |
queryReadRoute() |
public void nextStep(double step)
it.polito.appeal.traci.StepAdvanceListenernextStep in interface it.polito.appeal.traci.StepAdvanceListenerstep - the new simulation time, in secondspublic it.polito.appeal.traci.ReadObjectVarQuery<List<Edge>> queryReadRoute()
ReadObjectVarQuery relative to this query.public List<Edge> getRoute() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionCopyright © 2015 Politecnico di Torino. All rights reserved.