Uses of Class
vanetsim.scenario.Vehicle

Packages that use Vehicle
vanetsim.gui   
vanetsim.gui.controlpanels   
vanetsim.map   
vanetsim.scenario   
vanetsim.scenario.messages   
 

Uses of Vehicle in vanetsim.gui
 

Methods in vanetsim.gui that return Vehicle
 Vehicle Renderer.getAttackedVehicle()
           
 Vehicle Renderer.getAttackerVehicle()
          Gets the attacker vehicle.
 Vehicle Renderer.getMarkedVehicle()
          Gets a marked vehicle.
 

Methods in vanetsim.gui with parameters of type Vehicle
 void Renderer.setAttackedVehicle(Vehicle attackedVehicle_)
           
 void Renderer.setAttackerVehicle(Vehicle attackerVehicle)
          Sets a new attacker vehicle.
 void Renderer.setMarkedVehicle(Vehicle markedVehicle)
          Sets a new marked vehicle.
 

Uses of Vehicle in vanetsim.gui.controlpanels
 

Methods in vanetsim.gui.controlpanels with parameters of type Vehicle
 void ReportingControlPanel.addBeacon(Vehicle vehicle, long ID, long x, long y, double speed, boolean isEncrypted)
          Receive a beacon from a vehicle in the monitored zone.
 void ReportingControlPanel.addBeacon(Vehicle vehicle, long ID, long x, long y, double speed, boolean isEncrypted, boolean isForwared)
          Receive a beacon from a vehicle in the monitored zone.
 

Uses of Vehicle in vanetsim.map
 

Fields in vanetsim.map declared as Vehicle
 Vehicle Junction.vehicleAllowedThisStep_
          The vehicle which is allowed to pass the junction in this step.
 

Methods in vanetsim.map that return Vehicle
static Vehicle MapHelper.findNearestVehicle(int x, int y, int maxDistance, long[] distance)
          Returns the nearest vehicle to a given point.
 Vehicle JunctionQueue.getFirstVehicle()
          Gets the first vehicle in this queue.
 Vehicle[] Region.getVehicleArray()
          Creates an array as a copy of the vehicle ArrayList to prevent problems during simulation caused by changing the ArrayList while reading it in another thread.
 

Methods in vanetsim.map that return types with arguments of type Vehicle
 java.util.ArrayList<Vehicle> Region.getVehicleArrayList()
          Used to return the ArrayList of all vehicles.
 

Methods in vanetsim.map with parameters of type Vehicle
 void Map.addVehicle(Vehicle vehicle)
          Add a new vehicle to the correct start region.
 boolean JunctionQueue.addVehicle(Vehicle vehicle)
          Adds a vehicle to the queue.
 void Region.addVehicle(Vehicle vehicle, boolean doCheck)
          Function to add a vehicle to this region.
 void Junction.addWaitingVehicle(Vehicle vehicle, int priority)
          Adds a waiting vehicle to the junction.
 boolean Junction.canPassJunction(Vehicle vehicle, int priority, Node nextNode)
          Returns if a vehicle may pass.
 boolean Junction.canPassTrafficLight(Vehicle vehicle, Street tmpStreet, Node nextNode)
          Returns if a vehicle may pass a Traffic Light.
 void Region.delVehicle(Vehicle vehicle)
          Function to delete a vehicle from this region.
 void Map.delVehicle(Vehicle vehicle)
          Deletes a vehicle from it's region.
 boolean JunctionQueue.delVehicle(Vehicle vehicle)
          Removes a vehicle from the queue.
 

Uses of Vehicle in vanetsim.scenario
 

Fields in vanetsim.scenario with type parameters of type Vehicle
static ArrayDeque<Vehicle> RSU.coloredVehicles
          saves all colored vehicles
 

Methods in vanetsim.scenario that return Vehicle
 Vehicle KnownVehiclesList.findNearestVehicle(int vehicleX, int vehicleY, int destX, int destY, int maxDistance)
          Finds the nearest known vehicle to a destination.
 Vehicle KnownVehicle.getVehicle()
          Gets the vehicle.
 

Methods in vanetsim.scenario with parameters of type Vehicle
 void KnownVehiclesList.updateVehicle(Vehicle vehicle, long ID, int x, int y, double speed, long sourceID, boolean isEncrypted, boolean isARSU)
          Update a vehicle or add it if it doesn't exist yet.
 

Constructors in vanetsim.scenario with parameters of type Vehicle
KnownMessages(Vehicle vehicle)
          Constructor.
KnownPenalties(Vehicle vehicle)
          Constructor.
KnownVehicle(Vehicle vehicle, long ID, int x, int y, int time, double speed, boolean isEncrypted)
          Instantiates a new known vehicle.
 

Uses of Vehicle in vanetsim.scenario.messages
 

Methods in vanetsim.scenario.messages with parameters of type Vehicle
 void PenaltyMessage.execute(Vehicle vehicle)
          Executes the message by adding a new penalty value to the known penalties of the vehicle given.
abstract  void Message.execute(Vehicle vehicle)
          Executes something on a vehicle given.