KOSMIndoorMap
6#ifndef KOSMINDOORROUTING_ROUTINGPROFILE_H
7#define KOSMINDOORROUTING_ROUTINGPROFILE_H
9#include "kosmindoorrouting_export.h"
10#include "routingarea.h"
12#include <QExplicitlySharedDataPointer>
13#include <qobjectdefs.h>
15namespace KOSMIndoorRouting {
17class RoutingProfilePrivate;
22class KOSMINDOORROUTING_EXPORT RoutingProfile
25 Q_PROPERTY(KOSMIndoorRouting::AreaFlags flags READ flags WRITE setFlags)
27 explicit RoutingProfile();
29 RoutingProfile(
const RoutingProfile&);
30 RoutingProfile(RoutingProfile&&)
noexcept;
31 RoutingProfile& operator=(
const RoutingProfile&);
32 RoutingProfile& operator=(RoutingProfile&&)
noexcept;
34 [[nodiscard]]
bool operator==(
const RoutingProfile &other)
const;
37 [[nodiscard]] AreaFlags flags()
const;
38 void setFlags(AreaFlags flags);
41 Q_INVOKABLE [[nodiscard]]
float cost(KOSMIndoorRouting::AreaType area)
const;
42 Q_INVOKABLE
void setCost(KOSMIndoorRouting::AreaType area,
float cost);
Q_INVOKABLE float cost(KOSMIndoorRouting::AreaType area) const
Cost factors (>= 1.0) for each area type that is included in the search.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:42 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.