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.sourceforge.net/
15 // Copyright (C) 2001-2012 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 {
64 #ifdef _MESSAGES
65 
66  SUMO_TAG_MSG_EMITTER,
67 #endif
68 
162 
166 
186 
196 
200 
205  /* streets object */
207 
208  /* workingHours object */
212 
213  /* school object */
216 
217  /* busStation and bus objects */
224 
225  /* population and children accompaniment brackets */
228  //AGEN_TAG_CHILD_ACOMP,
229 
230  /* city entrances */
233 
234  /* parameters */
236 
237 };
238 
239 
249  /* common attributes */
264  /* sumo-junction attributes */
279  /* vehicle attributes */
297  /* Car following model attributes */
298  SUMO_ATTR_SIGMA, // used by: Krauss
299  SUMO_ATTR_TAU, // Krauss
305  /* route alternatives / distribution attributes */
312  /* trip definition attributes */
323  /* source definitions */
359 
367 #ifdef _MESSAGES
368  // Attributes for message emitter
370  SUMO_ATTR_EVENTS,
372  SUMO_ATTR_REVERSE,
374  SUMO_ATTR_TABLE,
376  SUMO_ATTR_XY,
378  SUMO_ATTR_STEP,
379  // Attribute for detectors
381  SUMO_ATTR_MSG,
382 #endif
383  // Attributes for actuated traffic lights:
388  // Attributes for junction-internal lanes
391  // Attributes for detectors
397 
404 
433 
440 
450 
455 
465 
468 
469 
473  /* general object */
483 
484  /* streets object */
485  //SUMO_ATTR_EDGE already defined
488 
489  /* workHours object */
492 
493  /* school object */
494  //SUMO_ATTR_EDGE, SUMO_ATTR_POSITION, SUMO_ATTR_TYPE already defined
498 
499  /* busStation and Bus objects */
500  // ID, EDGE, POSITION, REFID, BEGIN and END are already defined
502  //AGEN_ATTR_ORDER,
504 
505  /* population and children accompaniment brackets */
509 
510  /* parameters */
516 
517  /* city gates */
520 
521  //@name Netedit Attributes (used as virtual property holders, must be in SumoXMLAttr)
522  //
524  /* whether a feature has been loaded,guessed,modified or approved */
526  /* first coordinate of edge shape */
528  /* last coordinate of edge shape */
531 };
532 
533 /*
534  * definitions of special SumoXML-attribute values.
535  * Since these enums shall be used in switch statements we keep them separated
536  * @{
537  */
538 
545  NODETYPE_UNKNOWN, // terminator
554 };
555 
556 
568 };
569 
570 
582 };
583 
584 
597 enum LinkState {
620 };
621 
622 
644 };
645 
646 
654 };
655 
656 
658 
665 
666 public:
669 
672 
675 
678 
680 
682 
684 
686 
688 
690 
693 
694 private:
695 
697 
699 
701 
703 
705 
707 
708 };
709 
710 #endif
711 
712 /****************************************************************************/
713