 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef SUMO_NBPTSTOP_H
18 #define SUMO_NBPTSTOP_H
54 NBPTStop(std::string ptStopId,
Position position, std::string edgeId, std::string origEdgeId,
double length, std::string name,
SVCPermissions svcPermissions);
55 std::string
getID()
const;
59 const std::string
getName()
const;
75 void addAccess(std::string laneID,
double offset,
double length);
81 void addLine(
const std::string& line);
118 std::vector<std::tuple<std::string, double, double>>
myAccesses;
135 #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)
bool findLaneAndComputeBusStopExtent(NBEdgeCont &ec)
int SVCPermissions
bitset where each bit declares whether a certain SVC may use this edge/lane
bool setEdgeId(std::string edgeId, NBEdgeCont &ec)
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.
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
NBPTStop(std::string ptStopId, Position position, std::string edgeId, std::string origEdgeId, double length, std::string name, SVCPermissions svcPermissions)
Constructor.
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