public class Lane extends it.polito.appeal.traci.TraciObject<Lane.Variable> implements it.polito.appeal.traci.StepAdvanceListener
| Modifier and Type | Class and Description |
|---|---|
static class |
Lane.Variable
Enumerates all the read queries.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getCo2Emission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getCoEmission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getFuelConsumption()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getHcEmission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getLastStepOccupancy()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Integer |
getLastStepVehicleNumber()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getLength()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
List<it.polito.appeal.traci.Link> |
getLinks()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getMaxSpeed()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getNoiseEmission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getNoxEmission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Edge |
getParentEdge()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getPmxEmission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Path2D |
getShape()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getWidth()
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<Double> |
queryReadCO2Emission() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadCOEmission() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadFuelConsumption() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadHCEmission() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadLastStepOccupancy() |
it.polito.appeal.traci.ReadObjectVarQuery<Integer> |
queryReadLastStepVehicleNumber() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadLength() |
it.polito.appeal.traci.ReadObjectVarQuery<List<it.polito.appeal.traci.Link>> |
queryReadLinks() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadMaxSpeed() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadNoiseEmission() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadNOXEmission() |
it.polito.appeal.traci.ReadObjectVarQuery<Edge> |
queryReadParentEdge() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadPMXEmission() |
it.polito.appeal.traci.ReadObjectVarQuery<Path2D> |
queryReadShape() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadWidth() |
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<Path2D> queryReadShape()
ReadObjectVarQuery relative to this query.public Path2D getShape() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadLength()
ReadObjectVarQuery relative to this query.public Double getLength() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadWidth()
ReadObjectVarQuery relative to this query.public Double getWidth() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadLastStepOccupancy()
ReadObjectVarQuery relative to this query.public Double getLastStepOccupancy() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadMaxSpeed()
ReadObjectVarQuery relative to this query.public Double getMaxSpeed() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Edge> queryReadParentEdge()
ReadObjectVarQuery relative to this query.public Edge getParentEdge() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<List<it.polito.appeal.traci.Link>> queryReadLinks()
ReadObjectVarQuery relative to this query.public List<it.polito.appeal.traci.Link> getLinks() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Integer> queryReadLastStepVehicleNumber()
ReadObjectVarQuery relative to this query.public Integer getLastStepVehicleNumber() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadCO2Emission()
ReadObjectVarQuery relative to this query.public Double getCo2Emission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadCOEmission()
ReadObjectVarQuery relative to this query.public Double getCoEmission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadHCEmission()
ReadObjectVarQuery relative to this query.public Double getHcEmission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadPMXEmission()
ReadObjectVarQuery relative to this query.public Double getPmxEmission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadNOXEmission()
ReadObjectVarQuery relative to this query.public Double getNoxEmission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadFuelConsumption()
ReadObjectVarQuery relative to this query.public Double getFuelConsumption() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadNoiseEmission()
ReadObjectVarQuery relative to this query.public Double getNoiseEmission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionCopyright © 2015 Politecnico di Torino. All rights reserved.