 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef SUMO_NBPTSTOP_H
17 #define SUMO_NBPTSTOP_H
53 NBPTStop(std::string ptStopId,
Position position, std::string edgeId, std::string origEdgeId,
double length, std::string name,
SVCPermissions svcPermissions);
54 std::string
getID()
const;
58 const std::string
getName()
const;
74 void addAccess(std::string laneID,
double offset,
double length);
80 void addLine(
const std::string& line);
121 std::vector<std::tuple<std::string, double, double>>
myAccesses;
140 #endif //SUMO_NBPTSTOP_H
void setBidiStop(NBPTStop *bidiStop)
std::vector< std::string > myLines
list of public transport lines (for displaying)
void setIsMultipleStopPositions(bool multipleStopPositions)
void computeExtent(double center, double d)
Storage for edges, including some functionality operating on multiple edges.
Static storage of an output device and its base (abstract) implementation.
SVCPermissions getPermissions() const
const std::map< std::string, std::string > & getMyAdditionalEdgeCandidates() const
void setMyPTStopLength(double myPTStopLength)
void write(OutputDevice &device)
NBPTStop & operator=(const NBPTStop &)
Invalidated assignment operator.
std::map< std::string, std::string > myAdditionalEdgeCandidates
std::string getID() const
const std::vector< NBPTPlatform > & getPlatformCands()
const std::string getOrigEdgeId() const
void clearAccess()
remove all access definitions
void addLine(const std::string &line)
register line that services this stop (for displaying)
const std::string getEdgeId() const
void reshiftPosition(const double offsetX, const double offsetY)
int SVCPermissions
bitset where each bit declares whether a certain SVC may use this edge/lane
bool getIsMultipleStopPositions() const
void setMyOrigEdgeId(const std::string &myOrigEdgeId)
void setMyPTStopId(std::string id)
A point in 2D or 3D with translation and scaling methods.
bool myIsLoose
whether the stop was not part of the road network and must be mapped
void addAccess(std::string laneID, double offset, double length)
bool myIsMultipleStopPositions
NBPTStop * getBidiStop() const
const Position & getPosition() const
void registerAdditionalEdge(std::string wayId, std::string edgeId)
std::vector< NBPTPlatform > myPlatformCands
const std::string getName() const
bool findLaneAndComputeBusStopExtent(const NBEdgeCont &ec)
NBPTStop(std::string ptStopId, Position position, std::string edgeId, std::string origEdgeId, double length, std::string name, SVCPermissions svcPermissions)
Constructor.
bool setEdgeId(std::string edgeId, const NBEdgeCont &ec)
The representation of a single pt stop.
const SVCPermissions myPermissions
void addPlatformCand(NBPTPlatform platform)
std::vector< std::tuple< std::string, double, double > > myAccesses
laneId, lanePos, accessLength