VisioMove  2.1.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Friends Pages
VgRoutingModule::VgIRoutingModule Class Referenceabstract

VgIRoutingModule provides access to routing related objects. More...

Inheritance diagram for VgRoutingModule::VgIRoutingModule:
Inheritance graph

Public Member Functions

virtual ~VgIRoutingModule ()
 Destructor. More...
 
virtual VgIRoutingSolvergetRoutingSolver ()=0
 Retrieves the routing solver. More...
 
virtual VgIRouteConverterFactorygetRouteConverterFactory ()=0
 Retrieves the route converter factor. More...
 
virtual int setEdgeTimeByAttributeAndModality (const std::string &pEdgeAttribute, const std::string &pModality, float pTime)=0
 Sets the traversal time for a given modality on edges with a given attribute. More...
 
virtual void getAllModalityNames (std::vector< std::string > &pNames) const =0
 This method is used to get the names of all the modalities present in the database. More...
 
virtual void getAllAttributeNames (std::vector< std::string > &pNames) const =0
 This method is used to get the names of all the attributes present in the database. More...
 
- Public Member Functions inherited from VgApplication::VgIModule
virtual ~VgIModule ()
 Destructor. More...
 
virtual const std::string & getName () const =0
 Retrieves the module name. More...
 

Protected Member Functions

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

Detailed Description

VgIRoutingModule provides access to routing related objects.

Constructor & Destructor Documentation

VgRoutingModule::VgIRoutingModule::VgIRoutingModule ( )
inlineprotected

Constructor.

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

Destructor.

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
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
virtual VgIRouteConverterFactory* VgRoutingModule::VgIRoutingModule::getRouteConverterFactory ( )
pure virtual

Retrieves the route converter factor.

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

Retrieves the routing solver.

Returns
VgIRoutingSolver if valid, otherwise NULL.
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

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