|
libosmscout 1.1.1
|
#include <libosmscout-client-qt/include/osmscoutclientqt/QmlRoutingProfile.h>


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