![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Importer for networks stored in openDrive format. More...
#include <NIImporter_OpenDrive.h>
Data Structures | |
struct | Connection |
A connection between two roads. More... | |
struct | OpenDriveEdge |
Representation of an openDrive "link". More... | |
struct | OpenDriveGeometry |
Representation of an OpenDrive geometry part. More... | |
struct | OpenDriveLane |
Representation of a lane. More... | |
struct | OpenDriveLaneSection |
Representation of a lane section. More... | |
struct | OpenDriveLink |
Representation of an OpenDrive link. More... | |
struct | OpenDriveObject |
struct | OpenDriveSignal |
Representation of a signal. More... | |
struct | Poly3 |
class | same_position_finder |
class | sections_by_s_sorter |
A class for sorting lane sections by their s-value. More... | |
Public Member Functions | |
void | characters (const XMLCh *const chars, const XERCES3_SIZE_t length) |
The inherited method called when characters occurred. More... | |
void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
The inherited method called when a tag is being closed. More... | |
const std::string & | getFileName () const |
returns the current file name More... | |
void | registerParent (const int tag, GenericSAXHandler *handler) |
Assigning a parent handler which is enabled when the specified tag is closed. More... | |
void | setFileName (const std::string &name) |
Sets the current file name. More... | |
void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES_CPP_NAMESPACE::Attributes &attrs) |
The inherited method called when a new tag opens. More... | |
Static Public Member Functions | |
static void | loadNetwork (const OptionsCont &oc, NBNetBuilder &nb) |
Loads content of the optionally given SUMO file. More... | |
Protected Member Functions | |
NIImporter_OpenDrive (const NBTypeCont &tc, std::map< std::string, OpenDriveEdge * > &edges) | |
Constructor. More... | |
~NIImporter_OpenDrive () | |
Destructor. More... | |
inherited from GenericSAXHandler | |
const NBTypeCont & | myTypeContainer |
OpenDriveEdge | myCurrentEdge |
std::map< std::string, OpenDriveEdge * > & | myEdges |
std::vector< int > | myElementStack |
OpenDriveXMLTag | myCurrentLaneDirection |
std::string | myCurrentJunctionID |
std::string | myCurrentIncomingRoad |
std::string | myCurrentConnectingRoad |
ContactPoint | myCurrentContactPoint |
bool | myConnectionWasEmpty |
std::map< std::string, OpenDriveSignal > | mySignals |
static bool | myImportAllTypes |
static bool | myImportWidths |
static double | myMinWidth |
static bool | myImportInternalShapes |
static StringBijection< int >::Entry | openDriveTags [] |
The names of openDrive-XML elements (for passing to GenericSAXHandler) More... | |
static StringBijection< int >::Entry | openDriveAttrs [] |
The names of openDrive-XML attributes (for passing to GenericSAXHandler) More... | |
void | myStartElement (int element, const SUMOSAXAttributes &attrs) |
Called on the opening of a tag;. More... | |
void | myCharacters (int element, const std::string &chars) |
Callback method for characters to implement by derived classes. More... | |
void | myEndElement (int element) |
Called when a closing tag occurs. More... | |
std::map< std::string, OpenDriveSignal > & | getSignals () |
void | addLink (LinkType lt, const std::string &elementType, const std::string &elementID, const std::string &contactPoint) |
void | addGeometryShape (GeometryType type, const std::vector< double > &vals) |
static void | setEdgeLinks2 (OpenDriveEdge &e, const std::map< std::string, OpenDriveEdge * > &edges) |
static void | buildConnectionsToOuter (const Connection &c, const std::map< std::string, OpenDriveEdge * > &innerEdges, std::vector< Connection > &into, std::set< Connection > &seen) |
static bool | laneSectionsConnected (OpenDriveEdge *edge, int in, int out) |
static std::string | revertID (const std::string &id) |
bool | operator< (const Connection &c1, const Connection &c2) |
static NBNode * | getOrBuildNode (const std::string &id, const Position &pos, NBNodeCont &nc) |
Builds a node or returns the already built. More... | |
static PositionVector | geomFromLine (const OpenDriveEdge &e, const OpenDriveGeometry &g, double resolution) |
static PositionVector | geomFromSpiral (const OpenDriveEdge &e, const OpenDriveGeometry &g, double resolution) |
static PositionVector | geomFromArc (const OpenDriveEdge &e, const OpenDriveGeometry &g, double resolution) |
static PositionVector | geomFromPoly (const OpenDriveEdge &e, const OpenDriveGeometry &g, double resolution) |
static PositionVector | geomFromParamPoly (const OpenDriveEdge &e, const OpenDriveGeometry &g, double resolution) |
static Position | calculateStraightEndPoint (double hdg, double length, const Position &start) |
static void | calculateCurveCenter (double *ad_x, double *ad_y, double ad_radius, double ad_hdg) |
static void | calcPointOnCurve (double *ad_x, double *ad_y, double ad_centerX, double ad_centerY, double ad_r, double ad_length) |
static void | computeShapes (std::map< std::string, OpenDriveEdge * > &edges) |
Computes a polygon representation of each edge's geometry. More... | |
static bool | hasNonLinearElevation (OpenDriveEdge &e) |
static void | revisitLaneSections (const NBTypeCont &tc, std::map< std::string, OpenDriveEdge * > &edges) |
Rechecks lane sections of the given edges. More... | |
static void | setNodeSecure (NBNodeCont &nc, OpenDriveEdge &e, const std::string &nodeID, NIImporter_OpenDrive::LinkType lt, std::vector< NodeSet > &joinedNodeIDs) |
static NBTrafficLightDefinition * | getTLSSecure (NBEdge *inEdge, NBNetBuilder &nb) |
static std::pair< NBEdge *, NBEdge * > | retrieveSignalEdges (NBNetBuilder &nb, const std::string &fromID, const std::string &toID, const std::string &junction) |
static void | splitMinWidths (OpenDriveEdge *e, const NBTypeCont &tc, double minDist) |
static void | findWidthSplit (const NBTypeCont &tc, std::vector< OpenDriveLane > &lanes, int section, double sectionStart, double sectionEnd, std::vector< double > &splitPositions) |
static void | sanitizeWidths (OpenDriveEdge *e) |
static void | sanitizeWidths (std::vector< OpenDriveLane > &lanes, double length) |
static void | setStraightConnections (std::vector< OpenDriveLane > &lanes) |
static void | recomputeWidths (OpenDriveLaneSection &sec, double start, double end, double sectionStart, double sectionEnd) |
static void | recomputeWidths (std::vector< OpenDriveLane > &lanes, double start, double end, double sectionStart, double sectionEnd) |
static void | setLaneAttributes (const OpenDriveEdge *e, NBEdge::Lane &sumoLane, const OpenDriveLane &odLane, bool saveOrigIDs, const NBTypeCont &tc) |
attributes parsing | |
AttrMap | myPredefinedTags |
std::vector< std::string > | myPredefinedTagsMML |
the map from ids to their string representation More... | |
typedef std::vector< XMLCh * > | AttrMap |
elements parsing | |
TagMap | myTagMap |
std::vector< std::string > | myCharactersVector |
A list of character strings obtained so far to build the complete characters string at the end. More... | |
GenericSAXHandler * | myParentHandler |
The handler to give control back to. More... | |
int | myParentIndicator |
The tag indicating that control should be given back. More... | |
std::string | myFileName |
The name of the currently parsed file. More... | |
std::string | myExpectedRoot |
The root element to expect, empty string disables the check. More... | |
bool | myRootSeen |
whether the reader has already seen the root element More... | |
typedef std::map< std::string, int > | TagMap |
SAX ErrorHandler callbacks | |
std::string | buildErrorMessage (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Builds an error message. More... | |
XMLCh * | convert (const std::string &name) const |
converts from c++-string into unicode More... | |
int | convertTag (const std::string &tag) const |
Converts a tag from its string into its numerical representation. More... | |
void | warning (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Handler for XML-warnings. More... | |
void | error (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Handler for XML-errors. More... | |
void | fatalError (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Handler for XML-errors. More... | |
Importer for networks stored in openDrive format.
Definition at line 51 of file NIImporter_OpenDrive.h.
|
privateinherited |
Definition at line 279 of file GenericSAXHandler.h.
|
protected |
LaneOffset has the same fields as Elevation.
Definition at line 284 of file NIImporter_OpenDrive.h.
|
protected |
Definition at line 285 of file NIImporter_OpenDrive.h.
|
protected |
Definition at line 286 of file NIImporter_OpenDrive.h.
|
privateinherited |
Definition at line 293 of file GenericSAXHandler.h.
|
protected |
OpenDrive contact type enumeration.
Enumerator | |
---|---|
OPENDRIVE_CP_UNKNOWN | |
OPENDRIVE_CP_START | |
OPENDRIVE_CP_END |
Definition at line 192 of file NIImporter_OpenDrive.h.
|
protected |
OpenDrive element type enumeration.
Enumerator | |
---|---|
OPENDRIVE_ET_UNKNOWN | |
OPENDRIVE_ET_ROAD | |
OPENDRIVE_ET_JUNCTION |
Definition at line 183 of file NIImporter_OpenDrive.h.
|
protected |
OpenDrive geometry type enumeration.
Enumerator | |
---|---|
OPENDRIVE_GT_UNKNOWN | |
OPENDRIVE_GT_LINE | |
OPENDRIVE_GT_SPIRAL | |
OPENDRIVE_GT_ARC | |
OPENDRIVE_GT_POLY3 | |
OPENDRIVE_GT_PARAMPOLY3 |
Definition at line 200 of file NIImporter_OpenDrive.h.
|
protected |
OpenDrive link type enumeration.
Enumerator | |
---|---|
OPENDRIVE_LT_SUCCESSOR | |
OPENDRIVE_LT_PREDECESSOR |
Definition at line 175 of file NIImporter_OpenDrive.h.
|
protected |
Numbers representing openDrive-XML - attributes.
Definition at line 118 of file NIImporter_OpenDrive.h.
|
protected |
Numbers representing openDrive-XML - element names.
Enumerator | |
---|---|
OPENDRIVE_TAG_NOTHING | |
OPENDRIVE_TAG_HEADER | |
OPENDRIVE_TAG_ROAD | |
OPENDRIVE_TAG_PREDECESSOR | |
OPENDRIVE_TAG_SUCCESSOR | |
OPENDRIVE_TAG_GEOMETRY |
|
OPENDRIVE_TAG_LINE | |
OPENDRIVE_TAG_SPIRAL | |
OPENDRIVE_TAG_ARC | |
OPENDRIVE_TAG_POLY3 | |
OPENDRIVE_TAG_PARAMPOLY3 | |
OPENDRIVE_TAG_LANESECTION | |
OPENDRIVE_TAG_LANEOFFSET | |
OPENDRIVE_TAG_LEFT | |
OPENDRIVE_TAG_CENTER | |
OPENDRIVE_TAG_RIGHT | |
OPENDRIVE_TAG_LANE | |
OPENDRIVE_TAG_SIGNAL | |
OPENDRIVE_TAG_SIGNALREFERENCE | |
OPENDRIVE_TAG_VALIDITY | |
OPENDRIVE_TAG_JUNCTION | |
OPENDRIVE_TAG_CONNECTION | |
OPENDRIVE_TAG_LANELINK | |
OPENDRIVE_TAG_WIDTH | |
OPENDRIVE_TAG_SPEED | |
OPENDRIVE_TAG_ELEVATION | |
OPENDRIVE_TAG_GEOREFERENCE | |
OPENDRIVE_TAG_OBJECT | |
OPENDRIVE_TAG_REPEAT |
Definition at line 78 of file NIImporter_OpenDrive.h.
|
protected |
Constructor.
[in] | tc | The type container used to determine whether a lane shall kept |
[in] | nc | The edge map to fill |
Definition at line 1924 of file NIImporter_OpenDrive.cpp.
|
protected |
Destructor.
Definition at line 1930 of file NIImporter_OpenDrive.cpp.
|
private |
Definition at line 2354 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::OpenDriveEdge::geometries, NIImporter_OpenDrive::OpenDriveEdge::id, myCurrentEdge, OPENDRIVE_GT_UNKNOWN, NIImporter_OpenDrive::OpenDriveGeometry::params, and NIImporter_OpenDrive::OpenDriveGeometry::type.
Referenced by myStartElement().
|
private |
Definition at line 2332 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::OpenDriveLink::contactPoint, NIImporter_OpenDrive::OpenDriveLink::elementType, NIImporter_OpenDrive::OpenDriveEdge::links, myCurrentEdge, OPENDRIVE_CP_END, OPENDRIVE_CP_START, OPENDRIVE_ET_JUNCTION, and OPENDRIVE_ET_ROAD.
Referenced by myStartElement().
|
staticprivate |
!!! should not, look in all?
Definition at line 915 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::Connection::all, cn, NIImporter_OpenDrive::OpenDriveEdge::connections, DEBUG_COND3, NIImporter_OpenDrive::Connection::fromCP, NIImporter_OpenDrive::Connection::fromEdge, NIImporter_OpenDrive::Connection::fromLane, NIImporter_OpenDrive::OpenDriveEdge::geom, NIImporter_OpenDrive::Connection::getDescription(), NIImporter_OpenDrive::OpenDriveEdge::id, NIImporter_OpenDrive::OpenDriveEdge::laneOffsets, NIImporter_OpenDrive::OpenDriveEdge::laneSections, laneSectionsConnected(), myImportInternalShapes, OPENDRIVE_CP_END, OPENDRIVE_TAG_LEFT, OPENDRIVE_TAG_RIGHT, NIImporter_OpenDrive::Connection::shape, NIImporter_OpenDrive::Connection::toCP, NIImporter_OpenDrive::Connection::toEdge, NIImporter_OpenDrive::Connection::toLane, toString(), and WRITE_WARNING.
Referenced by loadNetwork().
|
protectedinherited |
Builds an error message.
The error message includes the file name and the line/column information as supported by the given SAXParseException
[in] | exception | The name of the currently processed file |
Definition at line 188 of file GenericSAXHandler.cpp.
References GenericSAXHandler::getFileName(), and transcode().
Referenced by GenericSAXHandler::error(), GenericSAXHandler::fatalError(), and GenericSAXHandler::warning().
|
staticprotected |
Definition at line 1700 of file NIImporter_OpenDrive.cpp.
Referenced by geomFromArc().
|
staticprotected |
Definition at line 1672 of file NIImporter_OpenDrive.cpp.
Referenced by geomFromArc().
|
staticprotected |
Definition at line 1660 of file NIImporter_OpenDrive.cpp.
References Position::x(), and Position::y().
Referenced by geomFromLine().
|
inherited |
The inherited method called when characters occurred.
The retrieved characters are converted into a string and appended into a private buffer. They are reported as soon as the element ends.
recheck/describe what happens with characters when a new element is opened
describe characters processing in the class' head
Definition at line 171 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myCharactersVector, and StringUtils::transcode().
|
staticprotected |
Computes a polygon representation of each edge's geometry.
[in] | edges | The edges which geometries shall be converted |
Definition at line 1316 of file NIImporter_OpenDrive.cpp.
References PositionVector::add(), NIImporter_OpenDrive::Poly3::computeAt(), Position::distanceTo2D(), NIImporter_OpenDrive::OpenDriveEdge::elevations, OptionsCont::exists(), NIImporter_OpenDrive::OpenDriveEdge::geom, NIImporter_OpenDrive::OpenDriveEdge::geometries, geomFromArc(), geomFromLine(), geomFromParamPoly(), geomFromPoly(), geomFromSpiral(), OptionsCont::getFloat(), OptionsCont::getOptions(), hasNonLinearElevation(), NIImporter_OpenDrive::OpenDriveEdge::id, PositionVector::indexOfClosest(), PositionVector::insertAtClosest(), OptionsCont::isDefault(), NIImporter_OpenDrive::OpenDriveEdge::laneOffsets, NIImporter_OpenDrive::OpenDriveEdge::offsets, OPENDRIVE_GT_ARC, OPENDRIVE_GT_LINE, OPENDRIVE_GT_PARAMPOLY3, OPENDRIVE_GT_POLY3, OPENDRIVE_GT_SPIRAL, OPENDRIVE_GT_UNKNOWN, PositionVector::positionAtOffset2D(), PositionVector::push_back_noDoublePos(), PositionVector::removeDoublePoints(), NIImporter_OpenDrive::Poly3::s, toString(), NBNetBuilder::transformCoordinates(), NIImporter_OpenDrive::OpenDriveGeometry::type, WRITE_ERROR, and WRITE_WARNING.
Referenced by loadNetwork().
|
privateinherited |
converts from c++-string into unicode
[in] | name | The string to convert |
Definition at line 84 of file GenericSAXHandler.cpp.
Referenced by GenericSAXHandler::GenericSAXHandler().
|
privateinherited |
Converts a tag from its string into its numerical representation.
Returns the enum-representation stored for the given tag. If the tag is not known, SUMO_TAG_NOTHING is returned.
[in] | tag | The string to convert |
Definition at line 178 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myTagMap, and SUMO_TAG_NOTHING.
Referenced by GenericSAXHandler::endElement(), and GenericSAXHandler::startElement().
|
inherited |
The inherited method called when a tag is being closed.
This method calls the user-implemented methods myCharacters with the previously collected and converted characters.
Then, myEndElement is called, supplying it the qname converted to its enum- and string-representations.
recheck/describe encoding of the string-representation
do not generate and report the string-representation
Definition at line 122 of file GenericSAXHandler.cpp.
References GenericSAXHandler::convertTag(), GenericSAXHandler::myCharacters(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myEndElement(), GenericSAXHandler::myParentHandler, GenericSAXHandler::myParentIndicator, XMLSubSys::setHandler(), SUMO_TAG_INCLUDE, SUMO_TAG_NOTHING, and StringUtils::transcode().
|
inherited |
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
[in] | exception | The occurred exception to process |
ProcessError | On any call |
Definition at line 207 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage().
Referenced by MSRouteHandler::addFlowPerson(), MSRouteHandler::closeContainer(), MSRouteHandler::closePerson(), MSRouteHandler::closePersonFlow(), geomFromSpiral(), and MSRouteHandler::myStartElement().
|
inherited |
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
ProcessError | On any call |
[in] | exception | The occurred exception to process |
Definition at line 213 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage().
|
staticprotected |
Definition at line 2520 of file NIImporter_OpenDrive.cpp.
References gDebugFlag1, NBTypeCont::getEdgeTypePermissions(), NBTypeCont::getEdgeTypeShallBeDiscarded(), NIImporter_OpenDrive::OpenDriveLane::id, NBTypeCont::knows(), myMinWidth, SVC_BICYCLE, SVC_PEDESTRIAN, NIImporter_OpenDrive::OpenDriveLane::type, UNUSED_PARAMETER, and NIImporter_OpenDrive::OpenDriveLane::widthData.
Referenced by splitMinWidths().
|
staticprotected |
Definition at line 1579 of file NIImporter_OpenDrive.cpp.
References calcPointOnCurve(), calculateCurveCenter(), PositionVector::getSubpart2D(), NIImporter_OpenDrive::OpenDriveGeometry::hdg, NIImporter_OpenDrive::OpenDriveGeometry::length, NIImporter_OpenDrive::OpenDriveGeometry::params, NIImporter_OpenDrive::OpenDriveGeometry::s, UNUSED_PARAMETER, NIImporter_OpenDrive::OpenDriveGeometry::x, and NIImporter_OpenDrive::OpenDriveGeometry::y.
Referenced by computeShapes().
|
staticprotected |
Definition at line 1493 of file NIImporter_OpenDrive.cpp.
References calculateStraightEndPoint(), NIImporter_OpenDrive::OpenDriveGeometry::hdg, NIImporter_OpenDrive::OpenDriveGeometry::length, UNUSED_PARAMETER, NIImporter_OpenDrive::OpenDriveGeometry::x, Position::x(), NIImporter_OpenDrive::OpenDriveGeometry::y, and Position::y().
Referenced by computeShapes().
|
staticprotected |
Definition at line 1641 of file NIImporter_OpenDrive.cpp.
References PositionVector::getSubpart2D(), NIImporter_OpenDrive::OpenDriveGeometry::hdg, NIImporter_OpenDrive::OpenDriveGeometry::length, NIImporter_OpenDrive::OpenDriveGeometry::params, UNUSED_PARAMETER, NIImporter_OpenDrive::OpenDriveGeometry::x, and NIImporter_OpenDrive::OpenDriveGeometry::y.
Referenced by computeShapes().
|
staticprotected |
Definition at line 1624 of file NIImporter_OpenDrive.cpp.
References PositionVector::getSubpart2D(), NIImporter_OpenDrive::OpenDriveGeometry::hdg, NIImporter_OpenDrive::OpenDriveGeometry::length, NIImporter_OpenDrive::OpenDriveGeometry::params, UNUSED_PARAMETER, NIImporter_OpenDrive::OpenDriveGeometry::x, and NIImporter_OpenDrive::OpenDriveGeometry::y.
Referenced by computeShapes().
|
staticprotected |
Definition at line 1514 of file NIImporter_OpenDrive.cpp.
References PositionVector::add(), GenericSAXHandler::error(), PositionVector::getSubpart2D(), NIImporter_OpenDrive::OpenDriveGeometry::hdg, NIImporter_OpenDrive::OpenDriveEdge::id, NIImporter_OpenDrive::OpenDriveGeometry::length, GeomHelper::naviDegree(), odrSpiral(), NIImporter_OpenDrive::OpenDriveGeometry::params, PositionVector::rotate2D(), NIImporter_OpenDrive::OpenDriveGeometry::s, toString(), UNUSED_PARAMETER, WRITE_WARNING, WRITE_WARNINGF, NIImporter_OpenDrive::OpenDriveGeometry::x, and NIImporter_OpenDrive::OpenDriveGeometry::y.
Referenced by computeShapes().
|
inherited |
returns the current file name
Definition at line 78 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myFileName.
Referenced by NLHandler::addE1Detector(), NLHandler::addE2Detector(), NLHandler::addEdgeLaneMeanData(), NLHandler::addInstantE1Detector(), ShapeHandler::addPOI(), ShapeHandler::addPoly(), NLHandler::addRouteProbeDetector(), NLHandler::addVTypeProbeDetector(), NLHandler::beginE3Detector(), GenericSAXHandler::buildErrorMessage(), PCNetProjectionLoader::load(), NLHandler::myEndElement(), RODFDetectorHandler::myStartElement(), NLHandler::myStartElement(), GUISettingsHandler::myStartElement(), SUMORouteHandler::myStartElement(), GNEAdditionalHandler::parseAndBuildPOI(), GNEAdditionalHandler::parseAndBuildPoly(), XMLSubSys::runParser(), GenericSAXHandler::startElement(), and SUMORouteLoader::SUMORouteLoader().
|
staticprotected |
Builds a node or returns the already built.
If the node is already known, it is returned. Otherwise, the node is built. If the newly built node can not be added to the container, a ProcessError is thrown. Otherwise this node is returned.
[in] | id | The id of the node to build/get |
[in,changed] | pos The position of the node to build/get | |
[filled] | nc The node container to retrieve/add the node to |
ProcessError | If the node could not be built/retrieved |
Definition at line 1243 of file NIImporter_OpenDrive.cpp.
References NBNodeCont::insert(), and NBNodeCont::retrieve().
Referenced by loadNetwork().
|
inlineprotected |
Definition at line 576 of file NIImporter_OpenDrive.h.
References mySignals.
Referenced by loadNetwork().
|
staticprotected |
Definition at line 860 of file NIImporter_OpenDrive.cpp.
References NBNode::addTrafficLight(), StringBijection< T >::get(), NBNode::getControllingTLS(), Named::getID(), OptionsCont::getOptions(), NBNetBuilder::getTLLogicCont(), NBEdge::getToNode(), NBTrafficLightLogicCont::insert(), NBNode::isTLControlled(), and SUMOXMLDefinitions::TrafficLightTypes.
Referenced by loadNetwork().
|
staticprotected |
Definition at line 1303 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::Poly3::c, NIImporter_OpenDrive::Poly3::d, and NIImporter_OpenDrive::OpenDriveEdge::elevations.
Referenced by computeShapes().
|
staticprivate |
Definition at line 1117 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::OpenDriveLaneSection::lanesByDir, NIImporter_OpenDrive::OpenDriveEdge::laneSections, OPENDRIVE_TAG_LEFT, and OPENDRIVE_TAG_RIGHT.
Referenced by buildConnectionsToOuter().
|
static |
Loads content of the optionally given SUMO file.
If the option "opendrive-files" is set, the file stored therein is read and the network definition stored therein is stored within the given network builder.
If the option "opendrive-files" is not set, this method simply returns.
The loading is done by parsing the network definition as an XML file using the SAXinterface and handling the incoming data via this class' methods.
[in] | oc | The options to use |
[in] | nb | The network builder to fill |
XXX consider lane validity
Definition at line 174 of file NIImporter_OpenDrive.cpp.
References PositionVector::add(), NBEdge::addLane2LaneConnection(), PositionVector::append(), buildConnectionsToOuter(), GeoConvHelper::cartesian2geo(), computeShapes(), NIImporter_OpenDrive::OpenDriveLink::contactPoint, DEBUG_COND, DEBUG_COND2, NIImporter_OpenDrive::OpenDriveSignal::dynamic, NIImporter_OpenDrive::OpenDriveLink::elementID, NIImporter_OpenDrive::OpenDriveLink::elementType, NBNodeCont::extract(), NIImporter_OpenDrive::OpenDriveEdge::from, NIImporter_OpenDrive::OpenDriveEdge::geom, OptionsCont::getBool(), PositionVector::getBoxBoundary(), NBEdge::getConnections(), OutputDevice::getDevice(), NBNetBuilder::getEdgeCont(), NBTypeCont::getEdgeTypeSpeed(), OptionsCont::getFloat(), NBEdge::getID(), Named::getID(), NBEdge::getLaneStruct(), GeoConvHelper::getLoaded(), NBNetBuilder::getNodeCont(), OptionsCont::getOptions(), getOrBuildNode(), NIImporter_OpenDrive::OpenDriveEdge::getPriority(), getSignals(), OptionsCont::getString(), OptionsCont::getStringVector(), PositionVector::getSubpart2D(), getTLSSecure(), NBNetBuilder::getTypeCont(), NIImporter_OpenDrive::OpenDriveSignal::id, NIImporter_OpenDrive::OpenDriveEdge::id, NBNodeCont::insert(), NBEdgeCont::insert(), OptionsCont::isDefault(), FileHelpers::isReadable(), OptionsCont::isSet(), OptionsCont::isUsableFileList(), joinNamedToString(), NIImporter_OpenDrive::OpenDriveEdge::junction, KEEPCLEAR_UNSPECIFIED, NIImporter_OpenDrive::OpenDriveEdge::laneOffsets, NIImporter_OpenDrive::OpenDriveEdge::laneSections, NIImporter_OpenDrive::OpenDriveEdge::length, PositionVector::length2D(), NIImporter_OpenDrive::OpenDriveEdge::links, NIImporter_OpenDrive::OpenDriveLink::linkType, NIImporter_OpenDrive::OpenDriveSignal::maxLane, NIImporter_OpenDrive::OpenDriveSignal::minLane, PositionVector::move2side(), myImportAllTypes, myImportInternalShapes, myImportWidths, myMinWidth, NIImporter_OpenDrive::OpenDriveSignal::name, NIImporter_OpenDrive::OpenDriveEdge::objects, OPENDRIVE_CP_END, OPENDRIVE_CP_START, OPENDRIVE_ET_ROAD, OPENDRIVE_LT_PREDECESSOR, OPENDRIVE_LT_SUCCESSOR, OPENDRIVE_TAG_LEFT, OPENDRIVE_TAG_RIGHT, NIImporter_OpenDrive::OpenDriveSignal::orientation, PositionVector::positionAtOffset(), PositionVector::positionAtOffset2D(), PROGRESS_BEGIN_MESSAGE, PROGRESS_DONE_MESSAGE, NBNodeCont::retrieve(), NBEdgeCont::retrieve(), retrieveSignalEdges(), PositionVector::reverse(), revertID(), revisitLaneSections(), RIGHT, PositionVector::rotate2D(), PositionVector::rotationAtOffset(), XMLSubSys::runParser(), NIImporter_OpenDrive::OpenDriveLaneSection::s, NIImporter_OpenDrive::OpenDriveSignal::s, sanitizeWidths(), setEdgeLinks2(), GenericSAXHandler::setFileName(), setLaneAttributes(), setNodeSecure(), Parameterised::setParameter(), NIImporter_OpenDrive::OpenDriveEdge::signals, splitMinWidths(), NIImporter_OpenDrive::OpenDriveEdge::streetName, SUMO_PARAM_ORIGID, NIImporter_OpenDrive::OpenDriveEdge::to, toString(), NIImporter_OpenDrive::OpenDriveSignal::type, UNSET_CONNECTION, NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_LOADED_LENGTH, NBEdge::UNSPECIFIED_OFFSET, NBEdge::UNSPECIFIED_SPEED, NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE, NBEdge::UNSPECIFIED_WIDTH, NBEdge::USER, GeoConvHelper::usingGeoProjection(), NBEdge::VALIDATED, NBEdgeCont::wasIgnored(), WRITE_ERROR, WRITE_WARNING, WRITE_WARNINGF, SUMOPolygon::writeXML(), PointOfInterest::writeXML(), OutputDevice::writeXMLHeader(), and RGBColor::YELLOW.
Referenced by NILoader::load().
|
protectedvirtual |
Callback method for characters to implement by derived classes.
Called by "endElement" (see there).
[in] | element | The opened element, given as a int |
[in] | chars | The complete embedded character string @exceptions ProcessError These method may throw a ProcessError if something fails |
Reimplemented from GenericSAXHandler.
Definition at line 2268 of file NIImporter_OpenDrive.cpp.
References Boundary::add(), OPENDRIVE_TAG_GEOREFERENCE, GeoConvHelper::setLoaded(), WRITE_ERROR, and WRITE_WARNING.
|
protectedvirtual |
Called when a closing tag occurs.
[in] | element | ID of the currently opened element |
ProcessError | If something fails |
Reimplemented from GenericSAXHandler.
Definition at line 2296 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::Connection::all, NIImporter_OpenDrive::OpenDriveEdge::connections, NIImporter_OpenDrive::Connection::fromCP, NIImporter_OpenDrive::Connection::fromEdge, NIImporter_OpenDrive::Connection::fromLane, NIImporter_OpenDrive::OpenDriveEdge::id, NIImporter_OpenDrive::OpenDriveEdge::laneSections, myConnectionWasEmpty, myCurrentConnectingRoad, myCurrentContactPoint, myCurrentEdge, myCurrentIncomingRoad, myEdges, myElementStack, myTypeContainer, OPENDRIVE_CP_END, OPENDRIVE_TAG_CONNECTION, OPENDRIVE_TAG_LANESECTION, OPENDRIVE_TAG_ROAD, NIImporter_OpenDrive::Connection::toCP, NIImporter_OpenDrive::Connection::toEdge, NIImporter_OpenDrive::Connection::toLane, and WRITE_ERROR.
|
protectedvirtual |
Called on the opening of a tag;.
In dependence to the obtained type, an appropriate parsing method is called ("addEdge" if an edge encounters, f.e.).
[in] | element | ID of the currently opened element |
[in] | attrs | Attributes within the currently opened element |
ProcessError | If something fails |
Reimplemented from GenericSAXHandler.
Definition at line 1935 of file NIImporter_OpenDrive.cpp.
References addGeometryShape(), addLink(), NIImporter_OpenDrive::OpenDriveEdge::connections, DEBUG_COND, NIImporter_OpenDrive::OpenDriveEdge::elevations, NIImporter_OpenDrive::Connection::fromEdge, NIImporter_OpenDrive::OpenDriveEdge::geometries, SUMOSAXAttributes::get(), OptionsCont::getFloat(), SUMOSAXAttributes::getOpt(), OptionsCont::getOptions(), gPrecision, SUMOSAXAttributes::hasAttribute(), NIImporter_OpenDrive::OpenDriveObject::hdg, NIImporter_OpenDrive::OpenDriveObject::id, NIImporter_OpenDrive::OpenDriveEdge::id, NIImporter_OpenDrive::OpenDriveEdge::junction, NIImporter_OpenDrive::OpenDriveEdge::laneSections, NIImporter_OpenDrive::OpenDriveObject::length, NIImporter_OpenDrive::OpenDriveEdge::length, MAX2(), myConnectionWasEmpty, myCurrentConnectingRoad, myCurrentContactPoint, myCurrentEdge, myCurrentIncomingRoad, myCurrentJunctionID, myCurrentLaneDirection, myEdges, myElementStack, mySignals, NIImporter_OpenDrive::OpenDriveObject::name, NIImporter_OpenDrive::OpenDriveEdge::objects, NIImporter_OpenDrive::OpenDriveEdge::offsets, OPENDRIVE_ATTR_A, OPENDRIVE_ATTR_AU, OPENDRIVE_ATTR_AV, OPENDRIVE_ATTR_B, OPENDRIVE_ATTR_BU, OPENDRIVE_ATTR_BV, OPENDRIVE_ATTR_C, OPENDRIVE_ATTR_CONNECTINGROAD, OPENDRIVE_ATTR_CONTACTPOINT, OPENDRIVE_ATTR_CU, OPENDRIVE_ATTR_CURVATURE, OPENDRIVE_ATTR_CURVEND, OPENDRIVE_ATTR_CURVSTART, OPENDRIVE_ATTR_CV, OPENDRIVE_ATTR_D, OPENDRIVE_ATTR_DISTANCE, OPENDRIVE_ATTR_DU, OPENDRIVE_ATTR_DV, OPENDRIVE_ATTR_DYNAMIC, OPENDRIVE_ATTR_ELEMENTID, OPENDRIVE_ATTR_ELEMENTTYPE, OPENDRIVE_ATTR_FROM, OPENDRIVE_ATTR_FROMLANE, OPENDRIVE_ATTR_HDG, OPENDRIVE_ATTR_ID, OPENDRIVE_ATTR_INCOMINGROAD, OPENDRIVE_ATTR_JUNCTION, OPENDRIVE_ATTR_LENGTH, OPENDRIVE_ATTR_LEVEL, OPENDRIVE_ATTR_MAX, OPENDRIVE_ATTR_NAME, OPENDRIVE_ATTR_ORIENTATION, OPENDRIVE_ATTR_PRANGE, OPENDRIVE_ATTR_RADIUS, OPENDRIVE_ATTR_S, OPENDRIVE_ATTR_SOFFSET, OPENDRIVE_ATTR_T, OPENDRIVE_ATTR_TEND, OPENDRIVE_ATTR_TO, OPENDRIVE_ATTR_TOLANE, OPENDRIVE_ATTR_TSTART, OPENDRIVE_ATTR_TYPE, OPENDRIVE_ATTR_UNIT, OPENDRIVE_ATTR_WIDTH, OPENDRIVE_ATTR_WIDTHEND, OPENDRIVE_ATTR_WIDTHSTART, OPENDRIVE_ATTR_X, OPENDRIVE_ATTR_Y, OPENDRIVE_CP_END, OPENDRIVE_CP_START, OPENDRIVE_GT_ARC, OPENDRIVE_GT_LINE, OPENDRIVE_GT_PARAMPOLY3, OPENDRIVE_GT_POLY3, OPENDRIVE_GT_SPIRAL, OPENDRIVE_LT_PREDECESSOR, OPENDRIVE_LT_SUCCESSOR, OPENDRIVE_TAG_ARC, OPENDRIVE_TAG_CENTER, OPENDRIVE_TAG_CONNECTION, OPENDRIVE_TAG_ELEVATION, OPENDRIVE_TAG_GEOMETRY, OPENDRIVE_TAG_HEADER, OPENDRIVE_TAG_JUNCTION, OPENDRIVE_TAG_LANE, OPENDRIVE_TAG_LANELINK, OPENDRIVE_TAG_LANEOFFSET, OPENDRIVE_TAG_LANESECTION, OPENDRIVE_TAG_LEFT, OPENDRIVE_TAG_LINE, OPENDRIVE_TAG_OBJECT, OPENDRIVE_TAG_PARAMPOLY3, OPENDRIVE_TAG_POLY3, OPENDRIVE_TAG_PREDECESSOR, OPENDRIVE_TAG_REPEAT, OPENDRIVE_TAG_RIGHT, OPENDRIVE_TAG_ROAD, OPENDRIVE_TAG_SIGNAL, OPENDRIVE_TAG_SIGNALREFERENCE, OPENDRIVE_TAG_SPEED, OPENDRIVE_TAG_SPIRAL, OPENDRIVE_TAG_SUCCESSOR, OPENDRIVE_TAG_VALIDITY, OPENDRIVE_TAG_WIDTH, NIImporter_OpenDrive::OpenDriveObject::radius, NIImporter_OpenDrive::OpenDriveObject::s, NIImporter_OpenDrive::OpenDriveEdge::signals, NIImporter_OpenDrive::OpenDriveObject::t, toString(), NIImporter_OpenDrive::OpenDriveObject::type, NIImporter_OpenDrive::OpenDriveObject::width, WRITE_ERROR, and WRITE_WARNING.
|
staticprotected |
Definition at line 2610 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::OpenDriveLaneSection::lanesByDir, NIImporter_OpenDrive::OpenDriveLaneSection::leftLaneNumber, OPENDRIVE_TAG_LEFT, OPENDRIVE_TAG_RIGHT, and NIImporter_OpenDrive::OpenDriveLaneSection::rightLaneNumber.
Referenced by splitMinWidths().
|
staticprotected |
Definition at line 2621 of file NIImporter_OpenDrive.cpp.
References gDebugFlag1, NIImporter_OpenDrive::OpenDriveLane::id, MAX2(), NIImporter_OpenDrive::OpenDriveLane::type, NIImporter_OpenDrive::OpenDriveLane::width, and NIImporter_OpenDrive::OpenDriveLane::widthData.
|
inherited |
Assigning a parent handler which is enabled when the specified tag is closed.
Definition at line 163 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myParentHandler, GenericSAXHandler::myParentIndicator, and XMLSubSys::setHandler().
Referenced by NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildLaneSpeedTrigger(), and NLTriggerBuilder::parseAndBuildRerouter().
|
staticprotected |
Definition at line 844 of file NIImporter_OpenDrive.cpp.
References NBNetBuilder::getEdgeCont(), NBEdge::getFromNode(), Named::getID(), NBEdge::getToNode(), and NBEdgeCont::retrieve().
Referenced by loadNetwork().
|
staticprivate |
Definition at line 1234 of file NIImporter_OpenDrive.cpp.
Referenced by loadNetwork().
|
staticprotected |
Rechecks lane sections of the given edges.
[in] | edges | The edges which lane sections shall be reviewed |
Definition at line 1433 of file NIImporter_OpenDrive.cpp.
References DEBUG_COND, gDebugFlag1, NIImporter_OpenDrive::OpenDriveEdge::id, NIImporter_OpenDrive::OpenDriveEdge::isInner, NIImporter_OpenDrive::OpenDriveEdge::laneSections, toString(), and WRITE_WARNING.
Referenced by loadNetwork().
|
staticprotected |
Definition at line 2384 of file NIImporter_OpenDrive.cpp.
References DEBUG_COND, gDebugFlag1, NIImporter_OpenDrive::OpenDriveEdge::id, NIImporter_OpenDrive::OpenDriveLaneSection::lanesByDir, NIImporter_OpenDrive::OpenDriveEdge::laneSections, NIImporter_OpenDrive::OpenDriveLaneSection::leftLaneNumber, NIImporter_OpenDrive::OpenDriveLaneSection::length, OPENDRIVE_TAG_LEFT, OPENDRIVE_TAG_RIGHT, and NIImporter_OpenDrive::OpenDriveLaneSection::rightLaneNumber.
Referenced by loadNetwork().
|
staticprotected |
Definition at line 2404 of file NIImporter_OpenDrive.cpp.
References MAX2().
|
staticprivate |
Definition at line 1147 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::Connection::all, NIImporter_OpenDrive::OpenDriveEdge::connections, NIImporter_OpenDrive::OpenDriveLink::contactPoint, DEBUG_COND, NIImporter_OpenDrive::OpenDriveLink::elementID, NIImporter_OpenDrive::OpenDriveLink::elementType, NIImporter_OpenDrive::Connection::fromCP, NIImporter_OpenDrive::Connection::fromEdge, NIImporter_OpenDrive::Connection::fromLane, NIImporter_OpenDrive::OpenDriveEdge::id, joinToString(), NIImporter_OpenDrive::OpenDriveLaneSection::laneMap, NIImporter_OpenDrive::OpenDriveLaneSection::lanesByDir, NIImporter_OpenDrive::OpenDriveEdge::laneSections, NIImporter_OpenDrive::OpenDriveEdge::links, NIImporter_OpenDrive::OpenDriveLink::linkType, myImportAllTypes, OPENDRIVE_CP_END, OPENDRIVE_ET_ROAD, OPENDRIVE_LT_SUCCESSOR, OPENDRIVE_TAG_LEFT, OPENDRIVE_TAG_RIGHT, NIImporter_OpenDrive::OpenDriveLaneSection::s, NIImporter_OpenDrive::Connection::toCP, NIImporter_OpenDrive::Connection::toEdge, NIImporter_OpenDrive::Connection::toLane, and WRITE_ERROR.
Referenced by loadNetwork().
|
inherited |
Sets the current file name.
[in] | name | The name of the currently processed file |
Definition at line 72 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myFileName.
Referenced by NIImporter_SUMO::_loadNetwork(), GUISettingsHandler::GUISettingsHandler(), NIImporter_OpenStreetMap::load(), NIImporter_Vissim::load(), PCNetProjectionLoader::load(), NITypeLoader::load(), loadNet(), ROLoader::loadNet(), NIImporter_ITSUMO::loadNetwork(), NIImporter_MATSim::loadNetwork(), loadNetwork(), main(), and XMLSubSys::runParser().
|
staticprotected |
Definition at line 877 of file NIImporter_OpenDrive.cpp.
References NBTypeCont::getEdgeTypeMaxWidth(), NBTypeCont::getEdgeTypePermissions(), NBTypeCont::getEdgeTypeSpeed(), NBTypeCont::getEdgeTypeWidth(), NBTypeCont::getEdgeTypeWidthResolution(), NIImporter_OpenDrive::OpenDriveLane::id, NIImporter_OpenDrive::OpenDriveEdge::id, MAX2(), MIN2(), myImportWidths, myMinWidth, NBEdge::Lane::permissions, Parameterised::setParameter(), NBEdge::Lane::speed, NIImporter_OpenDrive::OpenDriveLane::speed, SUMO_PARAM_ORIGID, SVC_AUTHORITY, SVC_EMERGENCY, SVC_PASSENGER, toString(), NBEdge::Lane::type, NIImporter_OpenDrive::OpenDriveLane::type, NBEdge::UNSPECIFIED_WIDTH, NBEdge::Lane::width, and NIImporter_OpenDrive::OpenDriveLane::width.
Referenced by loadNetwork().
|
staticprotected |
Definition at line 1257 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::OpenDriveEdge::from, OPENDRIVE_LT_SUCCESSOR, NBNodeCont::retrieve(), and NIImporter_OpenDrive::OpenDriveEdge::to.
Referenced by loadNetwork().
|
staticprotected |
Definition at line 2602 of file NIImporter_OpenDrive.cpp.
Referenced by splitMinWidths().
|
staticprotected |
Definition at line 2427 of file NIImporter_OpenDrive.cpp.
References DEBUG_COND, findWidthSplit(), gDebugFlag1, NIImporter_OpenDrive::OpenDriveEdge::id, NIImporter_OpenDrive::OpenDriveLaneSection::lanesByDir, NIImporter_OpenDrive::OpenDriveEdge::laneSections, NIImporter_OpenDrive::OpenDriveLaneSection::leftLaneNumber, NIImporter_OpenDrive::OpenDriveEdge::length, OPENDRIVE_TAG_LEFT, OPENDRIVE_TAG_RIGHT, recomputeWidths(), NIImporter_OpenDrive::OpenDriveLaneSection::rightLaneNumber, NIImporter_OpenDrive::OpenDriveLaneSection::s, setStraightConnections(), NIImporter_OpenDrive::OpenDriveLaneSection::sOrig, and toString().
Referenced by loadNetwork().
|
inherited |
The inherited method called when a new tag opens.
The method parses the supplied XMLCh*-qname using the internal name/enum-map to obtain the enum representation of the attribute name.
Then, "myStartElement" is called supplying the enumeration value, the string-representation of the name and the attributes.
recheck/describe encoding of the string-representation
do not generate and report the string-representation
Definition at line 97 of file GenericSAXHandler.cpp.
References GenericSAXHandler::convertTag(), FileHelpers::getConfigurationRelative(), GenericSAXHandler::getFileName(), SUMOSAXAttributesImpl_Xerces::getString(), FileHelpers::isAbsolute(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myExpectedRoot, GenericSAXHandler::myPredefinedTags, GenericSAXHandler::myPredefinedTagsMML, GenericSAXHandler::myRootSeen, GenericSAXHandler::myStartElement(), XMLSubSys::runParser(), SUMO_ATTR_HREF, SUMO_TAG_INCLUDE, StringUtils::transcode(), and WRITE_WARNING.
|
inherited |
Handler for XML-warnings.
The message is built using buildErrorMessage and reported to the warning-instance of the MsgHandler.
[in] | exception | The occurred exception to process |
Definition at line 201 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage(), and WRITE_WARNING.
|
friend |
Definition at line 2369 of file NIImporter_OpenDrive.cpp.
|
privateinherited |
A list of character strings obtained so far to build the complete characters string at the end.
Definition at line 300 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::characters(), GenericSAXHandler::endElement(), and GenericSAXHandler::startElement().
|
private |
Definition at line 599 of file NIImporter_OpenDrive.h.
Referenced by myEndElement(), and myStartElement().
|
private |
Definition at line 597 of file NIImporter_OpenDrive.h.
Referenced by myEndElement(), and myStartElement().
|
private |
Definition at line 598 of file NIImporter_OpenDrive.h.
Referenced by myEndElement(), and myStartElement().
|
private |
Definition at line 590 of file NIImporter_OpenDrive.h.
Referenced by addGeometryShape(), addLink(), myEndElement(), and myStartElement().
|
private |
Definition at line 596 of file NIImporter_OpenDrive.h.
Referenced by myEndElement(), and myStartElement().
|
private |
Definition at line 595 of file NIImporter_OpenDrive.h.
Referenced by myStartElement().
|
private |
Definition at line 594 of file NIImporter_OpenDrive.h.
Referenced by myStartElement().
|
private |
Definition at line 592 of file NIImporter_OpenDrive.h.
Referenced by myEndElement(), and myStartElement().
|
private |
Definition at line 593 of file NIImporter_OpenDrive.h.
Referenced by myEndElement(), and myStartElement().
|
privateinherited |
The root element to expect, empty string disables the check.
Definition at line 312 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::startElement().
|
privateinherited |
The name of the currently parsed file.
Definition at line 309 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::getFileName(), and GenericSAXHandler::setFileName().
|
staticprivate |
Definition at line 602 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::OpenDriveLaneSection::buildLaneMapping(), loadNetwork(), and setEdgeLinks2().
|
staticprivate |
Definition at line 605 of file NIImporter_OpenDrive.h.
Referenced by buildConnectionsToOuter(), and loadNetwork().
|
staticprivate |
Definition at line 603 of file NIImporter_OpenDrive.h.
Referenced by loadNetwork(), and setLaneAttributes().
|
staticprivate |
Definition at line 604 of file NIImporter_OpenDrive.h.
Referenced by findWidthSplit(), loadNetwork(), and setLaneAttributes().
|
privateinherited |
The handler to give control back to.
Definition at line 303 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::endElement(), and GenericSAXHandler::registerParent().
|
privateinherited |
The tag indicating that control should be given back.
Definition at line 306 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::endElement(), and GenericSAXHandler::registerParent().
|
privateinherited |
Definition at line 282 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::GenericSAXHandler(), GenericSAXHandler::startElement(), and GenericSAXHandler::~GenericSAXHandler().
|
privateinherited |
the map from ids to their string representation
Definition at line 285 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::GenericSAXHandler(), and GenericSAXHandler::startElement().
|
privateinherited |
whether the reader has already seen the root element
Definition at line 315 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::startElement().
|
private |
Definition at line 600 of file NIImporter_OpenDrive.h.
Referenced by getSignals(), and myStartElement().
|
privateinherited |
Definition at line 296 of file GenericSAXHandler.h.
Referenced by GenericSAXHandler::convertTag(), and GenericSAXHandler::GenericSAXHandler().
|
private |
Definition at line 589 of file NIImporter_OpenDrive.h.
Referenced by myEndElement().
|
staticprotected |
The names of openDrive-XML attributes (for passing to GenericSAXHandler)
Definition at line 676 of file NIImporter_OpenDrive.h.
|
staticprotected |
The names of openDrive-XML elements (for passing to GenericSAXHandler)
Definition at line 673 of file NIImporter_OpenDrive.h.