65 Position getLanePos(
const std::string& poiID,
const std::string& laneID,
double lanePos,
double lanePosLat);
106 return myHaveSeenInternalEdge;
110 return myHaveSeenNeighs;
114 return myHaveSeenAdditionalSpeedRestrictions;
122 return myNetworkVersion;
186 virtual void endE3Detector();
202 virtual void addEdgeLaneMeanData(
const SUMOSAXAttributes& attrs,
int objecttype);
205 virtual void closeEdge();
242 void parseLanes(
const std::string& junctionID,
const std::string& def, std::vector<MSLane*>& into,
bool& ok);
290 LinkState parseLinkState(
const std::string& state);
356 typedef std::map<std::string, std::pair<std::string, std::string> >
JunctionGraph;
Builds detectors for microsim.
NLShapeHandler(const std::string &file, ShapeContainer &sc)
bool myCurrentIsInternalToSkip
Information whether the currently parsed edge is internal and not wished, here.
virtual ~NLShapeHandler()
Destructor.
bool myHaveWarnedAboutDeprecatedLanes
virtual void myEndElement(int element)
Called when a closing tag occurs.
Position myNetworkOffset
The network offset.
virtual void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
NLDetectorBuilder & myDetectorBuilder
The detector builder to use.
Storage for geometrical objects.
std::string myCurrentDistrictID
The id of the current district.
bool myAmParsingTLLogicOrJunction
internal information whether a tls-logic is currently read
A class that stores a 2D geometrical boundary.
The simulated network and simulation perfomer.
The XML-Handler for network loading.
LinkDirection
The different directions a link between two lanes may take (or a stream between two edges)...
bool myHaveSeenAdditionalSpeedRestrictions
whether additional files contained type-specific speed limits
Boundary myOrigBoundary
The network's boundaries.
NLEdgeControlBuilder & myEdgeControlBuilder
The edge builder to use.
ShapeHandler & operator=(const ShapeHandler &s)=delete
invalidate assignment operator
virtual bool addLanePosParams()
Whether some input attributes shall be automatically added as params.
std::vector< MSLane * > LaneVector
Definition of a lane vector.
Encapsulated SAX-Attributes.
Builder of microsim-junctions and tls.
A point in 2D or 3D with translation and scaling methods.
JunctionGraph myJunctionGraph
void addPOI(const SUMOSAXAttributes &attrs, const bool ignorePruning, const bool useProcessing)
adds a POI
Position getLanePos(const std::string &poiID, const std::string &laneID, double lanePos, double lanePosLat)
get position for a given laneID
std::string myCurrentTypeID
The id of the currently processed edge type.
LinkState
The right-of-way state of a link between two lanes used when constructing a NBTrafficLightLogic, in MSLink and GNEInternalLane.
bool myHaveSeenInternalEdge
whether the loaded network contains internal lanes
An upper class for objects with additional parameters.
double networkVersion() const
The XML-Handler for network loading.
void addPoly(const SUMOSAXAttributes &attrs, const bool ignorePruning, const bool useProcessing)
adds a polygon
std::map< std::string, std::pair< std::string, std::string > > JunctionGraph
temporary data for building the junction graph after network parsing is finished
std::string myCurrentWAUTID
The id of the currently processed WAUT.
bool haveSeenAdditionalSpeedRestrictions() const
The XML-Handler for shapes loading network loading.
bool myHaveSeenNeighs
whether the loaded network contains explicit neighbor lanes
NLTriggerBuilder & myTriggerBuilder
The trigger builder to use.
double myNetworkVersion
the loaded network version
bool myNetIsLoaded
whether the location element was already loadee
std::vector< Parameterised * > myLastParameterised
MSNet & myNet
The net to fill (preinitialised)
bool haveSeenInternalEdge() const
The parent class for traffic light logics.
NLDiscreteEventBuilder myActionBuilder
A builder for object actions.
Parameterised myLastEdgeParameters
Builds trigger objects for microsim.
bool haveSeenNeighs() const
bool myLefthand
whether the loaded network was built for left hand traffic
NLJunctionControlBuilder & myJunctionControlBuilder
The junction builder to use.
Parser and container for routes during their loading.
Interface for building edges.