Truck routing profile.
More...
|
| | TruckProfile (int massKg=0, int heightCm=0, int lengthCm=0, int widthCm=0, int axleLoadKg=0) noexcept |
| | Truck profile constructor with predefined FT_Diesel as fuel type.
|
| | TruckProfile (EFuelType fuel, int massKg=0, int heightCm=0, int lengthCm=0, int widthCm=0, int axleLoadKg=0) noexcept |
| | Truck profile constructor.
|
|
bool | operator== (const TruckProfile &p) const |
| | Comparison operator.
|
|
bool | operator!= (const TruckProfile &p) const |
| | Comparison operator.
|
| bool | hasDefaultDimensions () const |
| | Default dimensions checker.
|
|
bool | operator== (const MotorVehicleProfile &p) const |
| | Comparison operator.
|
|
bool | operator!= (const MotorVehicleProfile &p) const |
| | Comparison operator.
|
◆ TruckProfile() [1/2]
| gem::TruckProfile::TruckProfile |
( |
int | massKg = 0, |
|
|
int | heightCm = 0, |
|
|
int | lengthCm = 0, |
|
|
int | widthCm = 0, |
|
|
int | axleLoadKg = 0 ) |
|
inlinenoexcept |
Truck profile constructor with predefined FT_Diesel as fuel type.
- Parameters
-
| massKg | mass in kg |
| heightCm | height in cm |
| lengthCm | length in cm |
| widthCm | width in cm |
| axleLoadKg | axle load in kg |
◆ TruckProfile() [2/2]
| gem::TruckProfile::TruckProfile |
( |
EFuelType | fuel, |
|
|
int | massKg = 0, |
|
|
int | heightCm = 0, |
|
|
int | lengthCm = 0, |
|
|
int | widthCm = 0, |
|
|
int | axleLoadKg = 0 ) |
|
inlinenoexcept |
Truck profile constructor.
- Parameters
-
| fuel | fuel type |
| massKg | mass in kg |
| heightCm | height in cm |
| lengthCm | length in cm |
| widthCm | width in cm |
| axleLoadKg | axle load in kg |
◆ hasDefaultDimensions()
| bool gem::TruckProfile::hasDefaultDimensions |
( |
| ) |
const |
|
inline |
Default dimensions checker.
- Returns
- true if all dimensions are default ( i.e. height, length, width, axle load and mass are 0 )
◆ axleLoad
| int gem::TruckProfile::axleLoad |
Truck max mass / axle in kg. By default it is 0 and is not considered in routing
◆ fuel
Engine fuel type. Default is petrol
◆ height
| int gem::TruckProfile::height |
Truck height in cm. By default it is 0 and is not considered in routing
◆ length
| int gem::TruckProfile::length |
Truck length in cm. By default it is 0 and is not considered in routing
◆ mass
| int gem::MotorVehicleProfile::mass |
|
inherited |
Vehicle mass in kg. By default it is 0 and is not considered in routing
◆ maxSpeed
| double gem::MotorVehicleProfile::maxSpeed |
|
inherited |
Vehicle max speed im m/s. By default it is 0. and is not considered in routing
◆ plateNumber
| String gem::VehicleRegistration::plateNumber |
|
inherited |
◆ width
| int gem::TruckProfile::width |
Truck width in cm. By default it is 0 and is not considered in routing