 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
50 const std::string&
id,
const std::vector<MSLane*>& destLanes,
51 const std::string& file) {
53 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(lst);
61 double prob,
const std::string& file,
bool off,
63 const std::string& vTypes) {
65 dynamic_cast<GUINet&
>(net).getVisualisationSpeedUp());
72 double frompos,
double topos,
const SumoXMLTag element, std::string name,
int personCapacity) {
89 const std::vector<std::string>& lines,
91 double frompos,
double topos,
92 unsigned int capacity,
93 double width,
double length,
double angle,
const std::string& name,
96 GUIParkingArea* stop =
new GUIParkingArea(
id, lines, *lane, frompos, topos, capacity, width, length, angle, name, onRoad);
99 throw InvalidArgument(
"Could not build parking area '" +
id +
"'; probably declared twice.");
108 double chargingPower,
double efficiency,
bool chargeInTransit,
double chargeDelay) {
111 delete chargingStation;
112 throw InvalidArgument(
"Could not build charging station '" +
id +
"'; probably declared twice.");
115 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(chargingStation);
122 const std::string& file,
123 const std::string& outfile,
126 const std::string& vTypes) {
128 static_cast<GUINet&
>(net).getVisualisationSpeedUp().addAdditionalGLObject(cali);
139 throw InvalidArgument(
"Could not end a parking area that is not opened.");
150 throw InvalidArgument(
"Could not end a stopping place that is not opened.");
virtual void endParkingArea()
End a parking area (it must be added to the SUMORTree after all parking spaces are loaded.
virtual void endStoppingPlace()
End a stopping place.
Representation of a lane in the micro simulation.
A lane area vehicles can halt at (gui-version)
Writes routes of vehicles passing a certain edge.
Changes the speed allowed on a set of lanes (gui version)
The simulated network and simulation perfomer.
@ SUMO_TAG_CONTAINER_STOP
A container stop.
MSStoppingPlace * myCurrentStop
The currently parsed stop to add access points to.
MSParkingArea * myParkingArea
definition of the currently parsed parking area
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, int personCapacity)
Builds a bus stop.
Changes the speed allowed on a set of lanes.
Reroutes vehicles passing an edge.
SumoXMLTag
Numbers representing SUMO-XML - element names.
Reroutes vehicles passing an edge One rerouter can be active on multiple edges. To reduce drawing loa...
virtual MSLaneSpeedTrigger * buildLaneSpeedTrigger(MSNet &net, const std::string &id, const std::vector< MSLane * > &destLanes, const std::string &file)
Builds a lane speed trigger.
virtual MSTriggeredRerouter * buildRerouter(MSNet &net, const std::string &id, MSEdgeVector &edges, double prob, const std::string &file, bool off, SUMOTime timeThreshold, const std::string &vTypes)
builds an rerouter
@ SUMO_TAG_CHARGING_STATION
A Charging Station.
A lane area vehicles can halt at (gui-version)
@ SUMO_TAG_PARKING_AREA
A parking area.
bool addStoppingPlace(const SumoXMLTag category, MSStoppingPlace *stop)
Adds a stopping place.
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, const std::string &name, bool onRoad)
Builds a parking area.
A road/street connecting two junctions.
virtual void buildChargingStation(MSNet &net, const std::string &id, MSLane *lane, double frompos, double topos, const std::string &name, double chargingPower, double efficiency, bool chargeInTransit, double chargeDelay)
Builds a charging station.
Changes the speed allowed on a set of lanes (gui version)
virtual MSCalibrator * buildCalibrator(MSNet &net, const std::string &id, MSEdge *edge, MSLane *lane, double pos, const std::string &file, const std::string &outfile, const SUMOTime freq, const MSRouteProbe *probe, const std::string &vTypes)
builds a microscopic calibrator
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
A lane area vehicles can halt at (gui-version)
std::vector< MSEdge * > MSEdgeVector
~GUITriggerBuilder()
Destructor.
A lane area vehicles can halt at (gui-version)
Calibrates the flow on a segment to a specified one.
A MSNet extended by some values for usage within the gui.
GUITriggerBuilder()
Constructor.