A Route contains information about the best way to maneuver between a series of Stops. More...
Member Function Documentation Route::Route()Default constructor.
Warning: This is for convenience only and will construct an empty object.
Route::Route(const Esri::ArcGISRuntime::Route &other)Copy constructor from other Route.
[noexcept]
Route::Route(Esri::ArcGISRuntime::Route &&other)
Move constructor from other Route.
[noexcept]
Route::~Route()
Destructor.
double Route::cost(const QString &attributeName) constReturns the cost of a given attributeName.
Example attribute names include "Minutes" or "TravelTime".
Esri::ArcGISRuntime::DirectionManeuverListModel *Route::directionManeuvers(QObject *parent = nullptr) constReturns a DirectionManeuverListModel of the direction maneuvers.
Specify an optional parent to ensure that the list model persists if you want it to have lifetime beyond this Route object.
QDateTime Route::endTime() constReturns the end time of a Route in UTC time.
double Route::endTimeShift() constReturns the value of time zone shift for end time in minutes.
bool Route::isEmpty() constReturns true
if this Route is empty.
Returns the Route geometry that connects the various Stops.
QString Route::routeName() constReturns the name of the Route.
QDateTime Route::startTime() constReturns the start time of a Route in UTC time.
double Route::startTimeShift() constReturns the value of time zone shift for start time in minutes.
QList<Esri::ArcGISRuntime::Stop> Route::stops() constReturns a list of Stops used in this Route.
Only applicable if RouteParameters::isReturnStops used in the associated RouteTask is true
.
Returns the total length (distance).
The returned value's units is in meters.
double Route::totalTime() constReturns the total time in minutes.
This includes any travel time, time spent waiting at stops (arriving before the start of a time window), and service time at stops.
double Route::travelTime() constReturns the travel time in minutes.
This only includes time of travel.
double Route::violationTime() constReturns the violation time in minutes.
This includes the total amount of additional time incurred due to time window violations.
double Route::waitTime() constReturns the wait time in minutes.
This includes the total amount of additional time incurred due to waiting at time windows.
[noexcept]
Esri::ArcGISRuntime::Route &Route::operator=(Esri::ArcGISRuntime::Route &&other)
Move operator from other Route.
Esri::ArcGISRuntime::Route &Route::operator=(const Esri::ArcGISRuntime::Route &other)Assignment operator from other Route.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4