Package-level declarations

Contains the base classes for vehicle properties, such as VehicleProperty and PropertyId. The property is used for representing information about a vehicle and its state (e.g., weight, type, fuel level, etc.). It is also used for updating vehicle state via VehicleProvider.updateVehicleProperties

Types

Link copied to clipboard

Represents CargoCapable.adrTunnelRestrictionCode property of the Vehicle model.

Link copied to clipboard
data class AxleWeightProperty(val axleWeight: Weight) : VehicleProperty

Represents VehicleDimensions.axleWeight property of the Vehicle model.

Link copied to clipboard

Represents CombustionEngine property of the Vehicle model.

Link copied to clipboard

Represents ElectricEngine property of the Vehicle model.

Link copied to clipboard
data class HazmatClassesProperty(val hazmatClasses: Set<HazmatClass>) : VehicleProperty

Represents the CargoCapable.hazmatClasses property of the Vehicle model.

Link copied to clipboard
data class HeightProperty(val height: Distance) : VehicleProperty

Represents VehicleDimensions.height property of the Vehicle model.

Link copied to clipboard
data class IsCommercialProperty(val isCommercial: Boolean) : VehicleProperty

Represents Motorized.isCommercial property of the Vehicle model.

Link copied to clipboard
data class LengthProperty(val length: Distance) : VehicleProperty

Represents VehicleDimensions.length property of the Vehicle model.

Link copied to clipboard
data class MaxSpeedProperty(val maxSpeed: Speed) : VehicleProperty

Represents maxSpeed property of the Vehicle model.

Link copied to clipboard
value class PropertyId

Unique identifier of each property of the Vehicle model.

Link copied to clipboard
interface VehicleProperty

Trait interface for vehicle properties.

Link copied to clipboard
data class WeightProperty(val weight: Weight) : VehicleProperty

Represents VehicleDimensions.weight property of the Vehicle model.

Link copied to clipboard
data class WidthProperty(val width: Distance) : VehicleProperty

Represents VehicleDimensions.width property of the Vehicle model.