Public Member Functions | |
| PenaltyMessage (int destinationX, int destinationY, int destinationRadius, int validUntil, Street penaltyStreet, int penaltyDirection, int penaltyValue, int penaltyValidUntil) | |
| void | execute (Vehicle vehicle) | 
Additional Inherited Members | 
A message which indicates some kind of traffic jam through assigning a penalty to the street on which the jam is.
      
  | 
  inline | 
Instantiates a new penalty message.
| destinationX | the x coordinate of the destination of the message | 
| destinationY | the y coordinate of the destination of the message | 
| destinationRadius | the radius of the destination area in cm | 
| validUntil | how long the message is valid in ms (measured from simulation start) | 
| penaltyStreet | the penalty street | 
| penaltyDirection | the direction to which the penalty corresponds. 1 means from endNode to startNode, 0 means both directions and -1 means from startNode to endNode  | 
| penaltyValue | the penalty value in cm | 
| penaltyValidUntil | how long the penalty is valid in ms (measured from simulation start) | 
      
  | 
  inlinevirtual | 
Executes the message by adding a new penalty value to the known penalties of the vehicle given.
| vehicle | the vehicle on which this operation is done | 
Implements vanetsim.scenario.messages.Message.
 1.8.3.1