 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef SUMO_NBPTLINE_H
18 #define SUMO_NBPTLINE_H
36 explicit NBPTLine(
const std::string&
id,
const std::string& name,
37 const std::string& type,
const std::string& ref,
int interval,
const std::string& nightService,
56 void addWayNode(
long long int way,
long long int node);
86 std::map<std::string, std::vector<long long int> >
myWaysNodes;
89 const std::vector<std::string>&
getMyWays()
const;
90 std::vector<long long int>*
getWaysNodes(std::string wayId);
101 void setEdges(
const std::vector<NBEdge*>& edges);
106 const std::vector<NBEdge*>&
getRoute()
const;
113 #endif //SUMO_NBPTLINE_H
const std::string & getName() const
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
std::vector< NBEdge * > myRoute
Storage for edges, including some functionality operating on multiple edges.
Static storage of an output device and its base (abstract) implementation.
std::vector< NBPTStop * > getStops()
void replaceStop(NBPTStop *oldStop, NBPTStop *newStop)
replace the given stop
const std::string & getType() const
std::vector< long long int > * getWaysNodes(std::string wayId)
std::vector< NBPTStop * > myPTStops
void setMyNumOfStops(int numStops)
std::string myNightService
const std::string & getLineID() const
NBPTLine(const std::string &id, const std::string &name, const std::string &type, const std::string &ref, int interval, const std::string &nightService, SUMOVehicleClass vClass)
void write(OutputDevice &device, NBEdgeCont &ec)
The representation of a single edge during network building.
std::vector< NBEdge * > getStopEdges(const NBEdgeCont &ec) const
get stop edges
void replaceStops(std::vector< NBPTStop * > stops)
std::vector< std::string > myWays
void addPTStop(NBPTStop *pStop)
const std::vector< NBEdge * > & getRoute() const
std::map< std::string, std::vector< long long int > > myWaysNodes
NBEdge * getRouteEnd(const NBEdgeCont &ec) const
return last valid edge of myRoute (if it doest not lie before the last stop)
void setEdges(const std::vector< NBEdge * > &edges)
SUMOVehicleClass myVClass
const std::vector< std::string > & getMyWays() const
const std::string & getRef() const
get line reference (not unique)
void addWayNode(long long int way, long long int node)
NBEdge * getRouteStart(const NBEdgeCont &ec) const
return first valid edge of myRoute (if it doest not lie after the first stop)
The representation of a single pt stop.