VisioDevKit-Sample  v2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
VgMySimulatedLocationProvider Class Reference

Simulates a Positioning System. More...

Inherits <NSObject>.

Instance Methods

(id) - initWithApplication:withLayerAndCameraHandler:
 
(void) - enable
 
(void) - disable
 
(bool) - isEnabled
 
(void) - setListener:
 
(void) - fireSimulatedPosition:
 

Protected Attributes

NSTimer * mSimulationTimer
 
VgApplication::VgIApplication * mVgApplication
 
VgMyLayerAndCameraHandlermLayerAndCameraHandler
 
VgMyLocationListenermListener
 

Detailed Description

Simulates a Positioning System.

Its uses the camera as the "position provider".

Note
A true Positioning System would not need the VgMyLayerAndCameraHandler member

Method Documentation

- (void) disable
- (void) enable
- (void) fireSimulatedPosition: (NSTimer *)  pTimer
- (id) initWithApplication: (VgApplication::VgIApplication *)  pVgApplication
withLayerAndCameraHandler: (VgMyLayerAndCameraHandler *)  pHandler 
- (bool) isEnabled
- (void) setListener: (VgMyLocationListener *)  pListener

Member Data Documentation

- (VgMyLayerAndCameraHandler*) mLayerAndCameraHandler
protected
- (VgMyLocationListener*) mListener
protected
- (NSTimer*) mSimulationTimer
protected
- VgApplication:
protected

The documentation for this class was generated from the following file:
VisioDevKit 2.0, Visioglobe® 2013