public class VgINavigationListener extends VgReferenced
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
void |
notifyNewInstruction(VgINavigationConstRefPtr pNavigation,
long pIndex)
This method is called when a new position is close to a new segment on the navigation and when a new
navigation instruction is more appropriate
|
void |
notifyPositionUpdated(VgINavigationConstRefPtr pNavigation,
VgPosition pPosition,
double pTime)
This method is called every time a position is injected into the VgINavigation object.
|
void |
swigReleaseOwnership() |
void |
swigTakeOwnership() |
getNbReferences, ref, unrefpublic void delete()
delete in class VgReferencedpublic void swigReleaseOwnership()
public void swigTakeOwnership()
public void notifyPositionUpdated(VgINavigationConstRefPtr pNavigation, VgPosition pPosition, double pTime)
pNavigation - The source of the event.pPosition - New position of the userpTime - Time corresponding to when the position was acquired.public void notifyNewInstruction(VgINavigationConstRefPtr pNavigation, long pIndex)
pNavigation - The source of the event.pIndex - The index of the instruction. The index can be used to retrieve the instruction via the
VgINavigation::getInstruction() method.