Public Member Functions | Protected Member Functions

VgRoutingModule::VgIRoutingSolver Interface Reference

VgIRoutingSolver will calculate a route between several waypoints. More...

List of all members.

Public Member Functions

virtual ~VgIRoutingSolver ()
 Destructor.
virtual VgIRouteRequestcomputeRoute (VgIRouteRequestParameters *pParameters)=0
 Computes a route given some parameters.
virtual VgEngine::VgRefPtr
< VgRoutingModule::VgIRoutingNode
getRoutingNode (const VgEngine::VgPosition &pPosition) const =0
 Gets the closest node to a given position.
virtual VgEngine::VgRefPtr
< VgRoutingModule::VgIRoutingNode
getRoutingNode (const std::string &pPoiID) const =0
 Gets the closest node to a given poi (based on it's ID).

Protected Member Functions

 VgIRoutingSolver ()
 Constructor.

Detailed Description

VgIRoutingSolver will calculate a route between several waypoints.

Date:
25/02/2011

Constructor & Destructor Documentation

VgRoutingModule::VgIRoutingSolver::VgIRoutingSolver (  ) [inline, protected]

Constructor.

virtual VgRoutingModule::VgIRoutingSolver::~VgIRoutingSolver (  ) [inline, virtual]

Destructor.


Member Function Documentation

virtual VgIRouteRequest* VgRoutingModule::VgIRoutingSolver::computeRoute ( VgIRouteRequestParameters pParameters ) [pure virtual]

Computes a route given some parameters.

Remarks:
The caller is responsible for deallocating VgRoutingModule::VgIRouteRequest
Parameters:
pParametersParameters to determine the route to be computed. A notify function will be called on callback within pParameters once the route has been computed.
Returns:
VgRoutingModule::VgIRouteRequest, NULL if request is handled synchronously.
Note:
Currently, all requests are handled synchronously.
virtual VgEngine::VgRefPtr< VgRoutingModule::VgIRoutingNode > VgRoutingModule::VgIRoutingSolver::getRoutingNode ( const std::string &  pPoiID ) const [pure virtual]

Gets the closest node to a given poi (based on it's ID).

Parameters:
pPoiIDA const reference on a string containing the Poi's ID.
Returns:
A valid VgIRoutingNode pointer, or NULL if no node was found.
virtual VgEngine::VgRefPtr< VgRoutingModule::VgIRoutingNode > VgRoutingModule::VgIRoutingSolver::getRoutingNode ( const VgEngine::VgPosition pPosition ) const [pure virtual]

Gets the closest node to a given position.

Parameters:
pPositionA const reference on the position.
Returns:
A valid opaque pointer on a VgRoutingNode, or NULL if no node was found.

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