|
libosmscout 0.1
|
Routing profile. More...
#include <QmlRoutingProfile.h>
Public Types | |
| enum | QmlVehicle : uint8_t { FootVehicle = Vehicle::vehicleFoot , BicycleVehicle = Vehicle::vehicleBicycle , CarVehicle = Vehicle::vehicleCar } |
Signals | |
| void | update () |
Public Member Functions | |
| bool | getJunctionPenalty () const |
| double | getMaxPenalty () const |
| double | getMaxSpeed () const |
| double | getPenaltyDifferentType () const |
| double | getPenaltySameType () const |
| QmlVehicle | getQmlVehicle () const |
| QVariantMap | getSpeedTable () const |
| Vehicle | getVehicle () const |
| RoutingProfileRef | MakeInstance (TypeConfigRef typeConfig) const |
| QmlRoutingProfile & | operator= (const QmlRoutingProfile &other) |
| Q_ENUM (QmlVehicle) | |
| QmlRoutingProfile (const QmlRoutingProfile &other) | |
| Q_INVOKABLE | QmlRoutingProfile (QObject *parent=nullptr) |
| QmlRoutingProfile (Vehicle vehicle) | |
| void | setJunctionPenalty (bool) |
| void | setMaxPenalty (double) |
| void | setMaxSpeed (double) |
| void | setPenaltyDifferentType (double) |
| void | setPenaltySameType (double) |
| void | setSpeedTable (const QVariantMap &) |
| void | setVehicle (QmlVehicle vehicle) |
| ~QmlRoutingProfile () override=default | |
Properties | |
| bool | applyJunctionPenalty =true |
| double | maxPenalty |
| double | maxSpeed =160 |
| double | penaltyDifferentType |
| double | penaltySameType |
| QVariantMap | speedTable |
| QmlVehicle | vehicle =QmlVehicle::CarVehicle |
Routing profile.
| enum osmscout::QmlRoutingProfile::QmlVehicle : uint8_t |
|
explicit |
Referenced by operator=(), QmlRoutingProfile(), update(), and ~QmlRoutingProfile().
|
overridedefault |
References applyJunctionPenalty, CarVehicle, getJunctionPenalty(), getMaxPenalty(), getMaxSpeed(), getPenaltyDifferentType(), getPenaltySameType(), getQmlVehicle(), getSpeedTable(), getVehicle(), osmscout::Kilometers(), MakeInstance(), maxPenalty, maxSpeed, osmscout::Meters(), operator=(), penaltyDifferentType, penaltySameType, QmlRoutingProfile(), setJunctionPenalty(), setMaxPenalty(), setMaxSpeed(), setPenaltyDifferentType(), setPenaltySameType(), setSpeedTable(), setVehicle(), speedTable, and vehicle.
| osmscout::QmlRoutingProfile::QmlRoutingProfile | ( | const QmlRoutingProfile & | other | ) |
References operator=(), and QmlRoutingProfile().
| bool osmscout::QmlRoutingProfile::getJunctionPenalty | ( | ) | const |
References applyJunctionPenalty.
Referenced by ~QmlRoutingProfile().
| double osmscout::QmlRoutingProfile::getMaxPenalty | ( | ) | const |
References maxPenalty.
Referenced by ~QmlRoutingProfile().
| double osmscout::QmlRoutingProfile::getMaxSpeed | ( | ) | const |
References maxSpeed.
Referenced by ~QmlRoutingProfile().
| double osmscout::QmlRoutingProfile::getPenaltyDifferentType | ( | ) | const |
References penaltyDifferentType.
Referenced by ~QmlRoutingProfile().
| double osmscout::QmlRoutingProfile::getPenaltySameType | ( | ) | const |
References penaltySameType.
Referenced by ~QmlRoutingProfile().
| QmlRoutingProfile::QmlVehicle osmscout::QmlRoutingProfile::getQmlVehicle | ( | ) | const |
References vehicle.
Referenced by ~QmlRoutingProfile().
| QVariantMap osmscout::QmlRoutingProfile::getSpeedTable | ( | ) | const |
References speedTable.
Referenced by ~QmlRoutingProfile().
| Vehicle osmscout::QmlRoutingProfile::getVehicle | ( | ) | const |
References vehicle.
Referenced by ~QmlRoutingProfile().
| RoutingProfileRef osmscout::QmlRoutingProfile::MakeInstance | ( | TypeConfigRef | typeConfig | ) | const |
References applyJunctionPenalty, maxPenalty, maxSpeed, penaltyDifferentType, penaltySameType, speedTable, and vehicle.
Referenced by ~QmlRoutingProfile().
| QmlRoutingProfile & osmscout::QmlRoutingProfile::operator= | ( | const QmlRoutingProfile & | other | ) |
References applyJunctionPenalty, maxPenalty, maxSpeed, penaltyDifferentType, penaltySameType, QmlRoutingProfile(), speedTable, update(), and vehicle.
Referenced by QmlRoutingProfile(), and ~QmlRoutingProfile().
| osmscout::QmlRoutingProfile::Q_ENUM | ( | QmlVehicle | ) |
| void osmscout::QmlRoutingProfile::setJunctionPenalty | ( | bool | b | ) |
References applyJunctionPenalty, and update().
Referenced by ~QmlRoutingProfile().
| void osmscout::QmlRoutingProfile::setMaxPenalty | ( | double | d | ) |
References maxPenalty, and update().
Referenced by ~QmlRoutingProfile().
| void osmscout::QmlRoutingProfile::setMaxSpeed | ( | double | d | ) |
References maxSpeed, and update().
Referenced by ~QmlRoutingProfile().
| void osmscout::QmlRoutingProfile::setPenaltyDifferentType | ( | double | d | ) |
References osmscout::Meters(), penaltyDifferentType, and update().
Referenced by ~QmlRoutingProfile().
| void osmscout::QmlRoutingProfile::setPenaltySameType | ( | double | d | ) |
References osmscout::Meters(), penaltySameType, and update().
Referenced by ~QmlRoutingProfile().
| void osmscout::QmlRoutingProfile::setSpeedTable | ( | const QVariantMap & | table | ) |
References osmscout::SolidGrade, and speedTable.
Referenced by ~QmlRoutingProfile().
| void osmscout::QmlRoutingProfile::setVehicle | ( | QmlVehicle | vehicle | ) |
References vehicle.
Referenced by ~QmlRoutingProfile().
|
signal |
References QmlRoutingProfile(), and vehicle.
Referenced by operator=(), setJunctionPenalty(), setMaxPenalty(), setMaxSpeed(), setPenaltyDifferentType(), and setPenaltySameType().
|
readwrite |
Referenced by getJunctionPenalty(), MakeInstance(), operator=(), setJunctionPenalty(), and ~QmlRoutingProfile().
|
readwrite |
Referenced by getMaxPenalty(), MakeInstance(), operator=(), setMaxPenalty(), and ~QmlRoutingProfile().
|
readwrite |
Referenced by getMaxSpeed(), MakeInstance(), operator=(), setMaxSpeed(), and ~QmlRoutingProfile().
|
readwrite |
Referenced by getPenaltyDifferentType(), MakeInstance(), operator=(), setPenaltyDifferentType(), and ~QmlRoutingProfile().
|
readwrite |
Referenced by getPenaltySameType(), MakeInstance(), operator=(), setPenaltySameType(), and ~QmlRoutingProfile().
|
readwrite |
Referenced by getSpeedTable(), MakeInstance(), operator=(), setSpeedTable(), and ~QmlRoutingProfile().
|
readwrite |
Referenced by getQmlVehicle(), getVehicle(), MakeInstance(), operator=(), QmlRoutingProfile(), setVehicle(), update(), and ~QmlRoutingProfile().