VgIRoute represents a route object
VgRoutingModule::VgIRoute::VgIRoute |
( |
| ) |
|
|
inlineprotected |
virtual VgRoutingModule::VgIRoute::~VgIRoute |
( |
| ) |
|
|
inlinevirtual |
virtual const std::vector< int >& VgRoutingModule::VgIRoute::getDestinationIndices |
( |
| ) |
|
|
pure virtual |
- Returns
- vector of destination indices corresponding to the actual visit order of destinations with relation to the route request order. Its size will always be >= 1.
- Version
- 2.1.8
Referenced by ~VgIRoute().
virtual double VgRoutingModule::VgIRoute::getDuration |
( |
| ) |
const |
|
pure virtual |
- Returns
- the route duration in seconds
- Version
- 2.1.2
Referenced by ~VgIRoute().
virtual double VgRoutingModule::VgIRoute::getLength |
( |
| ) |
const |
|
pure virtual |
- Returns
- the route length in meters
- Version
- 1.1.6926
Referenced by ~VgIRoute().
Returns the parameters with which the route was computed. It can be used in conjunction with getDestinationIndices() to determine the real order the destinations will be visited, the first destination will be: route->getRouteRequestParamters().mDestinations[route->getDestinationIndices()[0]]
- Returns
- VgIRouteRequestParameters with which the route was computed. The mCallback will be NULLed to avoid circular dependencies.
- Version
- 2.1.8
Referenced by ~VgIRoute().
The documentation for this interface was generated from the following file: