class VehicleControlImpl extends VehicleControl
- Alphabetic
- By Inheritance
- VehicleControlImpl
- VehicleControl
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new VehicleControlImpl(vertx: Vertx, imageUrl: String, description: String, licence: String, state: String, position: Position, battery: Double, speed: Double, 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
- val awaiting: String
-
def
changePositionUponBooking(userPosition: Position, destinationPosition: Position, notRealisticVar: Boolean): Unit
This method should be called when a booking request arrive from the service.
This method should be called when a booking request arrive from the service.
- userPosition
Indicates the user position.
- destinationPosition
Indicates the destination position for the user.
- notRealisticVar
Setteted to False the execution of the system will be more realistic.
- Definition Classes
- VehicleControlImpl → VehicleControl
- var channel: Channel
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- var connection: Connection
- var debugVar: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBehavioursControl(): VehicleBehaviours
This method permits to retrieve the behaviours control of the system
This method permits to retrieve the behaviours control of the system
- returns
The behaviours instance.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getUserOnBoard(): Boolean
This method permits to retrieve the variable which indicates if the user is on board or not.
This method permits to retrieve the variable which indicates if the user is on board or not.
- returns
True if the user is on board, False otherwise.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
def
getUsername: String
This method permits to retrieve the username of the user associated to this vehicle.
This method permits to retrieve the username of the user associated to this vehicle.
- returns
The username of the user.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
def
getVehicle(): SelfDrivingVehicle
This is usefull to get the vehicle for retrieve vehicle informations.
This is usefull to get the vehicle for retrieve vehicle informations.
- returns
Returns the instance of the vehicle.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
def
goToDestination(position: Position): Unit
This method permits to execute the behaviour "Change Position".
This method permits to execute the behaviour "Change Position".
- position
The position to reach.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var kilometersToDo: Double
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val received: String
-
def
setUserOnBoard(newUserOnBoard: Boolean): Unit
This method permits to set the internal variable if the user is on board or not.
This method permits to set the internal variable if the user is on board or not.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
def
setUsername(newUsername: String): Unit
This method permits to define the username of the user associated to this vehicle.
This method permits to define the username of the user associated to this vehicle.
- newUsername
This indicates the new username to set.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
def
startVehicleEngine(): Unit
This starts the engine of the vehicle, initializing the communication infrastructure.
This starts the engine of the vehicle, initializing the communication infrastructure.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
def
subscribeToBrokenEvents(): Unit
This method permits, at configurator will, to pick up Vehicle Broken events.
This method permits, at configurator will, to pick up Vehicle Broken events.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
def
subscribeToStolenEvents(): Unit
This method permits, at configurator will, to pick up Vehicle Stolen events.
This method permits, at configurator will, to pick up Vehicle Stolen events.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unsubscribeToBrokenEvents(): Unit
This method permits to unsubsribe the control system to vehicle broken events.
This method permits to unsubsribe the control system to vehicle broken events.
- Definition Classes
- VehicleControlImpl → VehicleControl
-
def
unsubscribeToStolenEvents(): Unit
This method permits to unsubsribe the control system to vehicle stolen events.
This method permits to unsubsribe the control system to vehicle stolen events.
- Definition Classes
- VehicleControlImpl → VehicleControl
- var userOnBoard: Boolean
- var username: String
- val vehicleBehaviours: VehicleBehaviours
- val vehicleEventsObservables: VehicleEventsObservables
- val vehicleGiven: SelfDrivingVehicle
- var vehicleVerticleArrivedNotify: VehicleVerticleArrivedNotifyImpl
- var vehicleVerticleBook: VehicleVerticleBookImpl
- var vehicleVerticleCanDrive: VehicleVerticleCanDriveImpl
- var vehicleVerticleDriveCommand: VehicleVerticleDriveCommandImpl
- var vehicleVerticleForUser: VehicleVerticleForUserImpl
- var vehicleVerticleRegister: VehicleVerticleRegisterImpl
- var vehicleVerticleUpdate: VehicleVerticleUpdateImpl
-
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( ... )