 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef NIImporter_ITSUMO_h
17 #define NIImporter_ITSUMO_h
108 void myCharacters(
int element,
const std::string& chars);
131 Lane(
const std::string& _id,
int _idx,
double _v)
142 LaneSet(
const std::string& _id,
const std::vector<Lane>& _lanes,
double _v,
int _pos,
NBNode* _from,
NBNode* _to)
157 Section(
const std::string& _id,
const std::vector<LaneSet*>& _laneSets)
Section(const std::string &_id, const std::vector< LaneSet * > &_laneSets)
@ ITSUMO_TAG_SECTION_NAME
Handler(const Handler &s)
invalidated copy constructor
Storage for edges, including some functionality operating on multiple edges.
Instance responsible for building networks.
A container for traffic light definitions and built programs.
@ ITSUMO_TAG_IS_PREFERENCIAL
std::map< std::string, LaneSet * > myLaneSets
std::vector< Lane > lanes
Handler(NBNetBuilder &toFill)
Contructor.
Container for nodes during the netbuilding process.
@ ITSUMO_TAG_LANE_POSITION
static StringBijection< int >::Entry itsumoTags[]
The names of MATSIM-XML elements (for passing to GenericSAXHandler)
The representation of a single edge during network building.
std::map< std::string, std::string > myParameter
A temporary parameter map.
NBNetBuilder & myNetBuilder
The container to fill.
@ ITSUMO_TAG_MAXIMUM_SPEED
Lane(const std::string &_id, int _idx, double _v)
LaneSet(const std::string &_id, const std::vector< Lane > &_lanes, double _v, int _pos, NBNode *_from, NBNode *_to)
std::vector< LaneSet * > laneSets
@ ITSUMO_TAG_DELIMITING_NODE
@ ITSUMO_TAG_DESTINATION_LANESET
@ ITSUMO_TAG_NETWORK_NAME
Handler & operator=(const Handler &s)
invalidated assignment operator
A storage for options typed value containers)
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given ITSUMO network files.
ItsumoXMLTag
Numbers representing ITSUMO-XML - element names.
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
@ ITSUMO_TAG_LANESET_POSITION
ItsumoXMLAttr
Numbers representing MATSIM-XML - attributes.
std::vector< Section * > mySections
@ ITSUMO_TAG_DECELERATION_PROB
std::vector< Lane > myCurrentLanes
A storage for available types of edges.
void myEndElement(int element)
Callback method for a closing tag to implement by derived classes.
Importer for networks stored in ITSUMO format.
void myCharacters(int element, const std::string &chars)
Callback method for characters to implement by derived classes.
std::vector< LaneSet * > myCurrentLaneSets
Represents a single node (junction) during network building.
@ ITSUMO_TAG_TRAFFIC_LIGHTS
A handler which converts occuring elements and attributes into enums.
Encapsulated SAX-Attributes.
static StringBijection< int >::Entry itsumoAttrs[]
The names of MATSIM-XML attributes (for passing to GenericSAXHandler)
@ ITSUMO_TAG_TURNING_PROBABILITIES