45 #ifdef CHECK_MEMORY_LEAKS 47 #endif // CHECK_MEMORY_LEAKS 61 const std::string&
id,
const std::vector<MSLane*>& destLanes,
62 const std::string& file) {
64 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(lst);
72 SUMOReal prob,
const std::string& file,
bool off) {
74 dynamic_cast<GUINet&>(net).getVisualisationSpeedUp());
99 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(o);
105 SUMOReal chargingPower,
SUMOReal efficiency,
bool chargeInTransit,
int chargeDelay) {
109 delete chargingStation;
110 throw InvalidArgument(
"Could not build charging station '" +
id +
"'; probably declared twice.");
113 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(chargingStation);
119 const std::string& file,
120 const std::string& outfile,
124 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(cali);
A lane area vehicles can halt at (gui-version)
SumoXMLTag
Numbers representing SUMO-XML - element names.
virtual MSLaneSpeedTrigger * buildLaneSpeedTrigger(MSNet &net, const std::string &id, const std::vector< MSLane * > &destLanes, const std::string &file)
Builds a lane speed trigger.
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 buildChargingStation(MSNet &net, const std::string &id, MSLane *lane, SUMOReal frompos, SUMOReal topos, SUMOReal chargingPower, SUMOReal efficiency, bool chargeInTransit, int chargeDelay)
Builds a charging station.
virtual MSCalibrator * buildCalibrator(MSNet &net, const std::string &id, MSEdge *edge, SUMOReal pos, const std::string &file, const std::string &outfile, const SUMOTime freq, const MSRouteProbe *probe)
builds a microscopic calibrator
Writes routes of vehicles passing a certain edge.
bool addBusStop(MSStoppingPlace *busStop)
Adds a bus stop.
virtual void buildStoppingPlace(MSNet &net, const std::string &id, const std::vector< std::string > &lines, MSLane *lane, SUMOReal frompos, SUMOReal topos, const SumoXMLTag element)
Builds a bus stop.
~GUITriggerBuilder()
Destructor.
The simulated network and simulation perfomer.
Changes the speed allowed on a set of lanes.
virtual MSTriggeredRerouter * buildRerouter(MSNet &net, const std::string &id, MSEdgeVector &edges, SUMOReal prob, const std::string &file, bool off)
builds an rerouter
A road/street connecting two junctions.
GUITriggerBuilder()
Constructor.
MSStoppingPlace * myCurrentStop
The currently parsed stop to add access points to.
std::string toString(const T &t, std::streamsize accuracy=OUTPUT_ACCURACY)
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)
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)
Representation of a lane in the micro simulation.