1#ifndef OSMSCOUT_CLIENT_QT_QMLROUTINGPROFILE_H
2#define OSMSCOUT_CLIENT_QT_QMLROUTINGPROFILE_H
108 std::map<std::string,SpeedVariant>
speedTable;
111 double costLimitFactor=7.5;
114 std::chrono::seconds
maxPenalty=std::chrono::seconds(10);
#define OSMSCOUT_CLIENT_QT_API
Definition ClientQtImportExport.h:45
Q_INVOKABLE QmlRoutingProfile(QObject *parent=nullptr)
double penaltyDifferentType
Definition QmlRoutingProfile.h:52
double getPenaltySameType() const
void setSpeedTable(const QVariantMap &)
double getPenaltyDifferentType() const
QmlVehicle
Definition QmlRoutingProfile.h:59
@ FootVehicle
Definition QmlRoutingProfile.h:60
@ BicycleVehicle
Definition QmlRoutingProfile.h:61
@ CarVehicle
Definition QmlRoutingProfile.h:62
void setMaxPenalty(double)
Vehicle getVehicle() const
QmlVehicle getQmlVehicle() const
QVariantMap speedTable
Definition QmlRoutingProfile.h:46
bool applyJunctionPenalty
Definition QmlRoutingProfile.h:48
double getMaxSpeed() const
double maxSpeed
Definition QmlRoutingProfile.h:45
~QmlRoutingProfile() override=default
QmlRoutingProfile & operator=(const QmlRoutingProfile &other)
RoutingProfileRef MakeInstance(TypeConfigRef typeConfig) const
double maxPenalty
Definition QmlRoutingProfile.h:54
QmlRoutingProfile(const QmlRoutingProfile &other)
QVariantMap getSpeedTable() const
void setPenaltyDifferentType(double)
double penaltySameType
Definition QmlRoutingProfile.h:50
void setPenaltySameType(double)
double getMaxPenalty() const
void setVehicle(QmlVehicle vehicle)
void setJunctionPenalty(bool)
QmlRoutingProfile(Vehicle vehicle)
bool getJunctionPenalty() const
QmlVehicle vehicle
Definition QmlRoutingProfile.h:44
std::shared_ptr< TypeConfig > TypeConfigRef
Definition TypeConfig.h:1396
Distance Meters(double m)
Definition Distance.h:358
std::shared_ptr< RoutingProfile > RoutingProfileRef
Definition RoutingProfile.h:182
Distance Kilometers(double km)
Definition Distance.h:362
std::shared_ptr< QmlRoutingProfile > QmlRoutingProfileRef
Definition QmlRoutingProfile.h:117
Vehicle
Definition OSMScoutTypes.h:55
@ vehicleBicycle
Definition OSMScoutTypes.h:57
@ vehicleFoot
Definition OSMScoutTypes.h:56
@ vehicleCar
Definition OSMScoutTypes.h:58