class VehicleBehavioursImpl extends VehicleBehaviours
- Alphabetic
- By Inheritance
- VehicleBehavioursImpl
- VehicleBehaviours
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new VehicleBehavioursImpl(vehicleControl: VehicleControl, vertx: Vertx, selfDrivingVehicle: SelfDrivingVehicle, stopUi: VehicleStopView, debugVar: Boolean)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkVehicleAndSetItBroken(): Unit
This method checks the vehicle's state, and if it isn't Stolen, sets it to Broken.
This method checks the vehicle's state, and if it isn't Stolen, sets it to Broken.
- Definition Classes
- VehicleBehavioursImpl → VehicleBehaviours
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- var debugVar: Boolean
- var debugging: Boolean
- var deltaLat: Double
- var deltaLon: Double
- var destinationPosition: Position
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val eventBus: EventBus
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getDebuggingVar(): Boolean
This method is used for retrieve the debugging variable for testing.
This method is used for retrieve the debugging variable for testing.
- returns
The value of the debugging value.
- Definition Classes
- VehicleBehavioursImpl → VehicleBehaviours
-
def
goToRecharge(): Unit
This method is called to start the recharge process of the vehicle.
This method is called to start the recharge process of the vehicle.
- Definition Classes
- VehicleBehavioursImpl → VehicleBehaviours
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
movementAndPositionChange(position: Position): Unit
This models the behaviour of the vehicle's movement and position changing.
This models the behaviour of the vehicle's movement and position changing.
- position
Indicates the final position we want for the vehicle.
- Definition Classes
- VehicleBehavioursImpl → VehicleBehaviours
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
positionChangeUponBooking(userPosition: Position, destinationPosition: Position, notRealisticVar: Boolean): Unit
This method is used when we want the vehicle drives to the user and then to the destination position.
This method is used when we want the vehicle drives to the user and then to the destination position.
- userPosition
Indicates the position of the user.
- destinationPosition
Indicates the destination position for the user.
- notRealisticVar
Setteted to False the execution of the system will be more realistic.
- Definition Classes
- VehicleBehavioursImpl → VehicleBehaviours
- var rechargingLatchManager: RechargingLatchManager
-
def
setTestUserVar(userVar: Boolean): Unit
This method permits to set test variables in order to handle tests.
This method permits to set test variables in order to handle tests.
- userVar
The value of the variable.
- Definition Classes
- VehicleBehavioursImpl → VehicleBehaviours
-
def
setVehicleStolen(): Unit
This method sets the vehicle status to Stolen.
This method sets the vehicle status to Stolen. This state has priority over Broken status.
- Definition Classes
- VehicleBehavioursImpl → VehicleBehaviours
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- var testUserVar: Boolean
- var testVar: Boolean
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- var verticlesTestVar: Boolean
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )