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

Displays the navigation instructions and way to jump from previous or next ones. More...

Inherits UIView.

Instance Methods

(IBAction) - nextInstruction:
 
(IBAction) - prevInstruction:
 
(IBAction) - clearRoute:
 
(void) - updateManeuverWithType:
 
(void) - notifyPositionUpdated:withPosition:withTime:
 
(void) - notifyNewInstruction:withIndex:
 
(id) - initWithFrame:withApplication:withUpdateListener:
 
(void) - setInstruction:withNavigation:
 

Protected Attributes

BOOL mIsIPad
 
IBOutlet UILabel * mInstructionLabel
 
IBOutlet UILabel * mInstructionLabelDetail
 Brief instruction. More...
 
IBOutlet UILabel * mDistance
 Detailed instruction. More...
 
IBOutlet UILabel * mXofYLabel
 
IBOutlet UIView * mInstructionView
 
IBOutlet UIImageView * mInstructionManeuverType
 
IBOutlet UIButton * mNextInstruction
 
IBOutlet UIButton * mPrevInstruction
 
VgApplication::VgIApplication * mVgApplication
 
VgEngine::VgConstRefPtr
< VgNavigationModule::VgINavigationInstruction > 
mInstruction
 
VgMyInstructionUpdateListenermUpdateListener
 
VgMapModule::VgIMapModule * mMapModule
 
int mCurrentLocaleTranslateID
 

Properties

UILabel * mInstructionLabel
 
UILabel * mInstructionLabelDetail
 
UILabel * mDistance
 
UILabel * mXofYLabel
 
UIView * mInstructionView
 
UIImageView * mInstructionManeuverType
 
UIButton * mNextInstruction
 
UIButton * mPrevInstruction
 

Detailed Description

Displays the navigation instructions and way to jump from previous or next ones.

You can also customized class and use it to display the full list of instructions.

Method Documentation

- (IBAction) clearRoute: (id)  sender
- (id) initWithFrame: (CGRect)  frame
withApplication: (VgApplication::VgIApplication *)  pVgApplication
withUpdateListener: (VgMyInstructionUpdateListener *)  pUpdateListener 
- (IBAction) nextInstruction: (id)  sender
- (void) notifyNewInstruction: (VgEngine::VgConstRefPtr< VgNavigationModule::VgINavigation >const &)  pNavigation
withIndex: (unsigned int)  pIndex 
- (void) notifyPositionUpdated: (VgEngine::VgConstRefPtr< VgNavigationModule::VgINavigation >const &)  pNavigation
withPosition: (const VgEngine::VgPosition &)  pPosition
withTime: (double)  pTime 
- (IBAction) prevInstruction: (id)  sender
- (void) setInstruction: (VgEngine::VgConstRefPtr< VgNavigationModule::VgINavigationInstruction > &)  pNavigationInstruction
withNavigation: (VgEngine::VgConstRefPtr< VgNavigationModule::VgINavigation >const &)  pNavigation 
- (void) updateManeuverWithType: (unsigned int)  maneuverType

Member Data Documentation

- (int) mCurrentLocaleTranslateID
protected
- (IBOutlet UILabel*) mDistance
protected

Detailed instruction.

- VgEngine:
protected
- (IBOutlet UILabel*) mInstructionLabel
protected
- (IBOutlet UILabel*) mInstructionLabelDetail
protected

Brief instruction.

- (IBOutlet UIImageView*) mInstructionManeuverType
protected
- (IBOutlet UIView*) mInstructionView
protected
- (BOOL) mIsIPad
protected
- VgMapModule:
protected
- (IBOutlet UIButton*) mNextInstruction
protected
- (IBOutlet UIButton*) mPrevInstruction
protected
- (VgMyInstructionUpdateListener*) mUpdateListener
protected
- VgApplication:
protected
- (IBOutlet UILabel*) mXofYLabel
protected

Property Documentation

- (UILabel*) mDistance
readwriteatomicretain
- (UILabel*) mInstructionLabel
readwriteatomicretain
- (UILabel*) mInstructionLabelDetail
readwriteatomicretain
- (UIImageView*) mInstructionManeuverType
readwriteatomicretain
- (UIView*) mInstructionView
readwriteatomicretain
- (UIButton*) mNextInstruction
readwriteatomicretain
- (UIButton*) mPrevInstruction
readwriteatomicretain
- (UILabel*) mXofYLabel
readwriteatomicretain

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