42 myOrigEdgeId(origEdgeId),
43 myPTStopLength(length),
45 myPermissions(svcPermissions),
46 myIsMultipleStopPositions(false) {
97 Position* pos = (&myPlatformCand)->getMyPos();
98 pos->
add(offsetX, offsetY, 0);
const std::string getName()
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
void write(OutputDevice &device)
bool myIsMultipleStopPositions
void add(const Position &pos)
Adds the given position to this one.
const std::string getEdgeId()
int SVCPermissions
bitset where each bit declares whether a certain SVC may use this edge/lane
std::vector< NBPTPlatform > myPlatformCands
void registerAdditionalEdge(std::string wayId, std::string edgeId)
NBPTStop(std::string ptStopId, Position position, std::string edgeId, std::string origEdgeId, double length, std::string name, SVCPermissions svcPermissions)
Constructor.
SVCPermissions getPermissions()
std::string getID() const
A point in 2D or 3D with translation and scaling methods.
void computExtent(double center, double d)
const std::map< std::string, std::string > & getMyAdditionalEdgeCandidates() const
void setIsMultipleStopPositions(bool multipleStopPositions)
void reshiftPostion(const double offsetX, const double offsetY)
bool getIsMultipleStopPositions()
void setLaneID(const std::string &laneId)
std::vector< NBPTPlatform > & getPlatformCands()
std::map< std::string, std::string > myAdditionalEdgeCandidates
Static storage of an output device and its base (abstract) implementation.
const Position & getPosition()
bool closeTag()
Closes the most recently opened tag.
void setEdgeId(std::string edgeId)
void setMyOrigEdgeId(const std::string &myOrigEdgeId)
void addPlatformCand(NBPTPlatform platform)
void setMyPTStopLength(double myPTStopLength)
const std::string getOrigEdgeId()
const std::string myPTStopId
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
const SVCPermissions myPermissions