SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SUMOXMLDefinitions.h
Go to the documentation of this file.
1 /****************************************************************************/
12 // Definitions of elements and attributes known by SUMO
13 /****************************************************************************/
14 // SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
15 // Copyright (C) 2001-2013 DLR (http://www.dlr.de/) and contributors
16 /****************************************************************************/
17 //
18 // This file is part of SUMO.
19 // SUMO is free software: you can redistribute it and/or modify
20 // it under the terms of the GNU General Public License as published by
21 // the Free Software Foundation, either version 3 of the License, or
22 // (at your option) any later version.
23 //
24 /****************************************************************************/
25 #ifndef SUMOXMLDefinitions_h
26 #define SUMOXMLDefinitions_h
27 
28 
29 // ===========================================================================
30 // included modules
31 // ===========================================================================
32 #ifdef _MSC_VER
33 #include <windows_config.h>
34 #else
35 #include <config.h>
36 #endif
37 
39 
40 // ===========================================================================
41 // definitions
42 // ===========================================================================
49 enum SumoXMLTag {
158 
164 
186 
197 
201 
206  /* streets object */
208 
209  /* workingHours object */
213 
214  /* school object */
217 
218  /* busStation and bus objects */
225 
226  /* population and children accompaniment brackets */
229  //AGEN_TAG_CHILD_ACOMP,
230 
231  /* city entrances */
234 
235  /* parameters */
237 
238 };
239 
240 
250  /* common attributes */
268  /* sumo-junction attributes */
283  /* vehicle attributes */
301  /* Car following model attributes */
302  SUMO_ATTR_SIGMA, // used by: Krauss
303  SUMO_ATTR_TAU, // Krauss
309  /* route alternatives / distribution attributes */
316  /* trip definition attributes */
327  /* source definitions */
365 
373  // Attributes for actuated traffic lights:
378  // Attributes for junction-internal lanes
381  // Attributes for detectors
387 
394 
425 
432 
442 
447 
457 
462 
463 
467  /* general object */
477 
478  /* streets object */
479  //SUMO_ATTR_EDGE already defined
482 
483  /* workHours object */
486 
487  /* school object */
488  //SUMO_ATTR_EDGE, SUMO_ATTR_POSITION, SUMO_ATTR_TYPE already defined
492 
493  /* busStation and Bus objects */
494  // ID, EDGE, POSITION, REFID, BEGIN and END are already defined
496  //AGEN_ATTR_ORDER,
498 
499  /* population and children accompaniment brackets */
503 
504  /* parameters */
510 
511  /* city gates */
514 
515  //@name Netedit Attributes (used as virtual property holders, must be in SumoXMLAttr)
516  //
518  /* whether a feature has been loaded,guessed,modified or approved */
520  /* first coordinate of edge shape */
522  /* last coordinate of edge shape */
525 };
526 
527 /*
528  * definitions of special SumoXML-attribute values.
529  * Since these enums shall be used in switch statements we keep them separated
530  * @{
531  */
532 
539  NODETYPE_UNKNOWN, // terminator
541  NODETYPE_TRAFFIC_LIGHT_NOJUNCTION, // junction controlled only by traffic light but without other prohibitions
543  NODETYPE_PRIORITY_STOP, // like priority but all minor links have stop signs
551 };
552 
553 
565 };
566 
567 
579 };
580 
581 
594 enum LinkState {
621 };
622 
623 
645 };
646 
647 
655 };
656 
657 
659 
666 
667 public:
670 
673 
676 
679 
681 
683 
685 
687 
689 
691 
694 
695 private:
696 
698 
700 
702 
704 
706 
708 
709 };
710 
711 #endif
712 
713 /****************************************************************************/
714