![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for saving route parameters More...
#include <GNERouteHandler.h>
Public Member Functions | |
| RouteParameter () | |
| constructor More... | |
| RouteParameter (GNEDemandElement *originalDemandElement) | |
| parameter constructor (use values of originalDemandElement) More... | |
| void | setEdges (GNEViewNet *viewNet, const std::string &edgeIDs) |
| set edges (list of consecutive edges) More... | |
| void | setEdges (GNEViewNet *viewNet, const std::string &vehicleID, const std::string &fromID, const std::string &toID, const std::string &viaIDs) |
| set edges (from, to and via edges) More... | |
Data Fields | |
| RGBColor | color |
| string for saving parsed route colors More... | |
| std::vector< GNEEdge * > | edges |
| edges More... | |
| Parameterised | genericParameters |
| generic parameters More... | |
| std::string | routeID |
| string for saving parsed Route ID More... | |
| SUMOVehicleClass | VClass |
| VClass used by this route. More... | |
struct for saving route parameters
Definition at line 54 of file GNERouteHandler.h.
| GNERouteHandler::RouteParameter::RouteParameter | ( | ) |
constructor
Definition at line 50 of file GNERouteHandler.cpp.
| GNERouteHandler::RouteParameter::RouteParameter | ( | GNEDemandElement * | originalDemandElement | ) |
parameter constructor (use values of originalDemandElement)
Definition at line 55 of file GNERouteHandler.cpp.
| void GNERouteHandler::RouteParameter::setEdges | ( | GNEViewNet * | viewNet, |
| const std::string & | edgeIDs | ||
| ) |
set edges (list of consecutive edges)
Definition at line 66 of file GNERouteHandler.cpp.
References GNEAttributeCarrier::canParse(), edges, and GNEViewNet::getNet().
Referenced by GNERouteHandler::openFlow(), GNERouteHandler::openRoute(), and GNERouteHandler::openTrip().
| void GNERouteHandler::RouteParameter::setEdges | ( | GNEViewNet * | viewNet, |
| const std::string & | vehicleID, | ||
| const std::string & | fromID, | ||
| const std::string & | toID, | ||
| const std::string & | viaIDs | ||
| ) |
set edges (from, to and via edges)
Definition at line 77 of file GNERouteHandler.cpp.
References GNEAttributeCarrier::canParse(), edges, GNEViewNet::getNet(), GNENet::retrieveEdge(), and WRITE_ERROR.
| RGBColor GNERouteHandler::RouteParameter::color |
string for saving parsed route colors
Definition at line 75 of file GNERouteHandler.h.
Referenced by GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), and GNERouteHandler::openRoute().
| std::vector<GNEEdge*> GNERouteHandler::RouteParameter::edges |
edges
Definition at line 72 of file GNERouteHandler.h.
Referenced by GNERouteHandler::closeFlow(), GNERouteHandler::closeRoute(), GNERouteHandler::closeTrip(), GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), and setEdges().
| Parameterised GNERouteHandler::RouteParameter::genericParameters |
generic parameters
Definition at line 81 of file GNERouteHandler.h.
Referenced by GNERouteHandler::closeRoute().
| std::string GNERouteHandler::RouteParameter::routeID |
string for saving parsed Route ID
Definition at line 69 of file GNERouteHandler.h.
Referenced by GNERouteHandler::closeRoute(), GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), and GNERouteHandler::openRoute().
| SUMOVehicleClass GNERouteHandler::RouteParameter::VClass |
VClass used by this route.
Definition at line 78 of file GNERouteHandler.h.
Referenced by GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), and GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute().