VisioMove SDK (iOS)  2.1.22
VgRoutingModule::VgIRoutingModule Class Referenceabstract
Inheritance diagram for VgRoutingModule::VgIRoutingModule:
Inheritance graph

Public Member Functions

virtual ~VgIRoutingModule ()
 
virtual VgIRoutingSolvergetRoutingSolver ()=0
 
virtual VgIRouteConverterFactorygetRouteConverterFactory ()=0
 
virtual int setEdgeTimeByAttributeAndModality (const std::string &pEdgeAttribute, const std::string &pModality, float pTime)=0
 
virtual void getAllModalityNames (std::vector< std::string > &pNames) const =0
 
virtual void getAllAttributeNames (std::vector< std::string > &pNames) const =0
 
- Public Member Functions inherited from VgApplication::VgIModule
virtual ~VgIModule ()
 
virtual const std::string & getName () const =0
 

Protected Member Functions

 VgIRoutingModule ()
 
- Protected Member Functions inherited from VgApplication::VgIModule
 VgIModule ()
 

Detailed Description

VgIRoutingModule provides access to routing related objects

Constructor & Destructor Documentation

VgRoutingModule::VgIRoutingModule::VgIRoutingModule ( )
inlineprotected

Constructor.

virtual VgRoutingModule::VgIRoutingModule::~VgIRoutingModule ( )
inlinevirtual

Member Function Documentation

virtual void VgRoutingModule::VgIRoutingModule::getAllAttributeNames ( std::vector< std::string > &  pNames) const
pure virtual

This method is used to get the names of all the attributes present in the database. Within the database, each routing node may have zero or more attributes associated with it. An example of a attributes might be "stairs" or "lift" and represents a physical medium. Currently, attribute are used to indicate floor transition types.

Parameters
pNamesThe list of strings that will be fed with the attribute names. This may return an empty vector if no attributes are specified within the database.
Version
2.0.7729

Referenced by ~VgIRoutingModule().

virtual void VgRoutingModule::VgIRoutingModule::getAllModalityNames ( std::vector< std::string > &  pNames) const
pure virtual

This method is used to get the names of all the modalities present in the database. Within the database, each routing edge may have zero or more modalities associated with it. An example of a modality might be "pedestrian" or "shuttle" and represents a method of movement.

Parameters
pNamesThe list of strings that will be fed with the modality names. This may return an empty vector if no modalities are specified within the database.
Version
2.0.7729

Referenced by ~VgIRoutingModule().

virtual VgIRouteConverterFactory* VgRoutingModule::VgIRoutingModule::getRouteConverterFactory ( )
pure virtual

Retrieves the route converter factor.

Referenced by ~VgIRoutingModule().

virtual VgIRoutingSolver* VgRoutingModule::VgIRoutingModule::getRoutingSolver ( )
pure virtual

Retrieves the routing solver.

Returns
VgIRoutingSolver if valid, otherwise NULL.

Referenced by ~VgIRoutingModule().

virtual int VgRoutingModule::VgIRoutingModule::setEdgeTimeByAttributeAndModality ( const std::string &  pEdgeAttribute,
const std::string &  pModality,
float  pTime 
)
pure virtual

Sets the traversal time for a given modality on edges with a given attribute.

Parameters
pEdgeAttributeThe searched attributes. All edges containing this attribute will be affected.
pModalityThe affected modality (time can only be set for modalities, no time concept in edges alone).
pTimeThe time to associate (should be positive)
Returns
The number of edges that were affected.
Remarks
The change to the edge's time is not persistent across loadConfigurations. It must be done every time the configuration is loaded.
Version
2.0.7729

Referenced by ~VgIRoutingModule().


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