VisioMove-Sample  2.1.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
VgMyNavigationLocationProvider Class Reference

VgMyNavigationLocationProvider provides the position that is the closest to the navigation path, given a physical location. More...

Inheritance diagram for VgMyNavigationLocationProvider:
Inheritance graph

Public Member Functions

 VgMyNavigationLocationProvider (VgEngine::VgRefPtr< VgNavigationModule::VgINavigation > pNavigation)
 
 ~VgMyNavigationLocationProvider ()
 
void notifyPositionUpdated (VgEngine::VgConstRefPtr< VgNavigationModule::VgINavigation > const &pNavigation, const VgEngine::VgPosition &, double)
 
void notifyNewInstruction (VgEngine::VgConstRefPtr< VgNavigationModule::VgINavigation > const &pNavigation, unsigned int)
 
std::string getName ()
 Returns the name of the provider. More...
 
void enable ()
 Requests provider starts sending location notifications. More...
 
void disable ()
 Requests provider stops sending location notifications. More...
 
bool isEnabled ()
 Returns true if the provider is enabled. More...
 
bool supportsPosition ()
 Returns true if the provider supports position updates. More...
 
bool supportsAccuracy ()
 Returns true if the provider supports accuracy updates. More...
 
bool supportsContext ()
 Returns true if the provider supports context updates. More...
 
bool supportsFloor ()
 Returns true if the provider supports floor updates. More...
 
bool supportsHeading ()
 Returns true if the provider supports heading updates. More...
 
- Public Member Functions inherited from VgMyLocationProvider
virtual ~VgMyLocationProvider ()
 

Additional Inherited Members

- Public Types inherited from VgMyLocationProvider
enum  { AVAILABLE = 0, OUT_OF_SERVICE, TEMPORARILY_UNAVAILABLE, LOCATION_SERVICES_REQUIRE_AUTHORISATION }
 

Detailed Description

VgMyNavigationLocationProvider provides the position that is the closest to the navigation path, given a physical location.

The physical location are received via the VgINavigation object, because it registers itself as a listener (VgINavigationListener).

Note: VgMyNavigationLocationProvider inherits from VgNavigationModule::VgINavigationListener which is a VgRefPtr object, so any references to this class must also be via VgRefPtr.

Position updates are sent in the metric spatial reference system.

Constructor & Destructor Documentation

VgMyNavigationLocationProvider::VgMyNavigationLocationProvider ( VgEngine::VgRefPtr< VgNavigationModule::VgINavigation >  pNavigation)
VgMyNavigationLocationProvider::~VgMyNavigationLocationProvider ( )

Member Function Documentation

void VgMyNavigationLocationProvider::disable ( )
virtual

Requests provider stops sending location notifications.

If provider is registered with the location manager, a notifyLocationProviderDisabled() will be broadcast to associated listeners.

Implements VgMyLocationProvider.

void VgMyNavigationLocationProvider::enable ( )
virtual

Requests provider starts sending location notifications.

If provider is registered with the location manager, a notifyLocationProviderEnabled() will be broadcast to associated listeners

Implements VgMyLocationProvider.

std::string VgMyNavigationLocationProvider::getName ( )
virtual

Returns the name of the provider.

Implements VgMyLocationProvider.

bool VgMyNavigationLocationProvider::isEnabled ( )
virtual

Returns true if the provider is enabled.

Implements VgMyLocationProvider.

void VgMyNavigationLocationProvider::notifyNewInstruction ( VgEngine::VgConstRefPtr< VgNavigationModule::VgINavigation > const &  pNavigation,
unsigned  int 
)
void VgMyNavigationLocationProvider::notifyPositionUpdated ( VgEngine::VgConstRefPtr< VgNavigationModule::VgINavigation > const &  pNavigation,
const VgEngine::VgPosition &  ,
double   
)
bool VgMyNavigationLocationProvider::supportsAccuracy ( )
virtual

Returns true if the provider supports accuracy updates.

Implements VgMyLocationProvider.

bool VgMyNavigationLocationProvider::supportsContext ( )
virtual

Returns true if the provider supports context updates.

Implements VgMyLocationProvider.

bool VgMyNavigationLocationProvider::supportsFloor ( )
virtual

Returns true if the provider supports floor updates.

Implements VgMyLocationProvider.

bool VgMyNavigationLocationProvider::supportsHeading ( )
virtual

Returns true if the provider supports heading updates.

Implements VgMyLocationProvider.

bool VgMyNavigationLocationProvider::supportsPosition ( )
virtual

Returns true if the provider supports position updates.

Implements VgMyLocationProvider.


The documentation for this class was generated from the following file:
VisioMove 2.1.5, Visioglobe® 2015