Public Member Functions | Protected Member Functions

VgRoutingModule::VgIRoutingModule Class Reference

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

Inheritance diagram for VgRoutingModule::VgIRoutingModule:
Inheritance graph
[legend]
Collaboration diagram for VgRoutingModule::VgIRoutingModule:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~VgIRoutingModule ()
 Destructor.
virtual VgIRoutingSolvergetRoutingSolver ()=0
 Retrieves the routing solver.
virtual VgIRouteConverterFactorygetRouteConverterFactory ()=0
 Retrieves the route converter factor.
virtual int setEdgeTimeByAttributeAndModality (const std::string &pEdgeAttribute, const std::string &pModality, float pTime)=0
 This method is used to set the traversal time for a given modality on.
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.
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.

Protected Member Functions

 VgIRoutingModule ()
 Constructor.

Detailed Description

VgIRoutingModule provides access to routing related objects.


Constructor & Destructor Documentation

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

Constructor.

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

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.

It can return an empty vector if no modalities are specified within the database.

Parameters:
pNamesThe list of strings that will be fed with the attribute names.
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.

It can return an empty vector if no modalities are specified within the database.

Parameters:
pNamesThe list of strings that will be fed with the modality names.
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]

This method is used to set the traversal time for a given modality on.

edges with a given attribute. It returns the number of affected edges.

Parameters:
pEdgeAttributeThe searched attributes. All edges with that attribute will be affected.
pModalityThe affected modality (time can only be set for modalities, no time concept in edges alone).
pTimeThe time to associate.
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:
VisioDevKit 2.0, Visioglobe® 2013