VgIRoutingModule provides access to routing related objects. More...
Public Member Functions | |
virtual | ~VgIRoutingModule () |
Destructor. | |
virtual VgIRoutingSolver * | getRoutingSolver ()=0 |
Retrieves the routing solver. | |
virtual VgIRouteConverterFactory * | getRouteConverterFactory ()=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. |
VgIRoutingModule provides access to routing related objects.
VgRoutingModule::VgIRoutingModule::VgIRoutingModule | ( | ) | [inline, protected] |
Constructor.
virtual VgRoutingModule::VgIRoutingModule::~VgIRoutingModule | ( | ) | [inline, virtual] |
Destructor.
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.
pNames | The list of strings that will be fed with the attribute names. |
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 there were not specified.
pNames | The list of strings that will be fed with the modality names. |
virtual VgIRouteConverterFactory* VgRoutingModule::VgIRoutingModule::getRouteConverterFactory | ( | ) | [pure virtual] |
Retrieves the route converter factor.
virtual VgIRoutingSolver* VgRoutingModule::VgIRoutingModule::getRoutingSolver | ( | ) | [pure virtual] |
Retrieves the routing solver.
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.
pEdgeAttribute | The searched attributes. All edges with that attribute will be affected. |
pModality | The affected modality (time can only be set for modalities, no time concept in edges alone). |
pTime | The time to associate. |