VisioDevKit-Sample
v2.0
|
Used for receiving notifications from the VgMyLocationManager when the location has changed. More...
Public Member Functions | |
virtual void | notifyPositionDidChange (const std::string &pProvider, const VgEngine::VgPosition &pPosition)=0 |
Called when the location has changed. More... | |
virtual void | notifyFloorDidChange (const std::string &pProvider, const std::string &pFloor)=0 |
Called when the floor has changed. More... | |
virtual void | notifyAccuracyDidChange (const std::string &pProvider, double pAccuracy)=0 |
Called when the accuracy has changed. More... | |
virtual void | notifyContextDidChange (const std::string &pProvider, int pContext)=0 |
Called when the context has changed. More... | |
virtual void | notifyHeadingDidChange (const std::string &pProvider, double pHeading)=0 |
Called when the heading has changed. More... | |
virtual void | notifyStatusDidChange (const std::string &pProvider, int pStatus)=0 |
Called when the status has changed. More... | |
virtual void | notifyLocationProviderEnabled (const std::string &pProvider)=0 |
Called when the provider is enabled. More... | |
virtual void | notifyLocationProviderDisabled (const std::string &pProvider)=0 |
Called when the provider is disabled. More... | |
Protected Member Functions | |
virtual | ~VgMyLocationListener () |
Used for receiving notifications from the VgMyLocationManager when the location has changed.
These methods are called if the VgMyLocationListener has been registered with the location manager service using the method, addListener().
|
inlineprotectedvirtual |
|
pure virtual |
Called when the accuracy has changed.
pProvider | The location provider responsible for sending the notification. |
pAccuracy | The new accuracy |
Implemented in VgMyPositionTracker, VgMyLocationManager, VgMyAvatarDisplay, and VgMyAvatarDiscDisplay.
|
pure virtual |
Called when the context has changed.
pProvider | The location provider responsible for sending the notification. |
pContext | The new context |
Implemented in VgMyPositionTracker, VgMyLocationManager, VgMyAvatarDisplay, and VgMyAvatarDiscDisplay.
|
pure virtual |
Called when the floor has changed.
pProvider | The location provider responsible for sending the notification. |
pFloor | The new floor |
Implemented in VgMyPositionTracker, VgMyLocationManager, VgMyAvatarDisplay, and VgMyAvatarDiscDisplay.
|
pure virtual |
Called when the heading has changed.
Heading is the horizontal direction of travel of this device, and is not related to the device orientation.
pProvider | The location provider responsible for sending the notification. |
pHeading | The new heading. The valid range for the heading is [0.0, 360.0]. Where 0.0 is North, and increasing values starts towards the East. |
Implemented in VgMyPositionTracker, VgMyLocationManager, VgMyAvatarDisplay, and VgMyAvatarDiscDisplay.
|
pure virtual |
Called when the provider is disabled.
pProvider | The location provider responsible for sending the notification. |
Implemented in VgMyPositionTracker, VgMyLocationManager, VgMyAvatarDisplay, and VgMyAvatarDiscDisplay.
|
pure virtual |
Called when the provider is enabled.
pProvider | The location provider responsible for sending the notification. |
Implemented in VgMyPositionTracker, VgMyLocationManager, VgMyAvatarDisplay, and VgMyAvatarDiscDisplay.
|
pure virtual |
Called when the location has changed.
pProvider | The location provider responsible for sending the notification |
pPosition | The new position |
Implemented in VgMyPositionTracker, VgMyLocationManager, VgMyAvatarDisplay, and VgMyAvatarDiscDisplay.
|
pure virtual |
Called when the status has changed.
pProvider | The location provider responsible for sending the notification. |
pStatus | The new status. See for available values. |
Implemented in VgMyPositionTracker, VgMyLocationManager, VgMyAvatarDisplay, and VgMyAvatarDiscDisplay.