![]() |
SUMO - Simulation of Urban MObility
|
#include <GNERerouter.h>

Public Member Functions | |
| closingReroute (std::string closedEdgeId, std::vector< std::string > allowVehicles, std::vector< std::string > disallowVehicles) | |
| constructor More... | |
| std::vector< std::string > | getAllowVehicles () const |
| get allow vehicles More... | |
| std::string | getClosedEdgeId () const |
| get closed edge Id More... | |
| std::vector< std::string > | getDisallowVehicles () const |
| get disallow vehicles More... | |
| void | insertAllowVehicle (std::string vehicleid) |
| insert an allow vehicle More... | |
| void | insertDisallowVehicle (std::string vehicleid) |
| insert a disallow vehicle More... | |
| void | removeAllowVehicle (std::string vehicleid) |
| remove a previously inserted allow vehicle More... | |
| void | removeDisallowVehicle (std::string vehicleid) |
| remove a previously inserted disallow vehicle More... | |
| ~closingReroute () | |
| destructor More... | |
Private Attributes | |
| std::vector< std::string > | myAllowVehicles |
| vector of allow vehicles More... | |
| std::string | myClosedEdgeId |
| edge ID More... | |
| std::vector< std::string > | myDisallowVehicles |
| vector of disallow vehicles More... | |
Definition at line 55 of file GNERerouter.h.
| GNERerouter::closingReroute::closingReroute | ( | std::string | closedEdgeId, |
| std::vector< std::string > | allowVehicles, | ||
| std::vector< std::string > | disallowVehicles | ||
| ) |
constructor
Definition at line 73 of file GNERerouter.cpp.
| GNERerouter::closingReroute::~closingReroute | ( | ) |
destructor
Definition at line 80 of file GNERerouter.cpp.
| std::vector< std::string > GNERerouter::closingReroute::getAllowVehicles | ( | ) | const |
| std::string GNERerouter::closingReroute::getClosedEdgeId | ( | ) | const |
get closed edge Id
Definition at line 151 of file GNERerouter.cpp.
References myClosedEdgeId.
Referenced by GNERerouter::rerouterInterval::insertClosingReroutes(), and GNERerouter::rerouterInterval::removeClosingReroutes().
| std::vector< std::string > GNERerouter::closingReroute::getDisallowVehicles | ( | ) | const |
get disallow vehicles
Definition at line 145 of file GNERerouter.cpp.
References myDisallowVehicles.
| void GNERerouter::closingReroute::insertAllowVehicle | ( | std::string | vehicleid | ) |
insert an allow vehicle
| ProcessError | if allowed vehicle was already inserted |
Definition at line 85 of file GNERerouter.cpp.
References myAllowVehicles.
| void GNERerouter::closingReroute::insertDisallowVehicle | ( | std::string | vehicleid | ) |
insert a disallow vehicle
| ProcessError | if disallowed vehicle was already inserted |
Definition at line 112 of file GNERerouter.cpp.
References myDisallowVehicles.
| void GNERerouter::closingReroute::removeAllowVehicle | ( | std::string | vehicleid | ) |
remove a previously inserted allow vehicle
| ProcessError | if allowed vehicle cannot be found in the container |
Definition at line 98 of file GNERerouter.cpp.
References myAllowVehicles.
| void GNERerouter::closingReroute::removeDisallowVehicle | ( | std::string | vehicleid | ) |
remove a previously inserted disallow vehicle
| ProcessError | if disallowed vehicle cannot be found in the container |
Definition at line 125 of file GNERerouter.cpp.
References myDisallowVehicles.
|
private |
vector of allow vehicles
Definition at line 93 of file GNERerouter.h.
Referenced by getAllowVehicles(), insertAllowVehicle(), and removeAllowVehicle().
|
private |
|
private |
vector of disallow vehicles
Definition at line 96 of file GNERerouter.h.
Referenced by getDisallowVehicles(), insertDisallowVehicle(), and removeDisallowVehicle().