t

com.wedriveu.vehicle.control

VehicleControl

trait VehicleControl extends AnyRef

This models the control part of the vehicle.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VehicleControl
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract 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.

  2. abstract 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.

  3. abstract 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.

  4. abstract 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.

  5. abstract 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.

  6. abstract 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.

  7. abstract def setUserOnBoard(userOnBoard: 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.

    userOnBoard

    True if the user is on board, False otherwise.

  8. abstract 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.

  9. abstract def startVehicleEngine(): Unit

    This starts the engine of the vehicle, initializing the communication infrastructure.

  10. abstract def subscribeToBrokenEvents(): Unit

    This method permits, at configurator will, to pick up Vehicle Broken events.

  11. abstract def subscribeToStolenEvents(): Unit

    This method permits, at configurator will, to pick up Vehicle Stolen events.

  12. abstract def unsubscribeToBrokenEvents(): Unit

    This method permits to unsubsribe the control system to vehicle broken events.

  13. abstract def unsubscribeToStolenEvents(): Unit

    This method permits to unsubsribe the control system to vehicle stolen events.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped