 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
46 WRITE_WARNING(
"Ignoring parking area on edge '" + e->
getID() +
"' due to invalid permissions.");
50 const int cornerDistance = 5;
51 int capacity = (int)((e->
getFinalLength() - 2 * cornerDistance) / 7.5);
53 WRITE_WARNING(
"Ignoring parking area on edge '" + e->
getID() +
"' due to insufficient space.");
73 std::cout <<
"could not find edge for parkingArea '" <<
getID() <<
"'\n";
81 if (oc.
isSet(
"parking-output")) {
83 into.insert(p.
getID());
bool isSet(const std::string &name, bool failOnNonExistant=true) const
Returns the information whether the named option is set.
void write(OutputDevice &device, NBEdgeCont &ec) const
NBEdge * retrieve(const std::string &id, bool retrieveExtracted=false) const
Returns the edge that has the given id.
#define WRITE_WARNING(msg)
void addEdges2Keep(const OptionsCont &oc, std::set< std::string > &into)
add edges that must be kept
Base class for objects which have an id.
Storage for edges, including some functionality operating on multiple edges.
Static storage of an output device and its base (abstract) implementation.
SVCPermissions getPermissions(int lane=-1) const
get the union of allowed classes over all lanes or for a specific lane
The representation of a single edge during network building.
bool closeTag(const std::string &comment="")
Closes the most recently opened tag and optionally adds a comment.
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
std::string getLaneID(int lane) const
get lane ID
vehicle is a passenger car (a "normal" car)
int getNumLanes() const
Returns the number of lanes.
NBParking(const std::string &id, const std::string &edgeID, const std::string &name="")
Constructor.
A storage for options typed value containers)
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
The representation of a single pt stop.
double getFinalLength() const
get length that will be assigned to the lanes in the final network
const std::string & getID() const
Returns the id.
const std::string & getID() const