public class

AllowedManeuvers

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.AllowedManeuvers

Class Overview

Represents allowed maneuvers.

Summary

Public Constructors
AllowedManeuvers()
Create a new instance.
Public Methods
boolean equals(Object o)
int hashCode()
boolean isCaution()
Returns whether the driver should proceed with caution past the stop line.
boolean isGoWithHalt()
Returns whether the driver may only proceed after a full stop.
boolean isManeuverLaneChangeAllowed()
Returns whether the lane change maneuver is allowed.
boolean isManeuverLeftAllowed()
Returns whether left turn maneuver is allowed.
boolean isManeuverLeftTurnOnRedAllowed()
Returns whether the left turn on red maneuver is allowed.
boolean isManeuverNoStoppingAllowed()
Returns whether the vehicle should not stop at the stop line.
boolean isManeuverRightAllowed()
Returns whether right turn maneuver is allowed.
boolean isManeuverRightTurnOnRedAllowed()
Returns whether the right turn on red maneuver is allowed.
boolean isManeuverStraightAllowed()
Returns whether straight movement is allowed.
boolean isManeuverUTurnAllowed()
Returns whether the U-turn maneuver is allowed.
boolean isYieldAllwaysRequired()
Returns true if yield is required on all ways.
AllowedManeuvers setCaution(boolean caution)
Sets whether the driver should proceed with caution past the stop line.
AllowedManeuvers setGoWithHalt(boolean goWithHalt)
Sets whether the driver may only proceed after a full stop.
AllowedManeuvers setManeuverLaneChangeAllowed(boolean maneuverLaneChangeAllowed)
Sets whether the lane change maneuver is allowed.
AllowedManeuvers setManeuverLeftAllowed(boolean maneuverLeftAllowed)
Sets whether the left turn maneuver is allowed.
AllowedManeuvers setManeuverLeftTurnOnRedAllowed(boolean maneuverLeftTurnOnRedAllowed)
Sets whether the left turn on red maneuver is allowed.
AllowedManeuvers setManeuverNoStoppingAllowed(boolean maneuverNoStoppingAllowed)
Sets whether the vehicle should not stop at the stop line
AllowedManeuvers setManeuverRightAllowed(boolean maneuverRightAllowed)
Sets whether the right turn maneuver is allowed.
AllowedManeuvers setManeuverRightTurnOnRedAllowed(boolean maneuverRightTurnOnRedAllowed)
Sets whether the right turn on red maneuver is allowed.
AllowedManeuvers setManeuverStraightAllowed(boolean maneuverStraightAllowed)
Sets whether straight movement is allowed.
AllowedManeuvers setManeuverUTurnAllowed(boolean maneuverUTurnAllowed)
Sets whether the U-turn maneuver is allowed.
AllowedManeuvers setYieldAllwaysRequired(boolean yieldAllwaysRequired)
Sets whether yield is required on all ways.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AllowedManeuvers ()

Create a new instance.

Public Methods

public boolean equals (Object o)

public int hashCode ()

public boolean isCaution ()

Returns whether the driver should proceed with caution past the stop line.

Returns
  • true if the driver should proceed with caution past the stop line

public boolean isGoWithHalt ()

Returns whether the driver may only proceed after a full stop.

Returns
  • true if the driver may only proceed after a full stop

public boolean isManeuverLaneChangeAllowed ()

Returns whether the lane change maneuver is allowed.

Returns
  • true if the lane change maneuver is allowed, false otherwise

public boolean isManeuverLeftAllowed ()

Returns whether left turn maneuver is allowed.

Returns
  • true if left turn maneuver is allowed, false otherwise

public boolean isManeuverLeftTurnOnRedAllowed ()

Returns whether the left turn on red maneuver is allowed. Stop, and then proceed when safe movement is allowed in this lane if true.

Returns
  • true if the left turn on red maneuver is allowed, false otherwise

public boolean isManeuverNoStoppingAllowed ()

Returns whether the vehicle should not stop at the stop line.

Returns
  • true if the vehicle should not stop at the stop line

public boolean isManeuverRightAllowed ()

Returns whether right turn maneuver is allowed.

Returns
  • true if right turn maneuver is allowed, false otherwise

public boolean isManeuverRightTurnOnRedAllowed ()

Returns whether the right turn on red maneuver is allowed. Stop, and then proceed when safe movement is allowed in this lane if true.

Returns
  • true if the right turn on red maneuver is allowed, false otherwise

public boolean isManeuverStraightAllowed ()

Returns whether straight movement is allowed.

Returns
  • true if straight movement is allowed, false otherwise

public boolean isManeuverUTurnAllowed ()

Returns whether the U-turn maneuver is allowed.

Returns
  • true if U-turn maneuver is allowed, false otherwise

public boolean isYieldAllwaysRequired ()

Returns true if yield is required on all ways.

Returns
  • true if yield is requiredon all ways, false otherwise

public AllowedManeuvers setCaution (boolean caution)

Sets whether the driver should proceed with caution past the stop line.

Parameters
caution true if the driver should proceed with caution past the stop line.

public AllowedManeuvers setGoWithHalt (boolean goWithHalt)

Sets whether the driver may only proceed after a full stop.

Parameters
goWithHalt true if the driver may only proceed after a full stop

public AllowedManeuvers setManeuverLaneChangeAllowed (boolean maneuverLaneChangeAllowed)

Sets whether the lane change maneuver is allowed.

Parameters
maneuverLaneChangeAllowed true if the lane change maneuver is allowed, false otherwise

public AllowedManeuvers setManeuverLeftAllowed (boolean maneuverLeftAllowed)

Sets whether the left turn maneuver is allowed.

Parameters
maneuverLeftAllowed true if left turn maneuver is allowed, false otherwise

public AllowedManeuvers setManeuverLeftTurnOnRedAllowed (boolean maneuverLeftTurnOnRedAllowed)

Sets whether the left turn on red maneuver is allowed. Stop, and then proceed when safe movement is allowed in this lane if true.

Parameters
maneuverLeftTurnOnRedAllowed true if the left turn on red maneuver is allowed, false otherwise

public AllowedManeuvers setManeuverNoStoppingAllowed (boolean maneuverNoStoppingAllowed)

Sets whether the vehicle should not stop at the stop line

Parameters
maneuverNoStoppingAllowed true if the vehicle should not stop at the stop line

public AllowedManeuvers setManeuverRightAllowed (boolean maneuverRightAllowed)

Sets whether the right turn maneuver is allowed.

Parameters
maneuverRightAllowed true if right turn maneuver is allowed, false otherwise

public AllowedManeuvers setManeuverRightTurnOnRedAllowed (boolean maneuverRightTurnOnRedAllowed)

Sets whether the right turn on red maneuver is allowed. Stop, and then proceed when safe movement is allowed in this lane if true.

Parameters
maneuverRightTurnOnRedAllowed true if the right turn on red maneuver is allowed, false otherwise

public AllowedManeuvers setManeuverStraightAllowed (boolean maneuverStraightAllowed)

Sets whether straight movement is allowed.

Parameters
maneuverStraightAllowed true if straight movement is allowed, false otherwise

public AllowedManeuvers setManeuverUTurnAllowed (boolean maneuverUTurnAllowed)

Sets whether the U-turn maneuver is allowed.

Parameters
maneuverUTurnAllowed true if the U-turn maneuver is allowed, false otherwise

public AllowedManeuvers setYieldAllwaysRequired (boolean yieldAllwaysRequired)

Sets whether yield is required on all ways.

Parameters
yieldAllwaysRequired true if yield is required on all ways, false otherwise

public String toString ()