58 const std::string&
id,
const std::vector<MSLane*>& destLanes,
59 const std::string& file) {
61 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(lst);
69 double prob,
const std::string& file,
bool off) {
71 dynamic_cast<GUINet&>(net).getVisualisationSpeedUp());
78 double frompos,
double topos,
const SumoXMLTag element, std::string name) {
97 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(o);
103 const std::vector<std::string>& lines,
105 double frompos,
double topos,
106 unsigned int capacity,
107 double width,
double length,
double angle) {
113 throw InvalidArgument(
"Could not build parking area '" +
id +
"'; probably declared twice.");
117 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(stop);
122 double chargingPower,
double efficiency,
bool chargeInTransit,
int chargeDelay) {
126 delete chargingStation;
127 throw InvalidArgument(
"Could not build charging station '" +
id +
"'; probably declared twice.");
130 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(chargingStation);
136 const std::string& file,
137 const std::string& outfile,
141 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(cali);
A lane area vehicles can halt at (gui-version)
SumoXMLTag
Numbers representing SUMO-XML - element names.
virtual MSTriggeredRerouter * buildRerouter(MSNet &net, const std::string &id, MSEdgeVector &edges, double prob, const std::string &file, bool off)
builds an rerouter
Changes the speed allowed on a set of lanes (gui version)
Reroutes vehicles passing an edge One rerouter can be active on multiple edges. To reduce drawing loa...
virtual void buildStoppingPlace(MSNet &net, std::string id, std::vector< std::string > lines, MSLane *lane, double frompos, double topos, const SumoXMLTag element, std::string string)
Builds a bus stop.
Writes routes of vehicles passing a certain edge.
virtual void beginParkingArea(MSNet &net, const std::string &id, const std::vector< std::string > &lines, MSLane *lane, double frompos, double topos, unsigned int capacity, double width, double length, double angle)
Builds a parking area.
bool addBusStop(MSStoppingPlace *busStop)
Adds a bus stop.
bool addParkingArea(MSParkingArea *parkingArea)
Adds a parking area.
virtual void buildChargingStation(MSNet &net, const std::string &id, MSLane *lane, double frompos, double topos, double chargingPower, double efficiency, bool chargeInTransit, int chargeDelay)
Builds a charging station.
MSParkingArea * myParkingArea
definition of the currently parsed parking area
~GUITriggerBuilder()
Destructor.
The simulated network and simulation perfomer.
Changes the speed allowed on a set of lanes.
A road/street connecting two junctions.
GUITriggerBuilder()
Constructor.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
MSStoppingPlace * myCurrentStop
The currently parsed stop to add access points to.
virtual MSLaneSpeedTrigger * buildLaneSpeedTrigger(MSNet &net, const std::string &id, const std::vector< MSLane *> &destLanes, const std::string &file)
Builds a lane speed trigger.
Reroutes vehicles passing an edge.
A lane area vehicles can halt at (gui-version)
bool addContainerStop(MSStoppingPlace *containerStop)
Adds a container stop.
bool addChargingStation(MSChargingStation *chargingStation)
Adds a chargingg station.
A MSNet extended by some values for usage within the gui.
A lane area vehicles can halt at (gui-version)
A lane area vehicles can halt at (gui-version)
Calibrates the flow on a segment to a specified one.
std::vector< MSEdge * > MSEdgeVector
Changes the speed allowed on a set of lanes (gui version)
virtual MSCalibrator * buildCalibrator(MSNet &net, const std::string &id, MSEdge *edge, double pos, const std::string &file, const std::string &outfile, const SUMOTime freq, const MSRouteProbe *probe)
builds a microscopic calibrator
Representation of a lane in the micro simulation.