VisioMove
2.1.5
|
The VgINavigationListener allow users to be notified of Navigation related events that occur within a VgINavigation Object where the listener has been registered. More...
Public Member Functions | |
virtual double | getLength () const =0 |
Gets the distance between start of this instruction to the start of the next instruction. More... | |
virtual VgManeuverType | getManeuverType () const =0 |
Gets the maneuver type to perform at end of the instruction. More... | |
virtual const std::string & | getLayer () const =0 |
Gets the layer name of the instruction. More... | |
virtual float | getHeight () const =0 |
Gets the height of the instruction in meters. More... | |
virtual const std::string & | getModality () const =0 |
Gets the name of the used modality. More... | |
virtual float | getTime () const =0 |
Gets the time (not duration) relative to full route start. More... | |
virtual float | getTotalTime () const =0 |
Gets the total duration of the route. More... | |
virtual float | getETA () const =0 |
Gets the estimated remaining time in seconds (at start of this instruction). More... | |
virtual float | getDuration () const =0 |
Gets the duration. More... | |
virtual unsigned int | getIndex () const =0 |
Gets the index of the instruction, the index is 0-based, thus always less than VgINavigation->getNumInstructions(). More... | |
virtual const VgEngine::VgPosition & | getPosition () const =0 |
Gets the position of the start of the instruction. More... | |
virtual const std::vector < VgNearPlace > | getNearPlaces () const =0 |
Get the PlaceIDs of places near the end of the instruction. More... | |
virtual bool | isEndOrTransitionPoint () const =0 |
virtual const std::vector < VgEngine::VgPosition > & | getInstructionPositions () const =0 |
Returns all the intermediate positions of the instruction. More... | |
virtual const std::set < std::string > & | getAttributes () const =0 |
Returns all the attributes of the traversed edges in a std::set. More... | |
virtual unsigned int | getDestinationIndex () const =0 |
Gets the index of the current destination instruction, the index is 0-based, thus always less than VgINavigation->getNumInstructions(). More... | |
![]() | |
VgReferenced () | |
Constructor. More... | |
VgReferenced (const VgReferenced &pThis) | |
Copy constructor. More... | |
virtual | ~VgReferenced () |
Destructor. More... | |
VgReferenced & | operator= (const VgReferenced &pThis) |
Assignment operator. More... | |
void | ref () const |
This method is used to add a reference to this object. More... | |
int | unref () const |
This method is used to remove a reference to this object. More... | |
int | getNbReferences () const |
Retrieves the number of references to this object. More... | |
Additional Inherited Members | |
![]() | |
int | mNbReferences |
The number of references to this object. More... | |
The VgINavigationListener allow users to be notified of Navigation related events that occur within a VgINavigation Object where the listener has been registered.
|
pure virtual |
Returns all the attributes of the traversed edges in a std::set.
|
pure virtual |
Gets the index of the current destination instruction, the index is 0-based, thus always less than VgINavigation->getNumInstructions().
|
pure virtual |
Gets the duration.
|
pure virtual |
Gets the estimated remaining time in seconds (at start of this instruction).
|
pure virtual |
Gets the height of the instruction in meters.
This is the same as getting the layer name and using VgMapModule::getHeightRangeForLayer() and taking the average.
|
pure virtual |
Gets the index of the instruction, the index is 0-based, thus always less than VgINavigation->getNumInstructions().
|
pure virtual |
Returns all the intermediate positions of the instruction.
|
pure virtual |
Gets the layer name of the instruction.
|
pure virtual |
Gets the distance between start of this instruction to the start of the next instruction.
|
pure virtual |
Gets the maneuver type to perform at end of the instruction.
|
pure virtual |
Gets the name of the used modality.
|
pure virtual |
Get the PlaceIDs of places near the end of the instruction.
This information is useful to complement the navigation instructions. They are ordered by places that are closests to the inside of turns for natural guidance. The number of places available will be a function of the value of VgModalityParameterType::eNearPlacesThreshold at the time the navigation instructions where computed. It may be empty if there are no places that are closer than VgModalityParameterType::eNearPlacesThreshold.
|
pure virtual |
Gets the position of the start of the instruction.
|
pure virtual |
Gets the time (not duration) relative to full route start.
|
pure virtual |
Gets the total duration of the route.
|
pure virtual |