Beruflich Dokumente
Kultur Dokumente
Contents
Todo List
Hierarchical Index
2.1
Class Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Class Index
3.1
Class List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Index
13
4.1
13
File List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Class Documentation
17
5.1
17
5.1.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17
18
5.2.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18
5.2
Detailed Description
Detailed Description
5.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18
5.4
19
5.5
19
5.5.1
Detailed Description
21
5.5.2
5.6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21
5.5.2.1
closeTag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21
5.5.2.2
openTag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21
5.5.2.3
openTag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21
5.5.2.4
writeAttr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
5.5.2.5
writeAttr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
5.5.2.6
writeHeader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
5.5.2.7
writePreformattedTag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
5.5.2.8
writeXMLHeader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
24
5.6.1
Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25
5.6.2
25
5.6.2.1
25
BinaryInputDevice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iv
CONTENTS
5.6.3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25
5.6.3.1
good . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25
5.6.3.2
peek . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25
5.6.3.3
putback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26
5.6.3.4
read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26
26
5.6.4.1
operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26
5.6.4.2
operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26
5.6.4.3
operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26
5.6.4.4
operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27
5.6.4.5
operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27
5.6.4.6
operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27
5.6.4.7
operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27
5.6.4.8
operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28
5.6.4.9
operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28
5.6.4.10 operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28
5.6.4.11 operator>> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
29
5.7.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
5.8
30
5.9
30
5.9.1
Detailed Description
30
5.9.2
5.6.4
5.7
Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
execute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
31
5.9.2.1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31
31
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32
33
5.11.2.1 Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
5.11.3.1 component_sync_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
5.11.3.2 init_timer_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
5.11.3.3 startUp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
33
5.11.4.1 comp_queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
5.11.4.2 comp_sync_pub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33
5.11.4.3 comp_sync_sub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
5.11.4.4 config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
5.11.4.5 init_timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
5.11.4.6 logger
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
5.11.4.7 node_argc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
5.11.4.8 node_argv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
34
35
35
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
36
36
5.14.2.1 control_stream_ddos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
36
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
36
5.14.3.1 component_sync_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . .
36
5.14.3.2 init_timer_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
5.14.3.3 startUp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
37
5.14.4.1 comp_queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
5.14.4.2 comp_sync_pub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
5.14.4.3 comp_sync_sub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
5.14.4.4 config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
5.14.4.5 init_timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
5.14.4.6 logger
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37
5.14.4.7 node_argc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38
5.14.4.8 node_argv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38
38
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
39
5.15.2.1 controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
5.15.3.1 component_sync_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
5.15.3.2 controller_timer_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
5.15.3.3 init_timer_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
5.15.3.4 ryg_state_sub_operation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40
5.15.3.5 sensor_state_sub_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40
5.15.3.6 startUp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40
40
5.15.4.1 comp_queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40
5.15.4.2 comp_sync_pub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40
5.15.4.3 comp_sync_sub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40
5.15.4.4 config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40
5.15.4.5 init_timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
41
5.15.4.6 logger
41
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
vi
CONTENTS
5.15.4.7 node_argc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
41
5.15.4.8 node_argv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
41
41
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
41
42
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
43
5.18.2.1 e3_sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
5.18.3.1 component_sync_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
5.18.3.2 e3_update_timer_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
5.18.3.3 init_timer_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
5.18.3.4 startUp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
43
5.18.4.1 comp_queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
5.18.4.2 comp_sync_pub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
5.18.4.3 comp_sync_sub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
5.18.4.4 config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
5.18.4.5 init_timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
5.18.4.6 logger
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
5.18.4.7 node_argc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
5.18.4.8 node_argv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44
44
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
45
45
5.19.2.1 e3_sensor_stream_ddos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
45
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
45
5.19.3.1 component_sync_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . .
45
5.19.3.2 init_timer_operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
5.19.3.3 startUp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
46
5.19.4.1 comp_queue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
5.19.4.2 comp_sync_pub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
5.19.4.3 comp_sync_sub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
5.19.4.4 config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
5.19.4.5 init_timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
5.19.4.6 logger
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
5.19.4.7 node_argc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47
5.19.4.8 node_argv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47
. . . . . . . . . . . . . . . .
47
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
vii
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47
5.20.2.1 addEdgeWeight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47
48
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
48
49
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
49
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
49
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
49
50
50
51
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
51
. . . . . . . . . . . . . . . . . . . . . .
51
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
51
51
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52
52
5.29.2.1 file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52
5.29.2.2 file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52
5.29.3.1 data
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52
5.29.3.2 data
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52
5.29.3.3 size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53
53
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54
5.30.2.1 checkForRelativity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54
5.30.2.2 getConfigurationRelative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54
5.30.2.3 getFilePath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
54
5.30.2.4 isAbsolute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
5.30.2.5 isReadable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
5.30.2.6 isSocket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
5.30.2.7 readEdgeVector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
55
5.30.2.8 writeByte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
56
5.30.2.9 writeEdgeVector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
57
5.30.2.10 writeFloat
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
57
5.30.2.11 writeInt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
57
5.30.2.12 writeString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
57
5.30.2.13 writeTime
58
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
viii
CONTENTS
5.30.2.14 writeUInt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
58
58
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
59
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
59
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
60
61
5.32.2.1 GenericSAXHandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61
5.32.3.1 buildErrorMessage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61
5.32.3.2 characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61
5.32.3.3 endElement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61
5.32.3.4 error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62
5.32.3.5 fatalError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62
5.32.3.6 getFileName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62
5.32.3.7 myCharacters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62
5.32.3.8 myEndElement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62
5.32.3.9 myStartElement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
5.32.3.10 setFileName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
5.32.3.11 startElement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
5.32.3.12 warning
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
63
64
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64
65
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
65
65
5.34.2.1 IDSupplier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
65
65
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
66
66
66
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
67
67
67
68
69
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
69
70
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
71
71
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
71
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
ix
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
72
5.43.2.1 create_file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
72
5.43.2.2 log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
73
5.43.2.3 set_is_periodic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
73
5.43.2.4 set_logs_to_file
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
73
5.43.2.5 set_max_log_unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
73
73
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
74
74
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
75
75
5.45.2.1 memory_pool
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
75
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
75
5.45.3.1 allocate_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
76
5.45.3.2 allocate_node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
76
5.45.3.3 allocate_string . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
76
5.45.3.4 clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
77
5.45.3.5 clone_node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
77
5.45.3.6 set_allocator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
77
77
78
79
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80
80
5.48.2.1 MsgType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80
5.48.3.1 beginProcessMsg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80
5.48.3.2 operator<< . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80
81
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
82
82
5.49.2.1 MsgRetrievingFunction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
82
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
83
5.49.3.1 closeTag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
83
5.49.3.2 createDeviceByOption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
83
5.49.3.3 getDevice
83
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.49.3.4 getDeviceByOption
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
84
5.49.3.5 getOStream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
84
5.49.3.6 inform
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
84
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
85
5.49.3.7 isBinary
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
5.49.3.8 ok
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
85
5.49.3.9 openTag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
85
5.49.3.10 openTag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
85
5.49.3.11 operator<< . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
85
5.49.3.12 realString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
86
5.49.3.13 setPrecision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
5.49.3.14 writeAttr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
5.49.3.15 writeAttr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
5.49.3.16 writeNonEmptyAttr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
5.49.3.17 writePreformattedTag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
88
5.49.3.18 writeXMLHeader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
88
88
90
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
90
90
5.51.2.1 Named . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
90
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
90
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
90
5.51.3.2 getID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
91
5.51.3.3 setID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
91
91
5.51.3.1 addTo
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
91
91
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
92
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
92
5.53.2.1 add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
92
5.53.2.2 erase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
92
5.53.2.3 get . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
93
5.53.2.4 remove . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
93
5.53.2.5 size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
93
93
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
94
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
94
5.54.2.1 Insert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
94
5.54.2.2 Remove . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
94
5.54.2.3 RemoveAll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
95
5.54.2.4 Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
95
95
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
96
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
xi
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
5.56.2.1 Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
5.56.2.2 getCurrentInterval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
5.56.2.3 getDataAtTime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
5.56.2.4 getNextInterval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
97
5.56.3.1 resources
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
98
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
98
98
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
xii
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
CONTENTS
xiii
5.61.2.3 getFloat
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
xiv
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
CONTENTS
xv
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
xvi
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
5.71.2.4 getDeviceByOption
5.71.2.5 inform
5.71.2.6 isBinary
5.71.2.7 ok
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
CONTENTS
xvii
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
5.72.2.4 getDevice
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
5.72.2.5 getDeviceByOption
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
5.72.2.8 isBinary
5.72.2.9 ok
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
5.73.2.4 getDevice
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
5.73.2.5 getDeviceByOption
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
xviii
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
5.74.3.4 getDeviceByOption
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
5.74.3.7 isBinary
5.74.3.8 ok
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
xix
5.75.3.4 getDeviceByOption
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
5.75.3.7 isBinary
5.75.3.8 ok
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
5.76.2.4 getDeviceByOption
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
xx
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
xxi
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
5.90.3.3 changedBrightness
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
xxii
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
xxiii
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
5.103.2.2 StringTokenizer
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
5.103.2.3 StringTokenizer
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
xxiv
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
5.110.2.7 getFloat
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
5.110.2.10getName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
5.110.2.11getNodeType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
5.110.2.12getOpt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
5.110.2.13getOptSUMOTimeReporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
5.110.2.14getShape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
5.110.2.15getString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
5.110.2.16getStringSecure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
5.110.2.17getStringSecure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
5.110.2.18getStringVector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
5.110.2.19getSUMOTimeReporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
xxv
5.110.2.20hasAttribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
5.110.2.21hasAttribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
5.110.2.22parseStringSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
5.110.2.23parseStringVector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
5.110.2.24serialize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
5.111SUMOSAXAttributesImpl_Binary Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 261
5.111.1 Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
5.111.3.7 getFloat
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
5.111.3.10getName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
5.111.3.11getNodeType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
5.111.3.12getOpt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
5.111.3.13getOptSUMOTimeReporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
5.111.3.14getShape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
5.111.3.15getString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
5.111.3.16getStringSecure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
5.111.3.17getStringSecure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
5.111.3.18getStringVector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
5.111.3.19getSUMOTimeReporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
5.111.3.20hasAttribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
5.111.3.21parseStringSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
5.111.3.22parseStringVector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
5.111.3.23serialize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
5.112SUMOSAXAttributesImpl_Xerces Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 270
5.112.1 Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
xxvi
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
5.112.3.7 getFloat
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
5.112.3.10getName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
5.112.3.11getNodeType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
5.112.3.12getOpt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
5.112.3.13getOptSUMOTimeReporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
5.112.3.14getShape . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
5.112.3.15getString . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
5.112.3.16getStringSecure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
5.112.3.17getStringSecure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
5.112.3.18getStringVector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
5.112.3.19getSUMOTimeReporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
5.112.3.20hasAttribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
5.112.3.21parseStringSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
5.112.3.22parseStringVector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
5.112.3.23serialize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
5.113SUMOSAXHandler Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
5.113.1 Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
xxvii
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
5.117.2.1 addConfigurationOptions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
xxviii
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
CONTENTS
xxix
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
xxx
CONTENTS
5.134.2.10readTypeCheckingStringList . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
5.134.2.11readTypeCheckingUnsignedByte . . . . . . . . . . . . . . . . . . . . . . . . . 316
5.134.2.12wasClosed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
5.134.2.13writeErrorStatusCmd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
5.134.2.14writeStatusCmd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
5.134.2.15writeStatusCmd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
5.135TraCIServerAPI_AreaDetector Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
5.135.1 Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
. . . . . . . . . . . . . . . . . . . . . . . . . . 324
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
CONTENTS
xxxi
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
xxxii
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
CONTENTS
xxxiii
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
. . . . . . . . . . . . . . . . . . . . . . . 347
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
5.160.2.11insert_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
5.160.2.12insert_node
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
5.160.2.13last_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
5.160.2.14last_node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
5.160.2.15name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
5.160.2.16name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
xxxiv
CONTENTS
5.160.2.17name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
5.160.2.18name_size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
5.160.2.19next_sibling
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
5.160.2.20parent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
5.160.2.21parse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
5.160.2.22prepend_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
5.160.2.23prepend_node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
5.160.2.24previous_sibling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
5.160.2.25remove_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
5.160.2.26remove_first_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
5.160.2.27remove_first_node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
5.160.2.28remove_last_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
5.160.2.29remove_last_node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
5.160.2.30set_allocator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
5.160.2.31type
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
5.160.2.32type
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
5.160.2.33value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
5.160.2.34value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
5.160.2.35value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
5.160.2.36value_size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
5.161rapidxml::xml_node< Ch > Class Template Reference
5.161.1 Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . 362
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
5.161.3.15parent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
xxxv
5.161.3.16prepend_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
5.161.3.17prepend_node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
5.161.3.18previous_sibling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
5.161.3.19remove_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
5.161.3.20remove_first_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
5.161.3.21remove_first_node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
5.161.3.22remove_last_attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
5.161.3.23remove_last_node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
5.161.3.24type
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
5.161.3.25type
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
5.161.3.26value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
5.161.3.27value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
5.161.3.28value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
5.161.3.29value_size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
5.162XMLParser Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
5.163XMLSubSys Class Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
5.163.1 Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
File Documentation
6.1
6.2
Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
6.7
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
6.6
Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . 375
6.5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
6.4
Detailed Description
6.3
375
Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
xxxvi
6.8
CONTENTS
6.9
Detailed Description
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380
Detailed Description
. . . . . . . . . . . . . . . . . . . 380
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
. . . . . . . . . . . . . . 392
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
xxxvii
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
. . . . . . . . . . . . . . . . . . 406
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
xxxviii
CONTENTS
6.44.3.3 getVehicleClassNames
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
CONTENTS
xxxix
. . . . . . . . . . . . . . . . 425
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
. . . . . . . . . . . . . . . . . . 435
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
xl
CONTENTS
. . . . . . . . . . . . . . . . . . . 439
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
. . . . . . . . . . . . . . . . . . . . . 448
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
. . . . . . . . . . . . . . . . . . . 452
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456
CONTENTS
xli
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
xlii
CONTENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
468
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Chapter 1
Todo List
Member BinaryFormatter::closeTag (std::ostream &into)
it is not verified that the topmost element was closed
Member BinaryFormatter::writeXMLHeader (std::ostream &into, const std::string &rootElement, const std::string &attrs="", const std::string &comment="")
Check which parameter is used herein
Describe what is saved
Class BinaryInputDevice
Recheck whether this class could be replaced by a "normal InputDevice"
Maybe some kind of a well-defined types should be used (so that they have a well-defined length)
Maybe the byte-order should be defined
Member BinaryInputDevice::operator>> (BinaryInputDevice &os, std::string &s)
Use either a buffer with a flexible size or report an error if the buffer is too small!
Member BinaryInputDevice::operator>> (BinaryInputDevice &os, std::vector< std::string > &v)
Use either a buffer with a flexible size or report an error if the buffer is too small!
Member BinaryInputDevice::operator>> (BinaryInputDevice &os, std::vector< unsigned int > &v)
Use either a buffer with a flexible size or report an error if the buffer is too small!
Member BinaryInputDevice::operator>> (BinaryInputDevice &os, std::vector< std::vector< unsigned int
> > &v)
Use either a buffer with a flexible size or report an error if the buffer is too small!
Member GenericSAXHandler::characters (const XMLCh const chars, const XERCES3_SIZE_t length)
recheck/describe what happens with characters when a new element is opened
describe characters processing in the class head
Member GenericSAXHandler::endElement (const XMLCh const uri, const XMLCh const localname, const
XMLCh const qname)
recheck/describe encoding of the string-representation
do not generate and report the string-representation
Member GenericSAXHandler::GenericSAXHandler (StringBijection< int >::Entry tags, int terminatorTag,
StringBijection< int >::Entry attrs, int terminatorAttr, const std::string &file)
Why are both lists non-const and given as pointers?
Member GenericSAXHandler::setFileName (const std::string &name)
Hmmm - this is as unsafe as having a direct access to the variable; recheck
Member GenericSAXHandler::startElement (const XMLCh const uri, const XMLCh const localname,
const XMLCh const qname, const XERCES_CPP_NAMESPACE::Attributes &attrs)
recheck/describe encoding of the string-representation
do not generate and report the string-representation
Todo List
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Chapter 2
Hierarchical Index
2.1
Class Hierarchy
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
18
19
24
30
30
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
31
31
.
.
.
.
.
.
.
.
. 35
. 38
. 42
. 44
. 240
. 291
. 295
. 298
ComponentConfig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
34
35
IPV4_Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
IPV6_Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
CSVIterator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
CSVRow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
DefaultHandler
GenericSAXHandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
SUMOSAXHandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
SAXWeightsHandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
SUMORouteHandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
SAXWeightsHandler::EdgeFloatTimeLineRetriever . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
StringBijection< T >::Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
EulerSpiral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
EulerSpiralLookupTable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
EulerSpiralParams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Network::Exceeded_Production_profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Network::Exceeded_Production_Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
exception
Hierarchical Index
rapidxml::parse_error . . .
tcpip::SocketException . .
rapidxml::file< Ch > . . . . . .
FileHelpers . . . . . . . . . .
HandlerBase
OptionsLoader . . . . . . .
IDSupplier . . . . . . . . . . .
invalid_return< X > . . . . . .
Logger . . . . . . . . . . . . .
rapidxml::memory_pool< Ch >
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. . 201
. . 228
. 51
. 53
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. . 152
. 65
. 66
. 71
. 74
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
77
79
88
90
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. . 93
. 91
. 91
. 95
. 96
. . . . . . . . . . . . . . . . . . . . . . . 78
. . . . . . . . . . . . . . . . . . . . . . . 78
. . . . . . . . . . . . . . . . . . . . . . 98
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 104
. 115
. 121
. 126
. 132
. 109
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
137
138
151
154
155
MsgRetrievingFunction< T >
OutputDevice_CERR . . . .
OutputDevice_COUT . . . .
OutputDevice_File . . . . . .
OutputDevice_Network . . .
OutputDevice_String . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 81
. 162
. 169
. 176
. 183
. 190
Options . . .
OptionsCont .
OptionsIO . .
OptionsParser
OutputDevice
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
OutputFormatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
BinaryFormatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
PlainXMLFormatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Parameterised . . . . . . . .
Point2D< coord_type > . . .
Point2D< double > . . . . .
RandHelper . . . . . . . . .
RandomDistributor< T > . .
Network::receiver . . . . . .
Network::ResourceEntry . .
RGBColor . . . . . . . . . .
runtime_error
EmptyData . . . . . . . .
FormatException . . . .
BoolFormatException
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
199
205
205
209
210
212
213
213
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
NumberFormatException . . . .
OutOfBoundsException . . . . . . .
ProcessError . . . . . . . . . . . . .
InvalidArgument . . . . . . . . .
IOError . . . . . . . . . . . . . .
TraCIException . . . . . . . . . . .
UnknownElement . . . . . . . . . .
AbstractMutex::ScopedLocker . . . . . .
Network::sender . . . . . . . . . . . . .
tcpip::Socket . . . . . . . . . . . . . . .
tcpip::Storage . . . . . . . . . . . . . .
Named::StoringVisitor . . . . . . . . . .
TraCIServerAPI_Lane::StoringVisitor . .
streambuf
Network::profileMemBuf . . . . . . .
StringBijection< T > . . . . . . . . . .
StringBijection< int > . . . . . . . . . .
StringBijection< LaneChangeModel > .
StringBijection< LaneSpreadFunction >
StringBijection< LinkDirection > . . . .
StringBijection< LinkState > . . . . . .
StringBijection< SumoXMLEdgeFunc >
StringBijection< SumoXMLNodeType >
StringBijection< TrafficLightType > . . .
StringTokenizer . . . . . . . . . . . . .
StringUtils . . . . . . . . . . . . . . . .
SUMORouteLoader . . . . . . . . . . .
SUMORouteLoaderControl . . . . . . .
SUMOSAXAttributes . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 98
. 155
. 208
. 66
. 67
. 309
. 336
224
225
227
230
231
231
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 208
232
232
232
232
232
232
232
232
232
232
234
250
251
252
SUMOSAXAttributesImpl_Binary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
SUMOSAXAttributesImpl_Xerces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
SUMOSAXReader . . . . . . . . . . . . .
SUMOVehicleParserHelper . . . . . . . .
SUMOXMLDefinitions . . . . . . . . . . .
SystemFrame . . . . . . . . . . . . . . .
SysUtils . . . . . . . . . . . . . . . . . .
SAXWeightsHandler::ToRetrieveDefinition
TplConvert . . . . . . . . . . . . . . . . .
TraCIAPI . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
283
284
289
289
291
301
302
303
SUMO_CLIENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
TraCIAPI::TraCIBoundary . . .
TraCIAPI::TraCIColor . . . . .
TraCIAPI::TraCILink . . . . . .
TraCIAPI::TraCILogic . . . . .
TraCIAPI::TraCIPhase . . . . .
TraCIAPI::TraCIPosition . . . .
TraCIPositionVector . . . . . .
TraCIAPI::TraCIScopeWrapper
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
308
308
309
309
310
310
310
311
TraCIAPI::AreaScope . . . . .
TraCIAPI::EdgeScope . . . . .
TraCIAPI::GUIScope . . . . . .
TraCIAPI::InductionLoopScope
TraCIAPI::JunctionScope . . .
TraCIAPI::LaneScope . . . . .
TraCIAPI::MeMeScope . . . .
TraCIAPI::POIScope . . . . . .
TraCIAPI::PolygonScope . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 18
. 48
. 64
. 65
. 69
. 70
. 73
. 206
. 207
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Hierarchical Index
TraCIAPI::RouteScope . . .
TraCIAPI::SimulationScope .
TraCIAPI::TrafficLightScope .
TraCIAPI::VehicleTypeScope
TraCIServerAPI_AreaDetector
TraCIServerAPI_ArealDetector
TraCIServerAPI_Edge . . . . .
TraCIServerAPI_InductionLoop
TraCIServerAPI_Junction . . .
TraCIServerAPI_Lane . . . . .
TraCIServerAPI_MeMeDetector
TraCIServerAPI_Person . . . .
TraCIServerAPI_POI . . . . .
TraCIServerAPI_Polygon . . .
TraCIServerAPI_Route . . . .
TraCIServerAPI_Simulation . .
TraCIServerAPI_TLS . . . . .
TraCIServerAPI_Vehicle . . . .
TraCIServerAPI_VehicleType .
ValueRetriever< T > . . . . .
ValueSource< T > . . . . . .
ValueTimeLine< T > . . . . .
VectorHelper< T > . . . . . .
VehicleStateListener
TraCIServer . . . . . . . .
rapidxml::xml_base< Ch > . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 219
. 226
. 335
. 339
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
317
317
318
319
321
323
324
325
326
328
329
330
332
332
334
336
336
337
339
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Chapter 3
Class Index
3.1
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
AbstractMutex
An abstract class for encapsulating mutex implementations . . . . . . . .
TraCIAPI::AreaScope
Scope for interaction with areal detectors . . . . . . . . . . . . . . . . .
BiArc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
BiArcParams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
BinaryFormatter
Output formatter for plain XML output . . . . . . . . . . . . . . . . . . .
BinaryInputDevice
Encapsulates binary reading operations on a file . . . . . . . . . . . . .
BoolFormatException
BoolFormatException Thrown when the string that shall be converted into
match . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network::Buffer_Empty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Command
Base (microsim) event class . . . . . . . . . . . . . . . . . . . . . . . .
Named::ComparatorIdLess
Function-object for stable sorting in containers . . . . . . . . . . . . . . .
Component
Component class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ComponentConfig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
control_stream_ddos
Component Message and Service Headers . . . . . . . . . . . . . . . .
controller
Component Message and Service Headers . . . . . . . . . . . . . . . .
CSVIterator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CSVRow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
e3_sensor
Component Message and Service Headers . . . . . . . . . . . . . . . .
e3_sensor_stream_ddos
Component Message and Service Headers . . . . . . . . . . . . . . . .
SAXWeightsHandler::EdgeFloatTimeLineRetriever
Interface for a class which obtains read weights for named edges . . . . .
TraCIAPI::EdgeScope
Scope for interaction with edges . . . . . . . . . . . . . . . . . . . . . .
EmptyData
EmptyData Thrown when data required by a method is missing . . . . . .
. . . . . . . . . . .
17
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
18
18
19
. . . . . . . . . . .
19
. . . . . . . . . . .
24
29
30
. . . . . . . . . . .
30
. . . . . . . . . . .
31
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
31
34
35
. . . . . . . . . . .
35
. . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . .
38
41
41
. . . . . . . . . . .
42
. . . . . . . . . . .
44
. . . . . . . . . . .
47
. . . . . . . . . . .
48
. . . . . . . . . . .
49
Class Index
StringBijection< T >::Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EulerSpiral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EulerSpiralLookupTable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EulerSpiralParams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network::Exceeded_Production_profile
Exception class thrown when application exceeds allowed data production . . . . . . . . . . .
Network::Exceeded_Production_Profile
Exception class thrown when application exceeds allowed data production . . . . . . . . . . .
rapidxml::file< Ch >
Represents data loaded from a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
FileHelpers
Functions for an easier usage of files and paths . . . . . . . . . . . . . . . . . . . . . . . . .
FormatException
FormatException Thrown when a string that shall be converted into something else contained
the wrong characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
GenericSAXHandler
A handler which converts occuring elements and attributes into enums . . . . . . . . . . . . .
TraCIAPI::GUIScope
Scope for interaction with the gui . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IDSupplier
This class builds string ids by adding an increasing numerical value to a previously given string
TraCIAPI::InductionLoopScope
Scope for interaction with inductive loops . . . . . . . . . . . . . . . . . . . . . . . . . . . .
invalid_return< X > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
InvalidArgument
InvalidArgument Thrown when an argument was not proper in the current context A message
will be supplied . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IOError . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IPV4_Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IPV6_Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::JunctionScope
Scope for interaction with junctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::LaneScope
Scope for interaction with lanes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logger
Logger.hpp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::MeMeScope
Scope for interaction with multi entry/-exit detectors . . . . . . . . . . . . . . . . . . . . . . .
rapidxml::memory_pool< Ch >
This class is used by the parser to create new nodes and attributes, without overheads of dynamic memory allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network::Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network::message_buffer< T > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MsgHandler
MsgHandler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
MsgRetrievingFunction< T >
Encapsulates an objects method for using it as a message retriever . . . . . . . . . . . . . .
MTRand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Named
Base class for objects which have an id . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Named::NamedLikeComparatorIdLess< NamedLike >
Function-object for stable sorting of objects acting like Named without being derived (SUMOVehicle) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NamedObjectCont< T >
A map of named object pointers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
NamedRTree
A RT-tree for efficient storing of SUMOs Named objects . . . . . . . . . . . . . . . . . . . . .
NetworkBuffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
49
49
50
50
51
51
51
53
58
59
64
65
65
66
66
67
67
68
69
70
71
73
74
77
78
79
81
88
90
91
91
93
95
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Network::NetworkProfile
Defines how the bandwidth and latency of a given network link vary as functions of time over a
specified period . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
NumberFormatException
NumberFormatException Thrown when the string that shall be converted into a numerical representation has any other characters then digits and a dot . . . . . . . . . . . . . . . . . . . . . 98
Option
A class representing a single program option . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Option_Bool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Option_FileName . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Option_Float . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Option_Integer
An integer-option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Option_IntVector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Option_String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
OptionsCont
A storage for options typed value containers) . . . . . . . . . . . . . . . . . . . . . . . . . . 138
OptionsIO
Helping methods for parsing of command line arguments and reading a configuration file . . . 151
OptionsLoader
A SAX-Handler for loading options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
OptionsParser
Parses command line arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
OutOfBoundsException
OutOfBoundsException Thrown when an array element out of the arrays bounderies is accessed 155
OutputDevice
Static storage of an output device and its base (abstract) implementation . . . . . . . . . . . . 155
OutputDevice_CERR
An output device that encapsulates cerr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
OutputDevice_COUT
An output device that encapsulates cout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
OutputDevice_File
An output device that encapsulates an ofstream . . . . . . . . . . . . . . . . . . . . . . . . . 176
OutputDevice_Network
An output device for TCP/IP network connections . . . . . . . . . . . . . . . . . . . . . . . . 183
OutputDevice_String
An output device that encapsulates an ofstream . . . . . . . . . . . . . . . . . . . . . . . . . 190
OutputFormatter
Abstract base class for output formatters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Parameterised
An upper class for objects with additional parameters . . . . . . . . . . . . . . . . . . . . . . 199
rapidxml::parse_error
Parse error exception . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
PlainXMLFormatter
Output formatter for plain XML output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Point2D< coord_type > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
TraCIAPI::POIScope
Scope for interaction with POIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
TraCIAPI::PolygonScope
Scope for interaction with polygons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
ProcessError
ProcessError A general exception type that may be thrown when the process is no longer able
to proceed due to any reason . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
Network::profileMemBuf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
RandHelper
Utility functions for using a global, resetable random number generator . . . . . . . . . . . . . 209
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
10
Class Index
RandomDistributor< T >
Represents a generic random distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network::receiver
Allows for the reception of data through a (possibly fixed-size) buffer at a configurable rate that
can vary as a function of time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network::ResourceEntry
Holds the information about an interval of time starting at time, with constant bandwidth and
max_bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RGBColor
The definition of a color in the RGB-space with an alpha channel . . . . . . . . . . . . . . . .
TraCIAPI::RouteScope
Scope for interaction with routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SAXWeightsHandler
An XML-handler for network weights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AbstractMutex::ScopedLocker
A mutex encapsulator which locks/unlocks the given mutex on construction/destruction, respectively . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Network::sender
Allows for the sending of data (possibly through a buffer) at a configurable rate and with configurable push-back to inform if the rate has been exceeded . . . . . . . . . . . . . . . . . . . .
TraCIAPI::SimulationScope
Scope for interaction with the simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
tcpip::Socket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
tcpip::SocketException . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
StaticCommand< T >
A wrapper for a Command function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
tcpip::Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Named::StoringVisitor
Allows to store the object; used as context while traveling the rtree in TraCI . . . . . . . . . . .
TraCIServerAPI_Lane::StoringVisitor
Allows to store the object; used as context while traveling the rtree in TraCI . . . . . . . . . . .
StringBijection< T >
Template container for maintaining a bidirectional map between strings and something else It is
not always a bijection since it allows for duplicate entries on both sides if either checkDuplicates
is set to false in the constructor or the insert function or if the addAlias function is used . . . .
StringTokenizer
StringTokenizer A class similar to the StringTokenizer from Java . . . . . . . . . . . . . . . .
StringUtils
Some static methods for string processing . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SUMO_CLIENT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
sumo_intf
Component Message and Service Headers . . . . . . . . . . . . . . . . . . . . . . . . . . .
SUMORouteHandler
Parser for routes during their loading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SUMORouteLoader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SUMORouteLoaderControl
SUMORouteLoaderControl This controls is initialised with the list of route loaders and uses them
to load routes step wise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SUMOSAXAttributes
Encapsulated SAX-Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SUMOSAXAttributesImpl_Binary
Encapsulated Xerces-SAX-attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SUMOSAXAttributesImpl_Xerces
Encapsulated Xerces-SAX-attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SUMOSAXHandler
SAX-handler base for SUMO-files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SUMOSAXReader
SAX-reader encapsulation containing binary reader . . . . . . . . . . . . . . . . . . . . . . .
210
212
213
213
219
220
224
225
226
227
228
228
230
231
231
232
232
234
235
240
244
250
251
252
261
270
279
283
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
SUMOVehicleParserHelper
Helper methods for parsing vehicle attributes . . . . . . . . . . . . . .
SUMOXMLDefinitions
Class for maintaining associations between enums and xml-strings . . .
SystemFrame
A set of actions common to all applications . . . . . . . . . . . . . . .
SysUtils
A few system-specific functions . . . . . . . . . . . . . . . . . . . . .
tl_actuator
Component Message and Service Headers . . . . . . . . . . . . . . .
tl_sensor
Component Message and Service Headers . . . . . . . . . . . . . . .
tl_sensor_stream_ddos
Component Message and Service Headers . . . . . . . . . . . . . . .
SAXWeightsHandler::ToRetrieveDefinition
Complete definition about what shall be retrieved and where to store it .
TplConvert
TplConvert Some methods that convert 0-terminated char-arrays of any
(numerical/boolean) or into std::strings . . . . . . . . . . . . . . . . . .
TraCIAPI
C++ TraCI client API implementation . . . . . . . . . . . . . . . . . . .
TraCIAPI::TraCIBoundary
A 3D-bounding box . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::TraCIColor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIException . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::TraCILink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::TraCILogic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::TraCIPhase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::TraCIPosition
A 3D-position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIPositionVector
A list of positions . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::TraCIScopeWrapper
An abstract interface for accessing type-dependent values . . . . . . .
TraCIServer
TraCI server used to control sumo by a remote TraCI client . . . . . . .
TraCIServerAPI_AreaDetector
APIs for getting/setting multi-entry/multi-exit detector values via TraCI . .
TraCIServerAPI_ArealDetector . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIServerAPI_Edge
APIs for getting/setting edge values via TraCI . . . . . . . . . . . . . .
TraCIServerAPI_InductionLoop
APIs for getting/setting induction loop values via TraCI . . . . . . . . . .
TraCIServerAPI_Junction
APIs for getting/setting junction values via TraCI . . . . . . . . . . . . .
TraCIServerAPI_Lane
APIs for getting/setting lane values via TraCI . . . . . . . . . . . . . . .
TraCIServerAPI_MeMeDetector
APIs for getting/setting multi-entry/multi-exit detector values via TraCI . .
TraCIServerAPI_Person
APIs for getting/setting person values via TraCI . . . . . . . . . . . . .
TraCIServerAPI_POI
APIs for getting/setting POI values via TraCI . . . . . . . . . . . . . . .
TraCIServerAPI_Polygon
APIs for getting/setting polygon values via TraCI . . . . . . . . . . . . .
TraCIServerAPI_Route
APIs for getting/setting route values via TraCI . . . . . . . . . . . . . .
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
11
. . . . . . . . . . . . 284
. . . . . . . . . . . . 289
. . . . . . . . . . . . 289
. . . . . . . . . . . . 291
. . . . . . . . . . . . 291
. . . . . . . . . . . . 295
. . . . . . . . . . . . 298
. . . . . . . . . . . . 301
type into other values
. . . . . . . . . . . . 302
. . . . . . . . . . . . 303
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
308
308
309
309
309
310
. . . . . . . . . . . . 310
. . . . . . . . . . . . 310
. . . . . . . . . . . . 311
. . . . . . . . . . . . 312
. . . . . . . . . . . . 317
. . . . . . . . . . . . 317
. . . . . . . . . . . . 318
. . . . . . . . . . . . 319
. . . . . . . . . . . . 321
. . . . . . . . . . . . 323
. . . . . . . . . . . . 324
. . . . . . . . . . . . 325
. . . . . . . . . . . . 326
. . . . . . . . . . . . 328
. . . . . . . . . . . . 329
12
Class Index
TraCIServerAPI_Simulation
APIs for getting/setting simulation values via TraCI . . . . . . . . . . . . . . . . . . . . . . . .
TraCIServerAPI_TLS
APIs for getting/setting traffic light values via TraCI . . . . . . . . . . . . . . . . . . . . . . .
TraCIServerAPI_Vehicle
APIs for getting/setting vehicle values via TraCI . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIServerAPI_VehicleType
APIs for getting/setting vehicle type values via TraCI . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::TrafficLightScope
Scope for interaction with traffic lights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UnknownElement
UnknownElement Thrown when a named element is tried to be accesed which is not known to
the container . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ValueRetriever< T > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ValueSource< T > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ValueTimeLine< T >
A time line being a sorted container of non-overlapping time-ranges with assigned values . . .
VectorHelper< T > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TraCIAPI::VehicleTypeScope
Scope for interaction with vehicle types . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
WrappingCommand< T >
A wrapper for a Command function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rapidxml::xml_attribute< Ch >
Class representing attribute node of XML document . . . . . . . . . . . . . . . . . . . . . . .
rapidxml::xml_base< Ch >
Base class for xml_node and xml_attribute implementing common functions: name(), name_size(), value(), value_size() and parent() . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
rapidxml::xml_document< Ch >
This class represents root of the DOM hierarchy . . . . . . . . . . . . . . . . . . . . . . . . .
rapidxml::xml_node< Ch >
Class representing a node of XML document . . . . . . . . . . . . . . . . . . . . . . . . . .
XMLParser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
XMLSubSys
Utility methods for initialising, closing and using the XML-subsystem . . . . . . . . . . . . . .
330
332
332
334
335
336
336
336
337
339
339
340
342
347
350
362
371
371
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Chapter 4
File Index
4.1
File List
. . . 375
. . . ??
. . . 375
. . . 377
. . . ??
. . . 378
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 378
. ??
. ??
. ??
. ??
. ??
. ??
. ??
. ??
. ??
. . . 379
. . . ??
. . . 379
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 380
. ??
. ??
. ??
. ??
. ??
. ??
. ??
. ??
. ??
. ??
14
File Index
src/sumo/include/sumo/sumo_client.hpp . . . . . . . . . . .
src/sumo/include/traci-server/TraCIConstants.h . . . . . . . .
src/sumo/include/traci-server/TraCIException.h . . . . . . . .
src/sumo/include/traci-server/TraCIServer.h . . . . . . . . . .
src/sumo/include/traci-server/TraCIServerAPI_ArealDetector.h
src/sumo/include/traci-server/TraCIServerAPI_Edge.h . . . . .
src/sumo/include/traci-server/TraCIServerAPI_InductionLoop.h
src/sumo/include/traci-server/TraCIServerAPI_Junction.h . . .
src/sumo/include/traci-server/TraCIServerAPI_Lane.h . . . . .
src/sumo/include/traci-server/TraCIServerAPI_MeMeDetector.h
src/sumo/include/traci-server/TraCIServerAPI_Person.h . . . .
src/sumo/include/traci-server/TraCIServerAPI_POI.h . . . . .
src/sumo/include/traci-server/TraCIServerAPI_Polygon.h . . .
src/sumo/include/traci-server/TraCIServerAPI_Route.h . . . .
src/sumo/include/traci-server/TraCIServerAPI_Simulation.h . .
src/sumo/include/traci-server/TraCIServerAPI_TLS.h . . . . .
src/sumo/include/traci-server/TraCIServerAPI_Vehicle.h . . . .
src/sumo/include/traci-server/TraCIServerAPI_VehicleType.h .
src/sumo/include/utils/common/AbstractMutex.h . . . . . . . .
src/sumo/include/utils/common/Command.h . . . . . . . . . .
src/sumo/include/utils/common/FileHelpers.h . . . . . . . . .
src/sumo/include/utils/common/IDSupplier.h . . . . . . . . . .
src/sumo/include/utils/common/MsgHandler.h . . . . . . . . .
src/sumo/include/utils/common/MsgRetrievingFunction.h . . .
src/sumo/include/utils/common/Named.h . . . . . . . . . . . .
src/sumo/include/utils/common/NamedObjectCont.h . . . . . .
src/sumo/include/utils/common/NamedRTree.h . . . . . . . .
src/sumo/include/utils/common/Parameterised.h . . . . . . . .
src/sumo/include/utils/common/RandHelper.h . . . . . . . . .
src/sumo/include/utils/common/RandomDistributor.h . . . . .
src/sumo/include/utils/common/RGBColor.h . . . . . . . . . .
src/sumo/include/utils/common/StaticCommand.h . . . . . . .
src/sumo/include/utils/common/StdDefs.h . . . . . . . . . . .
src/sumo/include/utils/common/StringBijection.h . . . . . . . .
src/sumo/include/utils/common/StringTokenizer.h . . . . . . .
src/sumo/include/utils/common/StringUtils.h . . . . . . . . . .
src/sumo/include/utils/common/SUMOTime.h . . . . . . . . .
src/sumo/include/utils/common/SUMOVehicleClass.h . . . . .
src/sumo/include/utils/common/SystemFrame.h . . . . . . . .
src/sumo/include/utils/common/SysUtils.h . . . . . . . . . . .
src/sumo/include/utils/common/ToString.h . . . . . . . . . . .
src/sumo/include/utils/common/TplConvert.h . . . . . . . . . .
src/sumo/include/utils/common/UtilExceptions.h . . . . . . . .
src/sumo/include/utils/common/ValueRetriever.h . . . . . . . .
src/sumo/include/utils/common/ValueSource.h . . . . . . . . .
src/sumo/include/utils/common/ValueTimeLine.h . . . . . . . .
src/sumo/include/utils/common/VectorHelper.h . . . . . . . . .
src/sumo/include/utils/common/WrappingCommand.h . . . . .
src/sumo/include/utils/iodevices/BinaryFormatter.h . . . . . .
src/sumo/include/utils/iodevices/BinaryInputDevice.h . . . . .
src/sumo/include/utils/iodevices/OutputDevice.h . . . . . . . .
src/sumo/include/utils/iodevices/OutputDevice_CERR.h . . . .
src/sumo/include/utils/iodevices/OutputDevice_COUT.h . . . .
src/sumo/include/utils/iodevices/OutputDevice_File.h . . . . .
src/sumo/include/utils/iodevices/OutputDevice_Network.h . . .
src/sumo/include/utils/iodevices/OutputDevice_String.h . . . .
src/sumo/include/utils/iodevices/OutputFormatter.h . . . . . .
src/sumo/include/utils/iodevices/PlainXMLFormatter.h . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
??
380
386
387
??
388
388
389
389
390
391
391
392
392
393
394
394
395
395
396
397
397
398
399
399
400
401
401
402
403
403
404
404
406
406
407
407
409
415
416
416
418
418
419
420
420
421
422
422
423
424
424
425
425
426
427
427
428
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
src/sumo/include/utils/options/Option.h . . . . . . . . . . . . . . . . . . . .
src/sumo/include/utils/options/OptionsCont.h . . . . . . . . . . . . . . . .
src/sumo/include/utils/options/OptionsIO.h . . . . . . . . . . . . . . . . . .
src/sumo/include/utils/options/OptionsLoader.h . . . . . . . . . . . . . . .
src/sumo/include/utils/options/OptionsParser.h . . . . . . . . . . . . . . . .
src/sumo/include/utils/traci/TraCIAPI.h . . . . . . . . . . . . . . . . . . . .
src/sumo/include/utils/xml/GenericSAXHandler.h . . . . . . . . . . . . . .
src/sumo/include/utils/xml/SAXWeightsHandler.h . . . . . . . . . . . . . .
src/sumo/include/utils/xml/SUMORouteHandler.h . . . . . . . . . . . . . .
src/sumo/include/utils/xml/SUMORouteLoader.h . . . . . . . . . . . . . . .
src/sumo/include/utils/xml/SUMORouteLoaderControl.h . . . . . . . . . . .
src/sumo/include/utils/xml/SUMOSAXAttributes.h . . . . . . . . . . . . . .
src/sumo/include/utils/xml/SUMOSAXAttributesImpl_Binary.h . . . . . . . .
src/sumo/include/utils/xml/SUMOSAXAttributesImpl_Xerces.h . . . . . . .
src/sumo/include/utils/xml/SUMOSAXHandler.h . . . . . . . . . . . . . . .
src/sumo/include/utils/xml/SUMOSAXReader.h . . . . . . . . . . . . . . .
src/sumo/include/utils/xml/SUMOVehicleParserHelper.h . . . . . . . . . . .
src/sumo/include/utils/xml/SUMOXMLDefinitions.h . . . . . . . . . . . . . .
src/sumo/include/utils/xml/XMLSubSys.h . . . . . . . . . . . . . . . . . . .
src/sumo/src/utils/common/FileHelpers.cpp . . . . . . . . . . . . . . . . .
src/sumo/src/utils/common/IDSupplier.cpp . . . . . . . . . . . . . . . . . .
src/sumo/src/utils/common/MsgHandler.cpp . . . . . . . . . . . . . . . . .
src/sumo/src/utils/common/Parameterised.cpp . . . . . . . . . . . . . . . .
src/sumo/src/utils/common/RandHelper.cpp . . . . . . . . . . . . . . . . .
src/sumo/src/utils/common/RGBColor.cpp . . . . . . . . . . . . . . . . . .
src/sumo/src/utils/common/StdDefs.cpp . . . . . . . . . . . . . . . . . . .
src/sumo/src/utils/common/StringTokenizer.cpp . . . . . . . . . . . . . . .
src/sumo/src/utils/common/StringUtils.cpp . . . . . . . . . . . . . . . . . .
src/sumo/src/utils/common/SUMOVehicleClass.cpp . . . . . . . . . . . . .
src/sumo/src/utils/common/SystemFrame.cpp . . . . . . . . . . . . . . . .
src/sumo/src/utils/common/SysUtils.cpp . . . . . . . . . . . . . . . . . . .
src/tlc_package/include/tlc_package/control_stream_ddos.hpp
This file declares the control_stream_ddos class; . . . . . . . . .
src/tlc_package/include/tlc_package/controller.hpp
This file declares the controller class; . . . . . . . . . . . . . . .
src/tlc_package/include/tlc_package/e3_sensor.hpp
This file declares the e3_sensor class; . . . . . . . . . . . . . . .
src/tlc_package/include/tlc_package/e3_sensor_stream_ddos.hpp
This file declares the e3_sensor_stream_ddos class; . . . . . . .
src/tlc_package/include/tlc_package/sumo_intf.hpp
This file declares the sumo_intf class; . . . . . . . . . . . . . . .
src/tlc_package/include/tlc_package/tl_actuator.hpp
This file declares the tl_actuator class; . . . . . . . . . . . . . . .
src/tlc_package/include/tlc_package/tl_sensor.hpp
This file declares the tl_sensor class; . . . . . . . . . . . . . . . .
src/tlc_package/include/tlc_package/tl_sensor_stream_ddos.hpp
This file declares the tl_sensor_stream_ddos class; . . . . . . . .
src/tlc_package/src/tlc_package/control_stream_ddos.cpp
This file contains definitions for the control_stream_ddos class; . .
src/tlc_package/src/tlc_package/controller.cpp
This file contains definitions for the controller class; . . . . . . . .
src/tlc_package/src/tlc_package/e3_sensor.cpp
This file contains definitions for the e3_sensor class; . . . . . . .
src/tlc_package/src/tlc_package/e3_sensor_stream_ddos.cpp
This file contains definitions for the e3_sensor_stream_ddos class;
src/tlc_package/src/tlc_package/sumo_intf.cpp
This file contains definitions for the sumo_intf class; . . . . . . . .
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
15
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
428
429
430
430
431
431
433
434
435
435
436
436
437
438
438
439
440
440
447
448
448
449
449
450
450
451
452
452
453
458
459
. . . . . . . . . . . . . . . 459
. . . . . . . . . . . . . . . 460
. . . . . . . . . . . . . . . 460
. . . . . . . . . . . . . . . 461
. . . . . . . . . . . . . . . 461
. . . . . . . . . . . . . . . 462
. . . . . . . . . . . . . . . 462
. . . . . . . . . . . . . . . 463
. . . . . . . . . . . . . . . 463
. . . . . . . . . . . . . . . 463
. . . . . . . . . . . . . . . 464
. . . . . . . . . . . . . . . 464
. . . . . . . . . . . . . . . 465
16
File Index
src/tlc_package/src/tlc_package/tl_actuator.cpp
This file contains definitions for the tl_actuator class; . . . . . . . . . . . . . . . . . . . . . . 465
src/tlc_package/src/tlc_package/tl_sensor.cpp
This file contains definitions for the tl_sensor class; . . . . . . . . . . . . . . . . . . . . . . . 466
src/tlc_package/src/tlc_package/tl_sensor_stream_ddos.cpp
This file contains definitions for the tl_sensor_stream_ddos class; . . . . . . . . . . . . . . . . 466
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Chapter 5
Class Documentation
5.1
#include <AbstractMutex.h>
Classes
class ScopedLocker
A mutex encapsulator which locks/unlocks the given mutex on construction/destruction, respectively.
virtual AbstractMutex ()
Destructor.
5.1.1
Detailed Description
18
Class Documentation
5.2
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::AreaScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::AreaScope
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.2.1
Detailed Description
5.3
BiArc (Point2D< double > start_pt, double start_angle, Point2D< double > end_pt, double end_angle)
void compute_biarc_params ()
void compute_other_stuff ()
double compute_join_theta (double k1, double k2)
double compute_arclength (double theta0, double theta2, double k)
void set_start_params (Point2D< double > start_pt, double start_angle)
void set_end_params (Point2D< double > end_pt, double end_angle)
Public Attributes
BiArcParams params
The documentation for this class was generated from the following file:
src/sumo/include/foreign/eulerspiral/BiArc.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.4
19
Public Attributes
int flag
Point2D< double > start_pt
Point2D< double > end_pt
double start_angle
double end_angle
double K1
double K2
double L1
double L2
double E
double R1
double R2
int dir1
int dir2
Point2D< double > mid_pt
Point2D< double > center1
Point2D< double > center2
The documentation for this class was generated from the following file:
src/sumo/include/foreign/eulerspiral/BiArc.h
5.5
#include <BinaryFormatter.h>
Inheritance diagram for BinaryFormatter:
OutputFormatter
BinaryFormatter
Public Types
enum DataType {
BF_BYTE, BF_INTEGER, BF_FLOAT, BF_STRING,
BF_LIST, BF_XML_TAG_START, BF_XML_TAG_END, BF_XML_ATTRIBUTE,
BF_EDGE, BF_LANE, BF_POSITION_2D, BF_POSITION_3D,
BF_BOUNDARY, BF_COLOR, BF_NODE_TYPE, BF_EDGE_FUNCTION,
BF_ROUTE, BF_SCALED2INT, BF_SCALED2INT_POSITION_2D, BF_SCALED2INT_POSITION_3D }
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
20
Class Documentation
virtual BinaryFormatter ()
Destructor.
bool writeXMLHeader (std::ostream &into, const std::string &rootElement, const std::string &attrs="", const
std::string &comment="")
Writes an XML header with optional configuration.
template<typename E >
bool writeHeader (std::ostream &into, const SumoXMLTag &rootElement)
Writes a header with optional edge list and connections.
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const bool &val)
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const SUMOReal &val)
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const int &val)
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const unsigned int &val)
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const SumoXMLNodeType &val)
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const SumoXMLEdgeFunc &val)
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const Position &val)
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const PositionVector &val)
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const Boundary &val)
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const RGBColor &val)
template<>
void writeAttr (std::ostream &into, const SumoXMLAttr attr, const std::vector< int > &val)
21
5.5.1
Detailed Description
5.5.2
5.5.2.1
in
Returns
Whether a further element existed in the stack and could be closed
Todo it is not verified that the topmost element was closed
Implements OutputFormatter.
5.5.2.2
void BinaryFormatter::openTag ( std::ostream & into, const std::string & xmlElement ) [virtual]
in
in
into
xmlElement
Returns
The OutputDevice for further processing
Implements OutputFormatter.
5.5.2.3
void BinaryFormatter::openTag ( std::ostream & into, const SumoXMLTag & xmlElement ) [virtual]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
22
Class Documentation
Parameters
into
xmlElement
in
in
Implements OutputFormatter.
5.5.2.4
template<typename dummy , typename T > void BinaryFormatter::writeAttr ( dummy & into, const SumoXMLAttr
attr, const T & val ) [static]
in
in
in
5.5.2.5
template<typename dummy , typename T > void BinaryFormatter::writeAttr ( dummy & into, const std::string & attr,
const T & val ) [static]
in
in
in
5.5.2.6
template<typename E > bool BinaryFormatter::writeHeader ( std::ostream & into, const SumoXMLTag &
rootElement )
in
in
5.5.2.7
into
rootElement
void BinaryFormatter::writePreformattedTag ( std::ostream & into, const std::string & val ) [inline],
[virtual]
writes a preformatted tag to the device but ensures that any pending tags are closed
Parameters
in
in
into
val
Implements OutputFormatter.
5.5.2.8
bool BinaryFormatter::writeXMLHeader ( std::ostream & into, const std::string & rootElement, const std::string & attrs
= "", const std::string & comment = "" ) [virtual]
If something has been written (myXMLStack is not empty), nothing is written and false returned.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
23
24
Class Documentation
Parameters
into
rootElement
attrs
comment
in
in
in
in
5.6
#include <BinaryInputDevice.h>
BinaryInputDevice ()
Destructor.
int peek ()
Returns the next character to be read by an actual parse.
Friends
BinaryInputDevice & operator>> (BinaryInputDevice &os, char &c)
Reads a char from the file (input operator)
25
BinaryInputDevice & operator>> (BinaryInputDevice &os, std::vector< unsigned int > &v)
Reads a string vector from the file (input operator)
BinaryInputDevice & operator>> (BinaryInputDevice &os, std::vector< std::vector< unsigned int > > &v)
Reads a string vector from the file (input operator)
5.6.1
Detailed Description
5.6.2
5.6.2.1
BinaryInputDevice::BinaryInputDevice ( const std::string & name, const bool isTyped = false, const bool doValidate
= false )
Constructor.
Parameters
in
name
5.6.3
5.6.3.1
5.6.3.2
int BinaryInputDevice::peek ( )
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
26
Class Documentation
5.6.3.3
5.6.3.4
5.6.4
in,out
in
os
c
Returns
The used BinaryInputDevice for further processing
5.6.4.2 BinaryInputDevice& operator>> ( BinaryInputDevice & os, unsigned char & c ) [friend]
Reads an unsigned char from the file (input operator)
Parameters
in,out
in
os
c
Returns
The used BinaryInputDevice for further processing
in,out
os
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
in
27
Returns
The used BinaryInputDevice for further processing
5.6.4.4 BinaryInputDevice& operator>> ( BinaryInputDevice & os, unsigned int & i ) [friend]
Reads an unsigned int from the file (input operator)
Parameters
in,out
in
os
i
Returns
The used BinaryInputDevice for further processing
in,out
in
os
i
Returns
The used BinaryInputDevice for further processing
in,out
in
os
i
Returns
The used BinaryInputDevice for further processing
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
28
Class Documentation
Parameters
in,out
in
os
s
Returns
The used BinaryInputDevice for further processing
Todo Use either a buffer with a flexible size or report an error if the buffer is too small!
5.6.4.8 BinaryInputDevice& operator>> ( BinaryInputDevice & os, std::vector< std::string > & v ) [friend]
Reads a string vector from the file (input operator)
Reads the length of the vector as an unsigned int, first. Reads then the specified number of strings using the string
input operator. Please note that the buffer has a fixed size - longer strings will cause an error.
Parameters
in,out
in
os
v
Returns
The used BinaryInputDevice for further processing
Todo Use either a buffer with a flexible size or report an error if the buffer is too small!
5.6.4.9 BinaryInputDevice& operator>> ( BinaryInputDevice & os, std::vector< unsigned int > & v ) [friend]
Reads a string vector from the file (input operator)
Reads the length of the vector as an unsigned int, first. Reads then the specified number of strings using the string
input operator. Please note that the buffer has a fixed size - longer strings will cause an error.
Parameters
in,out
in
os
v
Returns
The used BinaryInputDevice for further processing
Todo Use either a buffer with a flexible size or report an error if the buffer is too small!
5.6.4.10 BinaryInputDevice& operator>> ( BinaryInputDevice & os, std::vector< std::vector< unsigned int > > & v
) [friend]
Reads a string vector from the file (input operator)
Reads the length of the vector as an unsigned int, first. Reads then the specified number of strings using the string
input operator. Please note that the buffer has a fixed size - longer strings will cause an error.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
29
Parameters
in,out
in
os
v
Returns
The used BinaryInputDevice for further processing
Todo Use either a buffer with a flexible size or report an error if the buffer is too small!
in,out
in
os
p
Returns
The used BinaryInputDevice for further processing
The documentation for this class was generated from the following file:
src/sumo/include/utils/iodevices/BinaryInputDevice.h
5.7
BoolFormatException Thrown when the string that shall be converted into a boolean does not match.
#include <UtilExceptions.h>
Inheritance diagram for BoolFormatException:
runtime_error
FormatException
BoolFormatException
5.7.1
Detailed Description
BoolFormatException Thrown when the string that shall be converted into a boolean does not match.
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/UtilExceptions.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
30
Class Documentation
5.8
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/buffer.hpp
5.9
#include <Command.h>
Inheritance diagram for Command:
Command
StaticCommand< T >
WrappingCommand< T >
virtual Command ()
Destructor.
5.9.1
Detailed Description
See Also
Design Patterns, Gamma et al.
WrappingCommand
MSEventControl
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.9.2
5.9.2.1
31
in
Returns
The time after which the command shall be executed again, 0 if this command shall be descheduled.
Exceptions
ProcessError
5.10
#include <Named.h>
5.10.1
Detailed Description
5.11
Component class.
#include <Component.hpp>
Inheritance diagram for Component:
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
32
Class Documentation
Component
control_stream_ddos
controller
e3_sensor
e3_sensor_stream_ddos
sumo_intf
tl_actuator
tl_sensor
tl_sensor_stream_ddos
void process_queue ()
Component Message Queue handler.
Component ()
Component Destructor.
Protected Attributes
ComponentConfig config
int node_argc
char node_argv
NAMESPACE::Publisher comp_sync_pub
NAMESPACE::Subscriber comp_sync_sub
NAMESPACE::Timer init_timer
NAMESPACE::CallbackQueue comp_queue
std::unique_ptr< Logger > logger
5.11.1
Detailed Description
Component class.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
33
5.11.2
5.11.2.1
Component Constructor.
Parameters
_config
argc
argv
in
in
5.11.3
5.11.3.1
Component Synchronization This operation establishing a sync point with other components.
Parameters
received_data
in
5.11.3.2
in
See Also
startUp()
Reimplemented in controller, sumo_intf, e3_sensor, tl_actuator, tl_sensor, control_stream_ddos, e3_sensor_stream_ddos, and tl_sensor_stream_ddos.
5.11.3.3
5.11.4
5.11.4.1
5.11.4.2
Synchronization publisher
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
34
Class Documentation
5.11.4.3
Synchronization subscriber
5.11.4.5
Initialization timer
5.11.4.6
5.11.4.7
5.11.4.8
5.12
Public Attributes
std::string libraryLocation
std::string schedulingScheme
std::string hostName
std::string nodeName
std::string compName
std::map< std::string,
std::string > portGroupMap
uint64_t num_comps_to_sync
double comp_sync_timeout
std::map< std::string, uint64_t > uuidMap
std::map< std::string,
std::string > profileMap
std::map< std::string,
std::map< uint64_t,
std::string > > portSenderMap
bool is_periodic_logging
int periodic_log_unit
The documentation for this class was generated from the following file:
src/node/include/node/xmlParser.hpp
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.13
35
Connection
IPV4_Connection
IPV6_Connection
Public Attributes
bool isServer
std::string serverIP
int bufferSize
int serverPort
int receiveTimeout
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/ConnectionSubsys.hpp
5.14
#include <control_stream_ddos.hpp>
Inheritance diagram for control_stream_ddos:
Component
control_stream_ddos
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
36
Class Documentation
void startUp ()
Component startup function.
control_stream_ddos ()
control_stream_ddos Destructor
void process_queue ()
Component Message Queue handler.
Protected Attributes
ComponentConfig config
int node_argc
char node_argv
NAMESPACE::Publisher comp_sync_pub
NAMESPACE::Subscriber comp_sync_sub
NAMESPACE::Timer init_timer
NAMESPACE::CallbackQueue comp_queue
std::unique_ptr< Logger > logger
5.14.1
Detailed Description
5.14.2
5.14.2.1
[inline]
control_stream_ddos Constructor.
Parameters
_config
argc
argv
in
in
5.14.3
5.14.3.1
[inherited]
Component Synchronization This operation establishing a sync point with other components.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
in
5.14.3.2
in
See Also
startUp()
Reimplemented from Component.
5.14.3.3
5.14.4
5.14.4.1
5.14.4.2
Synchronization publisher
5.14.4.3
Synchronization subscriber
5.14.4.5
Initialization timer
5.14.4.6
37
38
Class Documentation
5.14.4.7
5.14.4.8
5.15
#include <controller.hpp>
Inheritance diagram for controller:
Component
controller
void startUp ()
Component startup function.
controller ()
controller Destructor
void process_queue ()
Component Message Queue handler.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
39
Protected Attributes
ComponentConfig config
int node_argc
char node_argv
NAMESPACE::Publisher comp_sync_pub
NAMESPACE::Subscriber comp_sync_sub
NAMESPACE::Timer init_timer
NAMESPACE::CallbackQueue comp_queue
std::unique_ptr< Logger > logger
5.15.1
Detailed Description
5.15.2
5.15.2.1
controller Constructor.
Parameters
_config
argc
argv
in
in
5.15.3
5.15.3.1
[inherited]
Component Synchronization This operation establishing a sync point with other components.
Parameters
received_data
in
5.15.3.2
controller_timer_operation;
This operation is executed every time the controller_timer operation request is serviced
Parameters
in
5.15.3.3
event
a timer event
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
40
Class Documentation
Parameters
event
in
See Also
startUp()
Reimplemented from Component.
5.15.3.4
ryg_state_sub_operation;
This operation is executed every time the ryg_state_sub operation request is serviced
Parameters
received_data
in
5.15.3.5
sensor_state_sub_operation;
This operation is executed every time the sensor_state_sub operation request is serviced
Parameters
in
5.15.3.6
received_data
5.15.4
5.15.4.1
5.15.4.2
Synchronization publisher
5.15.4.3
Synchronization subscriber
5.15.4.5
Initialization timer
5.15.4.6
5.15.4.7
5.15.4.8
5.16
Public Types
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/CSVIterator.hpp
5.17
41
42
Class Documentation
5.18
#include <e3_sensor.hpp>
Inheritance diagram for e3_sensor:
Component
e3_sensor
void startUp ()
Component startup function.
e3_sensor ()
e3_sensor Destructor
void process_queue ()
Component Message Queue handler.
Protected Attributes
5.18.1
ComponentConfig config
int node_argc
char node_argv
NAMESPACE::Publisher comp_sync_pub
NAMESPACE::Subscriber comp_sync_sub
NAMESPACE::Timer init_timer
NAMESPACE::CallbackQueue comp_queue
std::unique_ptr< Logger > logger
Detailed Description
43
5.18.2
5.18.2.1
e3_sensor Constructor.
Parameters
_config
argc
argv
in
in
5.18.3
5.18.3.1
[inherited]
Component Synchronization This operation establishing a sync point with other components.
Parameters
received_data
in
5.18.3.2
e3_update_timer_operation;
This operation is executed every time the e3_update_timer operation request is serviced
Parameters
event
in
5.18.3.3
a timer event
in
See Also
startUp()
Reimplemented from Component.
5.18.3.4
5.18.4
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
44
Class Documentation
5.18.4.1
5.18.4.2
Synchronization publisher
5.18.4.3
Synchronization subscriber
5.18.4.5
Initialization timer
5.18.4.6
5.18.4.7
5.18.4.8
5.19
#include <e3_sensor_stream_ddos.hpp>
Inheritance diagram for e3_sensor_stream_ddos:
Component
e3_sensor_stream_ddos
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
45
void startUp ()
Component startup function.
e3_sensor_stream_ddos ()
e3_sensor_stream_ddos Destructor
void process_queue ()
Component Message Queue handler.
Protected Attributes
ComponentConfig config
int node_argc
char node_argv
NAMESPACE::Publisher comp_sync_pub
NAMESPACE::Subscriber comp_sync_sub
NAMESPACE::Timer init_timer
NAMESPACE::CallbackQueue comp_queue
std::unique_ptr< Logger > logger
5.19.1
Detailed Description
5.19.2
5.19.2.1
[inline]
e3_sensor_stream_ddos Constructor.
Parameters
_config
argc
argv
in
in
5.19.3
5.19.3.1
[inherited]
Component Synchronization This operation establishing a sync point with other components.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
46
Class Documentation
Parameters
received_data
in
5.19.3.2
in
See Also
startUp()
Reimplemented from Component.
5.19.3.3
5.19.4
5.19.4.1
5.19.4.2
Synchronization publisher
5.19.4.3
Synchronization subscriber
5.19.4.5
Initialization timer
5.19.4.6
5.19.4.7
47
5.19.4.8
5.20
Interface for a class which obtains read weights for named edges.
#include <SAXWeightsHandler.h>
virtual EdgeFloatTimeLineRetriever ()
Destructor.
virtual void addEdgeWeight (const std::string &id, SUMOReal val, SUMOReal beg, SUMOReal end) const =0
Adds a weight for a given edge and time period.
5.20.1
Detailed Description
Interface for a class which obtains read weights for named edges.
5.20.2
5.20.2.1
in
in
in
in
id
val
beg
end
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SAXWeightsHandler.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
48
Class Documentation
5.21
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::EdgeScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::EdgeScope
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.21.1
Detailed Description
5.22
49
#include <UtilExceptions.h>
Inheritance diagram for EmptyData:
runtime_error
EmptyData
5.22.1
Detailed Description
5.23
Public Attributes
const char str
const T key
The documentation for this struct was generated from the following file:
src/sumo/include/utils/common/StringBijection.h
5.24
50
Class Documentation
Public Attributes
EulerSpiralParams params
std::vector< Point2D< double > > pts
The documentation for this class was generated from the following file:
src/sumo/include/foreign/eulerspiral/euler.h
5.25
5.26
Public Attributes
double L
double turningAngle
double error
double psi
The documentation for this class was generated from the following file:
src/sumo/include/foreign/eulerspiral/euler.h
5.27
#include <sender.hpp>
5.27.1
Detailed Description
5.28
#include <NetworkProfile.hpp>
5.28.1
Detailed Description
5.29
#include <rapidxml_utils.hpp>
Ch data ()
Gets file data.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
51
52
Class Documentation
const Ch data () const
Gets file data.
5.29.1
Detailed Description
5.29.2
5.29.2.1
5.29.2.2
Filename to load.
5.29.3
5.29.3.1
5.29.3.2
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.29.3.3
5.30
#include <FileHelpers.h>
template<typename E >
static std::ostream & writeEdgeVector (std::ostream &os, const std::vector< E > &edges)
Writes an edge vector binary.
template<typename E >
static void readEdgeVector (std::istream &in, std::vector< const E > &edges, const std::string &rid)
Reads an edge vector binary.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
53
54
Class Documentation
5.30.1
Detailed Description
5.30.2
5.30.2.1
[static]
Returns the path from a configuration so that it is accessable from the current working directory.
If the path is absolute, it is returned. Otherwise, the files position is computed regarding the configuration path (see
getConfigurationRelative).
See Also
isAbsolute
getConfigurationRelative
Parameters
filename
basePath
in
in
Returns
The files position
5.30.2.2
std::string FileHelpers::getConfigurationRelative ( const std::string & configPath, const std::string & path )
[static]
Returns the second path as a relative path to the first file.
Given the position of the configuration file, and the information where a second file is relative to the configuration
files position, we want to known where this second file can be found. This method gets the path to the configuration
file (including the configuration file name) and the path to get the relative position of and returns this relative position.
Parameters
configPath
path
in
in
The path the configuration file (including the configs file name)
The path to the references file (relativ to configuration path)
Returns
The files position (relative to curent working directory)
5.30.2.3
in
path
Returns
The directory of the named file
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.30.2.4
55
in
Returns
Whether the path is absolute
5.30.2.5
in
Returns
Whether the named file is readable
5.30.2.6
in
Returns
Whether the name names a socket
5.30.2.7
template<typename E > void FileHelpers::readEdgeVector ( std::istream & in, std::vector< const E > & edges,
const std::string & rid ) [static]
in
is
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
56
Class Documentation
edges
out
Returns
Reference to the stream
5.30.2.8
std::ostream & FileHelpers::writeByte ( std::ostream & strm, unsigned char value ) [static]
in,out
in
strm
value
Returns
Reference to the stream
5.30.2.9
template<typename E > std::ostream & FileHelpers::writeEdgeVector ( std::ostream & os, const std::vector< E > &
edges ) [static]
in,out
in
os
edges
Returns
Reference to the stream
5.30.2.10
in,out
in
strm
value
Returns
Reference to the stream
5.30.2.11
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
57
Parameters
in,out
in
strm
value
Returns
Reference to the stream
5.30.2.12
std::ostream & FileHelpers::writeString ( std::ostream & strm, const std::string & value ) [static]
in,out
in
strm
value
Returns
Reference to the stream
5.30.2.13
in,out
in
strm
value
Returns
Reference to the stream
5.30.2.14
std::ostream & FileHelpers::writeUInt ( std::ostream & strm, unsigned int value ) [static]
in,out
in
strm
value
Returns
Reference to the stream
The documentation for this class was generated from the following files:
src/sumo/include/utils/common/FileHelpers.h
src/sumo/src/utils/common/FileHelpers.cpp
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
58
Class Documentation
5.31
FormatException Thrown when a string that shall be converted into something else contained the wrong characters.
#include <UtilExceptions.h>
Inheritance diagram for FormatException:
runtime_error
FormatException
BoolFormatException
NumberFormatException
5.31.1
Detailed Description
FormatException Thrown when a string that shall be converted into something else contained the wrong characters.
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/UtilExceptions.h
5.32
#include <GenericSAXHandler.h>
Inheritance diagram for GenericSAXHandler:
DefaultHandler
GenericSAXHandler
SUMOSAXHandler
SAXWeightsHandler
SUMORouteHandler
virtual GenericSAXHandler ()
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
59
Destructor.
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.
void endElement (const XMLCh const uri, const XMLCh const localname, const XMLCh const qname)
The inherited method called when a tag is being closed.
Friends
class SUMOSAXReader
5.32.1
Detailed Description
60
Class Documentation
5.32.2
5.32.2.1
Constructor.
This constructor gets the lists of known tag and attribute names with their enums (sumotags and sumoattrs in most
cases). The end of the list is signaled by terminatorTag/terminatorAttr respectively.
The attribute names are converted into XMLCh and stored within an internal container. This container is cleared
within the destructor.
Parameters
tags
terminatorTag
attrs
terminatorAttr
file
in
in
in
in
in
5.32.3
5.32.3.1
in
Returns
A string describing the given exception
5.32.3.2
5.32.3.3
void GenericSAXHandler::endElement ( const XMLCh const uri, const XMLCh const localname, const XMLCh
const qname )
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.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
61
5.32.3.4
in
Exceptions
ProcessError
5.32.3.5
On any call
On any call
Parameters
exception
in
5.32.3.6
5.32.3.7
virtual void GenericSAXHandler::myCharacters ( int element, const std::string & chars ) [protected],
[virtual]
Callback method for characters to implement by derived classes.
Called by "endElement" (see there).
Parameters
in
in
5.32.3.8
element
chars
62
Class Documentation
Parameters
element
in
The closed element, given as a int ProcessError These method may throw a
ProcessError if something fails
5.32.3.9
[protected], [virtual]
Callback method for an opening tag to implement by derived classes.
Called by "startElement" (see there).
Parameters
element
attrs
in
in
5.32.3.10
in
Todo Hmmm - this is as unsafe as having a direct access to the variable; recheck
5.32.3.11
void GenericSAXHandler::startElement ( const XMLCh const uri, const XMLCh const localname, const XMLCh
const qname, const XERCES_CPP_NAMESPACE::Attributes & attrs )
5.32.3.12
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
exception
in
63
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/GenericSAXHandler.h
5.33
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::GUIScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::GUIScope
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.33.1
Detailed Description
64
Class Documentation
5.34
This class builds string ids by adding an increasing numerical value to a previously given string.
#include <IDSupplier.h>
IDSupplier ()
Destructor.
std::string getNext ()
Returns the next id.
5.34.1
Detailed Description
This class builds string ids by adding an increasing numerical value to a previously given string.
5.34.2
5.34.2.1
IDSupplier::IDSupplier ( const std::string & prefix, const std::vector< std::string > & knownIDs )
Constructor.
Parameters
in
in
prefix
knownIDs
The documentation for this class was generated from the following files:
src/sumo/include/utils/common/IDSupplier.h
src/sumo/src/utils/common/IDSupplier.cpp
5.35
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::InductionLoopScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::InductionLoopScope
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.35.1
Detailed Description
5.36
5.37
InvalidArgument Thrown when an argument was not proper in the current context A message will be supplied.
#include <UtilExceptions.h>
Inheritance diagram for InvalidArgument:
runtime_error
ProcessError
InvalidArgument
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
65
66
Class Documentation
5.37.1
Detailed Description
InvalidArgument Thrown when an argument was not proper in the current context A message will be supplied.
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/UtilExceptions.h
5.38
runtime_error
ProcessError
IOError
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/UtilExceptions.h
5.39
Connection
IPV4_Connection
67
Public Attributes
int sockfd
struct sockaddr_in local_addr
struct sockaddr_in remote_addr
bool isServer
std::string serverIP
int bufferSize
int serverPort
int receiveTimeout
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/ConnectionSubsys.hpp
5.40
Connection
IPV6_Connection
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
68
Class Documentation
Public Attributes
int sockfd
struct sockaddr_in6 local_addr
struct sockaddr_in6 remote_addr
bool isServer
std::string serverIP
int bufferSize
int serverPort
int receiveTimeout
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/ConnectionSubsys.hpp
5.41
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::JunctionScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::JunctionScope
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.41.1
Detailed Description
5.42
69
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::LaneScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::LaneScope
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
70
Class Documentation
5.42.1
Detailed Description
5.43
Logger.hpp.
#include <Logger.hpp>
Logger ()
Writes out the remainder of the logs and closes logfile.
bool write ()
Write logged bytes to file.
bool flush ()
Flush out to file.
int size ()
Return the current size of the log in bytes.
std::string clock ()
Return the current clock value.
5.43.1
Detailed Description
Logger.hpp.
Author
Pranav Srinivas Kumar
Date
<%- Date().toISOString().replace(/T/, ).replace(/..+/, ) %> This file declares the Component Logger class
Logger class
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.43.2
5.43.2.1
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
71
72
Class Documentation
Parameters
log_path
in
5.43.2.2
in
in
5.43.2.3
in
5.43.2.4
in
5.43.2.5
in
max_log_unit
The documentation for this class was generated from the following file:
src/node/include/node/Logger.hpp
5.44
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::MeMeScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::MeMeScope
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
73
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.44.1
Detailed Description
5.45
This class is used by the parser to create new nodes and attributes, without overheads of dynamic memory allocation.
#include <rapidxml.hpp>
Inheritance diagram for rapidxml::memory_pool< Ch >:
rapidxml::memory_pool< Ch >
rapidxml::xml_document< Ch >
memory_pool ()
Destroys pool and frees all the memory.
xml_node< Ch > allocate_node (node_type type, const Ch name=0, const Ch value=0, std::size_t
name_size=0, std::size_t value_size=0)
Allocates a new node from the pool, and optionally assigns name and value to it.
xml_node< Ch > clone_node (const xml_node< Ch > source, xml_node< Ch > result=0)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
74
Class Documentation
void clear ()
Clears the pool.
5.45.1
Detailed Description
5.45.2
5.45.2.1
5.45.3
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.45.3.1
75
Allocates a new attribute from the pool, and optionally assigns name and value to it.
If the allocation request cannot be accomodated, this function will throw std::bad_alloc. If exceptions are
disabled by defining RAPIDXML_NO_EXCEPTIONS, this function will call rapidxml::parse_error_handler() function.
Parameters
name
value
name_size
value_size
Returns
Pointer to allocated attribute. This pointer will never be NULL.
5.45.3.2
[inline]
Allocates a new node from the pool, and optionally assigns name and value to it.
If the allocation request cannot be accomodated, this function will throw std::bad_alloc. If exceptions are
disabled by defining RAPIDXML_NO_EXCEPTIONS, this function will call rapidxml::parse_error_handler() function.
Parameters
type
name
value
name_size
value_size
Returns
Pointer to allocated node. This pointer will never be NULL.
5.45.3.3
Allocates a char array of given size from the pool, and optionally copies a given string to it.
If the allocation request cannot be accomodated, this function will throw std::bad_alloc. If exceptions are
disabled by defining RAPIDXML_NO_EXCEPTIONS, this function will call rapidxml::parse_error_handler() function.
Parameters
source
size
Returns
Pointer to allocated char array. This pointer will never be NULL.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
76
Class Documentation
5.45.3.4
5.45.3.5
Node to clone.
Node to put results in, or 0 to automatically allocate result node
Returns
Pointer to cloned node. This pointer will never be NULL.
5.45.3.6
Sets or resets the user-defined memory allocation functions for the pool.
This can only be called when no memory is allocated from the pool yet, otherwise results are undefined. Allocation
function must not return invalid pointer on failure. It should either throw, stop the program, or use longjmp()
function to pass control to other place of program. If it returns invalid pointer, results are undefined.
User defined allocation functions must have the following forms:
The documentation for this class was generated from the following file:
src/node/include/node/rapidxml.hpp
5.46
Public Attributes
std::string buffer
uint64_t bits
uint64_t id
uint64_t connection_id
std::vector< timespec > times
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/Message.hpp
5.47
noncopyable
Network::message_buffer< T >
Public Types
typedef boost::mutex::scoped_lock lock
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
77
78
Class Documentation
uint64_t maxBits ()
uint64_t maxBytes ()
uint64_t capacityBits ()
uint64_t capacityBytes ()
void set_capacityBits (uint64_t capacityBits)
void set_capacityBytes (uint64_t capacityBytes)
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/buffer.hpp
5.48
MsgHandler.
#include <MsgHandler.h>
Public Types
enum MsgType { MT_MESSAGE, MT_WARNING, MT_ERROR }
An enumeration to differ between different types of messages (errors, warning and information)
void clear ()
Clears information whether an error occured previously.
template<class T >
MsgHandler & operator<< (const T &t)
Generic output operator.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
79
5.48.1
Detailed Description
MsgHandler.
5.48.2
5.48.2.1
enum MsgHandler::MsgType
An enumeration to differ between different types of messages (errors, warning and information)
Enumerator
MT_MESSAGE The message is only something to show.
MT_WARNING The message is a warning.
MT_ERROR The message is an error.
5.48.3
5.48.3.1
5.48.3.2
80
Class Documentation
5.49
#include <MsgRetrievingFunction.h>
Inheritance diagram for MsgRetrievingFunction< T >:
OutputDevice
MsgRetrievingFunction< T >
Public Types
typedef void(T:: Operation )(const MsgHandler::MsgType, const std::string &)
Type of the function to execute.
MsgRetrievingFunction ()
Destructor.
void close ()
Closes the device and removes it from the dictionary.
bool writeXMLHeader (const std::string &rootElement, const std::string &attrs="", const std::string &comment="")
Writes an XML header with optional configuration.
template<typename E >
bool writeHeader (const SumoXMLTag &rootElement)
OutputDevice & openTag (const std::string &xmlElement)
Opens an XML tag.
bool closeTag ()
Closes the most recently opened tag.
void lf ()
writes a line feed if applicable
template<typename T >
OutputDevice & writeAttr (const SumoXMLAttr attr, const T &val)
writes a named attribute
template<typename T >
OutputDevice & writeAttr (const std::string &attr, const T &val)
writes an arbitrary attribute
81
writes a string attribute only if it is not the empty string and not the string "default"
template<class T >
OutputDevice & operator<< (const T &t)
Abstract output operator.
static bool createDeviceByOption (const std::string &optionName, const std::string &rootElement="", const
std::string &schemaFile="")
Creates the device using the output definition stored in the named option.
5.49.1
Detailed Description
5.49.2
5.49.2.1
Constructor.
Parameters
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
82
Class Documentation
object
operation
type
in
in
in
5.49.3
5.49.3.1
5.49.3.2
static bool OutputDevice::createDeviceByOption ( const std::string & optionName, const std::string & rootElement =
in
in
in
The name of the option to use for retrieving the output definition
The root element to use (XML-output)
The basename of the schema file to use (XML-output)
Returns
Whether a device was built (the option was set)
Exceptions
IOError
5.49.3.3
If the output could not be built for any reason (error message is supplied)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
83
Parameters
name
in
Returns
The corresponding (built or existing) device
Exceptions
IOError
5.49.3.4
If the output could not be built for any reason (error message is supplied)
[inherited]
Returns the device described by the option.
Returns the device named by the option. If the option is unknown, unset or the device was not created before,
InvalidArgument is thrown.
Please note, that we do not have to consider the "application base" herein.
Parameters
name
in
The name of the option to use for retrieving the output definition
Returns
The corresponding (built or existing) device
Exceptions
IOError
InvalidArgument
5.49.3.5
If the output could not be built for any reason (error message is supplied)
If the option with the given name does not exist
See Also
postWriteHook
Implements OutputDevice.
5.49.3.6
void OutputDevice::inform ( const std::string & msg, const char progress = 0 ) [inherited]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
84
Class Documentation
Parameters
msg
in
5.49.3.7
5.49.3.8
returns the information whether one can write into the device
Returns
Whether the device can be used (stream is good)
in
Returns
The OutputDevice for further processing
in
xmlElement
Returns
The OutputDevice for further processing
5.49.3.11
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.49.3.12
[static], [inherited]
Helper method for string formatting.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
85
86
Class Documentation
Parameters
v
precision
in
in
Returns
The formatted string
5.49.3.13
in
5.49.3.14
template<typename T > OutputDevice& OutputDevice::writeAttr ( const SumoXMLAttr attr, const T & val )
[inline], [inherited]
in
in
Returns
The OutputDevice for further processing
5.49.3.15
template<typename T > OutputDevice& OutputDevice::writeAttr ( const std::string & attr, const T & val )
[inline], [inherited]
in
in
attr
val
Returns
The OutputDevice for further processing
5.49.3.16 OutputDevice& OutputDevice::writeNonEmptyAttr ( const SumoXMLAttr attr, const std::string & val )
[inline], [inherited]
writes a string attribute only if it is not the empty string and not the string "default"
Parameters
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
in
in
87
The attribute (name)
The attribute value
Returns
The OutputDevice for further processing
in
Returns
The OutputDevice for further processing
5.49.3.18
bool OutputDevice::writeXMLHeader ( const std::string & rootElement, const std::string & attrs = "", const
std::string & comment = "" ) [inherited]
in
in
in
rootElement
attrs
comment
Returns
Whether the header could be written (stack was empty)
Todo Check which parameter is used herein
Describe what is saved
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/MsgRetrievingFunction.h
5.50
Public Types
enum { N = 624 }
enum { SAVE = N + 1 }
typedef unsigned long uint32
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
88
Class Documentation
Protected Types
enum { M = 397 }
Protected Attributes
uint32 state [N]
uint32 pNext
int left
Friends
std::ostream & operator<< (std::ostream &os, const MTRand &mtrand)
std::istream & operator>> (std::istream &is, MTRand &mtrand)
The documentation for this class was generated from the following file:
src/sumo/include/foreign/mersenne/MersenneTwister.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.51
89
#include <Named.h>
Classes
struct ComparatorIdLess
Function-object for stable sorting in containers.
struct NamedLikeComparatorIdLess
Function-object for stable sorting of objects acting like Named without being derived (SUMOVehicle)
class StoringVisitor
Allows to store the object; used as context while traveling the rtree in TraCI.
virtual Named ()
Destructor.
Protected Attributes
std::string myID
The name of the object.
5.51.1
Detailed Description
5.51.2
5.51.2.1
Constructor.
Parameters
in
id
5.51.3
5.51.3.1
90
Class Documentation
Parameters
in,filled]
5.51.3.2
5.51.3.3
resets the id
Parameters
newID
in
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/Named.h
5.52
Function-object for stable sorting of objects acting like Named without being derived (SUMOVehicle)
#include <Named.h>
5.52.1
Detailed Description
5.53
#include <NamedObjectCont.h>
Public Types
typedef std::map< std::string, T > IDMap
Definition of the key to pointer map type.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
91
virtual NamedObjectCont ()
Destructor.
void clear ()
Removes all items from the container (deletes them, too)
5.53.1
Detailed Description
5.53.2
5.53.2.1
template<class T > virtual bool NamedObjectCont< T >::add ( const std::string & id, T item ) [inline],
[virtual]
Adds an item.
If another item with the same name is already known, false is reported and the item is not added.
Parameters
in
in
id
item
Returns
If the item could been added (no item with the same id was within the container before)
5.53.2.2
92
Class Documentation
Parameters
id
in
Returns
Whether the object could be deleted (was within the map)
5.53.2.3
Retrieves an item.
Returns 0 when no item with the given id is stored within the container
Parameters
id
in
Returns
The item stored under the given id, or 0 if no such item exists
template<class T > virtual bool NamedObjectCont< T >::remove ( const std::string & id ) [inline],
[virtual]
5.53.2.4
Removes an item.
Parameters
in
id
Returns
If the item could been removed (an item with the id was within the container before)
5.53.2.5
5.54
#include <NamedRTree.h>
Inheritance diagram for NamedRTree:
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
93
NAMED_RTREE_QUAL
NamedRTree
NamedRTree ()
Destructor.
void Insert (const float a_min[2], const float a_max[2], Named const &a_data)
Insert entry.
void Remove (const float a_min[2], const float a_max[2], Named const &a_data)
Remove entry.
void RemoveAll ()
Remove all enrties.
int Search (const float a_min[2], const float a_max[2], const Named::StoringVisitor &c) const
Find all within search rectangle.
5.54.1
Detailed Description
5.54.2
5.54.2.1
void NamedRTree::Insert ( const float a_min[2], const float a_max[2], Named const & a_data ) [inline]
Insert entry.
Parameters
a_min
a_max
a_data
See Also
RTree::Insert
5.54.2.2
void NamedRTree::Remove ( const float a_min[2], const float a_max[2], Named const & a_data ) [inline]
Remove entry.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
94
Class Documentation
Parameters
a_min
a_max
a_data
See Also
RTree::Remove
5.54.2.3
5.54.2.4
int NamedRTree::Search ( const float a_min[2], const float a_max[2], const Named::StoringVisitor & c ) const
[inline]
Find all within search rectangle.
Parameters
a_min
a_max
a_searchResult
a_resultCallback
a_context
Returns
Returns the number of entries found
See Also
RTree::Search
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/NamedRTree.h
5.55
95
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/NetworkBuffer.hpp
5.56
Defines how the bandwidth and latency of a given network link vary as functions of time over a specified period.
#include <NetworkProfile.hpp>
Public Attributes
std::vector< ResourceEntry > resources
time-sorted array of
timespec start_time
the start time of the profile in epoch time
double period
the period of the profile in seconds
uint64_t priority
the system-wide unique priority of the profile
uint64_t uuid
the unique ID of the profile
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
96
Class Documentation
5.56.1
Detailed Description
Defines how the bandwidth and latency of a given network link vary as functions of time over a specified period.
5.56.2
5.56.2.1
Returns the amount of time in seconds that data of length dataLenBits will take to transmit at time sentTime.
Parameters
dataLenBits
sentTime
in
in
Returns
double seconds from the current time before more data can be sent
5.56.2.2
Returns the bandwidth and latency for the interval containing the current system clocks time.
Parameters
out
out
5.56.2.3
bandwidth
latency
Returns the interpolated, cumulative data that can have been sent by time t.
Parameters
t
in
5.56.2.4
int Network::NetworkProfile::getNextInterval ( timespec & start, uint64_t & bandwidth, double & latency )
[inline]
Returns the start, bandwidth, and latency values for the next interval after the one that contains the current system
clocks time.
Parameters
out
out
out
start
bandwidth
latency
5.56.3
5.56.3.1
std::vector<ResourceEntry> Network::NetworkProfile::resources
time-sorted array of
ResourceEntry elements defining the bandwidth, data, and latency intervals
The documentation for this class was generated from the following file:
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
97
src/pnp2/include/pnp2/NetworkProfile.hpp
5.57
NumberFormatException Thrown when the string that shall be converted into a numerical representation has any
other characters then digits and a dot.
#include <UtilExceptions.h>
Inheritance diagram for NumberFormatException:
runtime_error
FormatException
NumberFormatException
5.57.1
Detailed Description
NumberFormatException Thrown when the string that shall be converted into a numerical representation has any
other characters then digits and a dot.
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/UtilExceptions.h
5.58
#include <Option.h>
Inheritance diagram for Option:
Option
Option_Bool
Option_Float
Option_Integer
Option_IntVector
Option_String
Option_FileName
98
Class Documentation
destructor
void unSet ()
marks this option as unset
void resetWritable ()
Resets the option to be writeable.
Protected Attributes
std::string myTypeName
A type name for this option (has presets, but may be overwritten)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.58.1
99
Detailed Description
5.58.2
5.58.2.1
Constructor.
This constructor should be used by derived classes. The boolean value indicates whether a default value was
supplied or not.
Parameters
set
in
5.58.3
5.58.3.1
Reimplemented in Option_Bool.
5.58.3.2
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
100
Class Documentation
Returns
The description of this options purpose
5.58.3.3
Reimplemented in Option_Float.
5.58.3.4
Reimplemented in Option_Integer.
5.58.3.5
Reimplemented in Option_IntVector.
5.58.3.6
101
Returns
Returns the stored string if being an instance of Option_String
Exceptions
InvalidArgument
Reimplemented in Option_String.
5.58.3.7
5.58.3.8
5.58.3.9
5.58.3.10
Returns the information whether the option holds the default value.
Returns
true if the option was not set from command line / configuration, false otherwise
5.58.3.11
102
Class Documentation
Returns
true if the Option is an Option_FileName, false otherwise
Reimplemented in Option_FileName.
5.58.3.12
5.58.3.13
Returns the information whether the option may be set a further time.
This method returns whether the option was not already set using command line options / configuration. This is
done by returning the value of myAmWritable.
Returns
Whether the option may be set from the command line / configuration
5.58.3.14
5.58.3.15
void Option::resetWritable ( )
5.58.3.16
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
103
Exceptions
InvalidArgument
5.58.3.17
5.59
Option
Option_Bool
Option_Bool ()
Destructor.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
104
Class Documentation
void unSet ()
marks this option as unset
void resetWritable ()
Resets the option to be writeable.
Protected Attributes
std::string myTypeName
A type name for this option (has presets, but may be overwritten)
5.59.1
5.59.1.1
Option_Bool::Option_Bool ( )
5.59.1.2
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
105
Parameters
value
in
5.59.2
5.59.2.1
Returns
Returns the stored boolean
Reimplemented from Option.
5.59.2.2
5.59.2.3
Reimplemented in Option_Float.
5.59.2.4
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
106
Class Documentation
Exceptions
InvalidArgument
Reimplemented in Option_Integer.
5.59.2.5
Reimplemented in Option_IntVector.
5.59.2.6
Reimplemented in Option_String.
5.59.2.7
5.59.2.8
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
107
Returns
The stored value encoded into a string
Implements Option.
5.59.2.9
5.59.2.10
Returns the information whether the option holds the default value.
Returns
true if the option was not set from command line / configuration, false otherwise
5.59.2.11
5.59.2.12
5.59.2.13
Returns the information whether the option may be set a further time.
This method returns whether the option was not already set using command line options / configuration. This is
done by returning the value of myAmWritable.
Returns
Whether the option may be set from the command line / configuration
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
108
Class Documentation
5.59.2.14
5.59.2.15
5.59.2.16
5.60
Option
Option_String
Option_FileName
virtual Option_FileName ()
Destructor.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
void unSet ()
marks this option as unset
void resetWritable ()
Resets the option to be writeable.
Protected Attributes
std::string myValue
the value, valid only when the base-classes "myAmSet"-member is true
std::string myTypeName
A type name for this option (has presets, but may be overwritten)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
109
110
Class Documentation
5.60.1
5.60.1.1
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
111
Parameters
value
in
5.60.2
5.60.2.1
Reimplemented in Option_Bool.
5.60.2.2
5.60.2.3
Reimplemented in Option_Float.
5.60.2.4
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
112
Class Documentation
Exceptions
InvalidArgument
Reimplemented in Option_Integer.
5.60.2.5
Reimplemented in Option_IntVector.
5.60.2.6
5.60.2.7
5.60.2.8
5.60.2.9
113
5.60.2.10
Returns the information whether the option holds the default value.
Returns
true if the option was not set from command line / configuration, false otherwise
5.60.2.11
5.60.2.12
5.60.2.13
Returns the information whether the option may be set a further time.
This method returns whether the option was not already set using command line options / configuration. This is
done by returning the value of myAmWritable.
Returns
Whether the option may be set from the command line / configuration
5.60.2.14
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
114
Class Documentation
5.60.2.15
5.60.2.16
Returns
Whether the new value could be set
Implements Option.
5.60.2.17
5.61
Option
Option_Float
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Option_Float ()
Destructor.
void unSet ()
marks this option as unset
void resetWritable ()
Resets the option to be writeable.
Protected Attributes
std::string myTypeName
A type name for this option (has presets, but may be overwritten)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
115
116
Class Documentation
5.61.1
5.61.1.1
Option_Float::Option_Float ( )
5.61.1.2
in
5.61.2
5.61.2.1
Reimplemented in Option_Bool.
5.61.2.2
5.61.2.3
5.61.2.4
117
Reimplemented in Option_Integer.
5.61.2.5
Reimplemented in Option_IntVector.
5.61.2.6
Reimplemented in Option_String.
5.61.2.7
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
118
Class Documentation
5.61.2.8
Returns
The stored value encoded into a string
Implements Option.
5.61.2.9
5.61.2.10
Returns the information whether the option holds the default value.
Returns
true if the option was not set from command line / configuration, false otherwise
5.61.2.11
5.61.2.12
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.61.2.13
119
Returns the information whether the option may be set a further time.
This method returns whether the option was not already set using command line options / configuration. This is
done by returning the value of myAmWritable.
Returns
Whether the option may be set from the command line / configuration
5.61.2.14
5.61.2.15
5.61.2.16
Returns
Whether the new value could be set
Exceptions
InvalidArgument
Implements Option.
5.61.2.17
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
120
Class Documentation
Returns
The description of this options purpose
The documentation for this class was generated from the following file:
src/sumo/include/utils/options/Option.h
5.62
An integer-option.
#include <Option.h>
Inheritance diagram for Option_Integer:
Option
Option_Integer
Option_Integer ()
Destructor.
void unSet ()
marks this option as unset
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
void resetWritable ()
Resets the option to be writeable.
Protected Attributes
std::string myTypeName
A type name for this option (has presets, but may be overwritten)
5.62.1
Detailed Description
An integer-option.
5.62.2
5.62.2.1
Option_Integer::Option_Integer ( )
5.62.2.2
in
value
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
121
122
Class Documentation
5.62.3
5.62.3.1
Reimplemented in Option_Bool.
5.62.3.2
5.62.3.3
Reimplemented in Option_Float.
5.62.3.4
Returns
Returns the stored integer number
Reimplemented from Option.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.62.3.5
123
Reimplemented in Option_IntVector.
5.62.3.6
Reimplemented in Option_String.
5.62.3.7
5.62.3.8
Returns
The stored value encoded into a string
Implements Option.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
124
Class Documentation
5.62.3.9
5.62.3.10
Returns the information whether the option holds the default value.
Returns
true if the option was not set from command line / configuration, false otherwise
5.62.3.11
5.62.3.12
5.62.3.13
Returns the information whether the option may be set a further time.
This method returns whether the option was not already set using command line options / configuration. This is
done by returning the value of myAmWritable.
Returns
Whether the option may be set from the command line / configuration
5.62.3.14
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.62.3.15
125
5.62.3.16
Returns
Whether the new value could be set
Exceptions
InvalidArgument
Implements Option.
5.62.3.17
5.63
Option
Option_IntVector
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
126
Class Documentation
virtual Option_IntVector ()
Destructor.
void unSet ()
marks this option as unset
void resetWritable ()
Resets the option to be writeable.
127
Protected Attributes
std::string myTypeName
A type name for this option (has presets, but may be overwritten)
5.63.1
5.63.1.1
in
5.63.2
5.63.2.1
Reimplemented in Option_Bool.
5.63.2.2
5.63.2.3
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
128
Class Documentation
Exceptions
InvalidArgument
Reimplemented in Option_Float.
5.63.2.4
Reimplemented in Option_Integer.
5.63.2.5
Returns
Returns the stored integer vector
Reimplemented from Option.
5.63.2.6
Reimplemented in Option_String.
5.63.2.7
5.63.2.8
5.63.2.9
5.63.2.10
Returns the information whether the option holds the default value.
Returns
true if the option was not set from command line / configuration, false otherwise
5.63.2.11
5.63.2.12
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
129
130
Class Documentation
5.63.2.13
Returns the information whether the option may be set a further time.
This method returns whether the option was not already set using command line options / configuration. This is
done by returning the value of myAmWritable.
Returns
Whether the option may be set from the command line / configuration
5.63.2.14
5.63.2.15
5.63.2.16
Returns
Whether the new value could be set
Exceptions
InvalidArgument
Implements Option.
5.63.2.17
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
131
Returns
The description of this options purpose
The documentation for this class was generated from the following file:
src/sumo/include/utils/options/Option.h
5.64
Option
Option_String
Option_FileName
virtual Option_String ()
Destructor.
void unSet ()
marks this option as unset
132
Class Documentation
void resetWritable ()
Resets the option to be writeable.
Protected Attributes
std::string myValue
the value, valid only when the base-classes "myAmSet"-member is true
std::string myTypeName
A type name for this option (has presets, but may be overwritten)
5.64.1
5.64.1.1
Option_String::Option_String ( )
5.64.1.2
in
value
5.64.2
5.64.2.1
133
Returns
Returns the stored boolean if being an instance of Option_Bool
Exceptions
InvalidArgument
Reimplemented in Option_Bool.
5.64.2.2
5.64.2.3
Reimplemented in Option_Float.
5.64.2.4
Reimplemented in Option_Integer.
5.64.2.5
134
Class Documentation
Returns
Returns the stored integer vector if being an instance of Option_IntVector
Exceptions
InvalidArgument
Reimplemented in Option_IntVector.
5.64.2.6
5.64.2.7
5.64.2.8
5.64.2.9
5.64.2.10
135
Returns the information whether the option holds the default value.
Returns
true if the option was not set from command line / configuration, false otherwise
5.64.2.11
5.64.2.12
5.64.2.13
Returns the information whether the option may be set a further time.
This method returns whether the option was not already set using command line options / configuration. This is
done by returning the value of myAmWritable.
Returns
Whether the option may be set from the command line / configuration
5.64.2.14
5.64.2.15
136
Class Documentation
5.64.2.16
Returns
Whether the new value could be set
Implements Option.
5.64.2.17
5.65
Public Attributes
long port
long bitLength
double runTime
int numPeriods
std::string ip
std::string tgFile
std::string outputFile
std::string interface
std::string parent
std::string handle
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
std::string profile
bool isRouter
bool useTBF
uint64_t buffer
uint64_t bucket
The documentation for this class was generated from the following files:
src/pnp2/include/pnp2/Client.hpp
src/pnp2/include/pnp2/Server.hpp
src/pnp2/include/pnp2/tcWrapper.hpp
5.66
#include <OptionsCont.h>
OptionsCont ()
Destructor.
void resetWritable ()
Resets all options to be writeable.
void clear ()
Removes all information from the container.
void clearCopyrightNotices ()
Removes all copyright information.
137
138
Class Documentation
void writeConfiguration (std::ostream &os, bool filled, bool complete, bool addComments) const
Writes the configuration.
void addSynonyme (const std::string &name1, const std::string &name2, bool isDeprecated=false)
Adds a synonyme for an options name (any order)
void addDescription (const std::string &name, const std::string &subtopic, const std::string &description)
Adds a description for an option.
139
Returns the named option is a list of string values containing the specified item.
Friends
std::ostream & operator<< (std::ostream &os, const OptionsCont &oc)
Output operator.
5.66.1
Detailed Description
See Also
setApplicationDescription
setApplicationName
Then, you may also add some example calls using addCallExample.
See Also
addCallExample
In the next step, option subtopics are registered. This is needed for the help screen and for writing the templates/saving configurations. A subtopic is added using addOptionSubTopic(<SUBTOPIC_NAME>).
See Also
addOptionSubTopic
After this, you may add options to the container. This is done using doRegister. This method requires a long name
for the option and the value container. The value container must be an instance of one of the classes derived from
"Option". Do not use Option itself! This is a base class which is meant to supply a default behaviour, but this default
behaviour throws exceptions only!
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
140
Class Documentation
See Also
Option
doRegister
addSynonyme
Once stored inside this container, options will not be visible to the world and are deleted by the container. Only
values and stati of the options may be returned. While accessing the options, the programmer must assure that he
asks for the right value (only Option_Bool is able to return a boolean value, other option types will throw exceptions).
Further, options added to the container must not be deleted outside this container (the container becomes the
owner).
For being printed in the help screen, a description together with the subtopic the option belongs to must be given to
OptionsCont. This is done using addDescription(<OPTION_NAME>, <SUBTOPIC>, <DESCRIPTION>).
See Also
addDescription
http://sumo.dlr.de/wiki/index.php/OptionsSubSystem
5.66.2
5.66.2.1
void OptionsCont::addCallExample ( const std::string & example, const std::string & desc )
in
in
5.66.2.2
in
5.66.2.3
void OptionsCont::addDescription ( const std::string & name, const std::string & subtopic, const std::string &
description )
in
in
in
name
subtopic
description
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
141
Exceptions
InvalidArgument
5.66.2.4
If none of the synonymes or both synonymes with different options were registered
before
in
5.66.2.5
void OptionsCont::addSynonyme ( const std::string & name1, const std::string & name2, bool isDeprecated =
false )
Adds a synonyme for an options name (any order)
Tries to find one of the synonymes. If both are known and the option differs for both, an InvalidArgument exception
is thrown. If none is known, also.
If one of the synonymes is known and the other not, the option from the known one is made accessible by the other.
In the case both synonymes are known and have the same option assigned, nothing is done.
Parameters
name1
name2
isDeprecated
in
in
in
Exceptions
InvalidArgument
5.66.2.6
If none of the synonymes or both synonymes with different options were registered
before
bool OptionsCont::checkDependingSuboptions ( const std::string & name, const std::string & prefix ) const
Checks whether an option is set, which has options with a prefix depending on it.
The method returns true, if the named option is set or no option dependoing on it is set. Throws an InvalidArgument
exception if the option is not known.
Parameters
in
in
name
prefix
Returns
Whether the dependencies are fulfilled
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
142
Class Documentation
Exceptions
InvalidArgument
5.66.2.7
in
in
Exceptions
InvalidArgument
5.66.2.8
Adds an option under the given name and the given abbreviation.
Adds the option under both names using void doRegister(const std::string &name, Option v);
Parameters
name
abbr
v
in
in
in
Exceptions
InvalidArgument
5.66.2.9
5.66.2.10
in
name
Returns
The boolean-value of the named, existing boolean-option
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
143
Exceptions
InvalidArgument
5.66.2.11
in
Returns
The SUMOReal-value of the named, existing SUMOReal-option
Exceptions
InvalidArgument
5.66.2.12
in
Returns
The int-value of the named, existing int-option
Exceptions
InvalidArgument
5.66.2.13
Returns the list of integer-value of the named option (only for Option_IntVector)
This method returns the int-vector-value of an existing int-vector-option. If the named option does not exist or is not
a int-vector-option, an InvalidArgument is thrown.
Parameters
in
name
Returns
The int-vector-value of the named, existing int-vector-option
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
144
Class Documentation
Exceptions
InvalidArgument
5.66.2.14
in
Returns
The string-value of the named, existing string-option
Exceptions
InvalidArgument
5.66.2.15
Returns the list of string-vector-value of the named option (only for Option_String)
This method returns the string-vector-value of an existing string-option. If the named option does not exist or is not
a string-option, an InvalidArgument is thrown.
The string-value is determined, first. If the legacy-divider ; is found within the string, a warning is generated. The
retrieved string is splitted at , and ;.
Parameters
name
in
Returns
The string-vector-value of the named, existing string-option
Exceptions
InvalidArgument
5.66.2.16
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
145
Parameters
name
in
Returns
List of existing synonymes
Exceptions
InvalidArgument
5.66.2.17
in
name
Returns
Whether the existing named option is a bool option
Exceptions
InvalidArgument
5.66.2.18
Returns the information whether the named option has still the default value.
The named option is tried to be retrieved from the container. If it does not exist, an InvalidArgument is thrown. If it
could be retrieved, the information whether the option still has the default value is returned.
An option "is default" if no value has been set from the command line / the configuration file.
Returns
true if the option still has the default value
Exceptions
InvalidArgument
5.66.2.19
bool OptionsCont::isInStringVector ( const std::string & optionName, const std::string & itemName )
Returns the named option is a list of string values containing the specified item.
If the named option is not set, false is returned. Otherwise, the string-vector of this option is retrieved using getStringVector what may throw an InvalidArgument exception if the named option is not a string option or not existing
at all.
The given itemName is searched in the obtained string-vector and the method returns whether it is stored in the list
or not.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
146
Class Documentation
Parameters
optionName
itemName
in
in
Returns
Whether the named item is set in the named string-option
Exceptions
InvalidArgument
See Also
getStringVector()
Todo Try to optimize - at each call, the vector is rebuilt
5.66.2.20
bool OptionsCont::isSet ( const std::string & name, bool failOnNonExistant = true ) const
in
in
name
failOnNonExistant
Returns
true if the option has a valid value, false otherwise
Exceptions
InvalidArgument
5.66.2.21
Checks whether the named option is usable as a file list (with at least a single file)
The method returns true, if the named option is set with entries containing names of accessable files.
Throw an InvalidArgument exception if the option is not known. If the option is not set, false is returned. Also, if the
list is empty (conatins delimiters only) or if one of the named files (obtained using getStringVector) does not exist,
false is returned. Additionally, an error is sent to MsgHandler in both cases.
In the case two delimiters were placed in the option value directly after each other, a warning is generated.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
147
Parameters
name
in
Returns
Whether the option contains names of files which can be accessed (for reading)
Exceptions
InvalidArgument
5.66.2.22
in
Returns
Whether the value can be set
Exceptions
InvalidArgument
5.66.2.23
in
5.66.2.24
Checks for help and configuration output, returns whether we should exit.
Returns false if no error was detected and the application may be executed (at least from this point of view). If
missingOptions is true, the user is informed that they should be supplied (returns true). Otherwise it is checked
whether help shall be printed what is done if so, returning true. Also, it is checked whether the set options shall be
printed and the configuration template or the current configuration shall be written.
This method throws a ProcessError if the configuration should be saved, but the file is not accessable. An error
message is supplied.
Parameters
in
missingOptions
Returns
Whether the application shall stop
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
148
Class Documentation
Exceptions
ProcessError
5.66.2.25
in
5.66.2.26
void OptionsCont::resetWritable ( )
5.66.2.27
bool OptionsCont::set ( const std::string & name, const std::string & value )
in
in
name
value
Returns
Whether the value could be set
Exceptions
InvalidArgument
See Also
reportDoubleSetting
Option::set(const std::string &)
5.66.2.28
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
149
Parameters
example
in
5.66.2.29
in
5.66.2.30
void OptionsCont::setApplicationName ( const std::string & appName, const std::string & fullName )
in
in
5.66.2.31
void OptionsCont::unSet ( const std::string & name, bool failOnNonExistant = true ) const
in
in
5.66.2.32
void OptionsCont::writeConfiguration ( std::ostream & os, bool filled, bool complete, bool addComments ) const
in
in
in
in
5.66.2.33
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
150
Class Documentation
os
addComments
in
in
5.66.2.34
in
5.66.3
5.66.3.1
Output operator.
Generates the output used when current option values shall be printed.
Parameters
os
oc
in
in
Returns
The stream to write into
The documentation for this class was generated from the following file:
src/sumo/include/utils/options/OptionsCont.h
5.67
Helping methods for parsing of command line arguments and reading a configuration file.
#include <OptionsIO.h>
5.67.1
Detailed Description
Helping methods for parsing of command line arguments and reading a configuration file.
Any errors are reported by throwing a ProcessError exception which contains a description about the failure.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
151
5.67.2
5.67.2.1
static void OptionsIO::getOptions ( bool loadConfig, int argc = 0, char argv = 0 ) [static]
Parses the command line arguments and loads the configuration optionally.
Command line arguments are parsed, first, throwing a ProcessError if something fails. If loadConfig is false, the
method returns after this. Otherwise, options are reset to being writeable and the configuration is loaded using
"loadConfiguration". After this, the options are reset again and the command line arguments are reparsed.
This workflow allows to read the name of a configuration file from command line arguments, first, then to load values
from this configuration file and reset them by other values from the command line.
Parameters
loadConfig
argc
argv
in
in
in
5.67.2.2
5.68
#include <OptionsLoader.h>
Inheritance diagram for OptionsLoader:
HandlerBase
OptionsLoader
OptionsLoader ()
destructor
152
Class Documentation
5.68.1
Detailed Description
5.68.2
5.68.2.1
5.68.2.2
5.68.2.3
Called on an XML-error.
The warning is reported to the the error-instance of MsgHandler
5.68.2.4
5.68.2.5
5.68.2.6
153
Called on an XML-warning.
The warning is reported to the the warning-instance of MsgHandler
The documentation for this class was generated from the following file:
src/sumo/include/utils/options/OptionsLoader.h
5.69
#include <OptionsParser.h>
5.69.1
Detailed Description
5.69.2
5.69.2.1
in
in
in
oc
argc
argv
Returns
Whether the parsing was successfull
Exceptions
InvalidArgument
The documentation for this class was generated from the following file:
src/sumo/include/utils/options/OptionsParser.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
154
Class Documentation
5.70
OutOfBoundsException Thrown when an array element out of the arrays bounderies is accessed.
#include <UtilExceptions.h>
Inheritance diagram for OutOfBoundsException:
runtime_error
OutOfBoundsException
5.70.1
Detailed Description
OutOfBoundsException Thrown when an array element out of the arrays bounderies is accessed.
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/UtilExceptions.h
5.71
#include <OutputDevice.h>
Inheritance diagram for OutputDevice:
OutputDevice
MsgRetrievingFunction< T >
OutputDevice_CERR
OutputDevice_COUT
OutputDevice_File
OutputDevice_Network
OutputDevice_String
static bool createDeviceByOption (const std::string &optionName, const std::string &rootElement="", const
std::string &schemaFile="")
Creates the device using the output definition stored in the named option.
155
virtual OutputDevice ()
Destructor.
virtual bool ok ()
returns the information whether one can write into the device
void close ()
Closes the device and removes it from the dictionary.
bool writeXMLHeader (const std::string &rootElement, const std::string &attrs="", const std::string &comment="")
Writes an XML header with optional configuration.
template<typename E >
bool writeHeader (const SumoXMLTag &rootElement)
OutputDevice & openTag (const std::string &xmlElement)
Opens an XML tag.
bool closeTag ()
Closes the most recently opened tag.
void lf ()
writes a line feed if applicable
template<typename T >
OutputDevice & writeAttr (const SumoXMLAttr attr, const T &val)
writes a named attribute
template<typename T >
OutputDevice & writeAttr (const std::string &attr, const T &val)
writes an arbitrary attribute
template<class T >
OutputDevice & operator<< (const T &t)
Abstract output operator.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
156
Class Documentation
5.71.1
Detailed Description
5.71.2
5.71.2.1
bool OutputDevice::closeTag ( )
5.71.2.2
static bool OutputDevice::createDeviceByOption ( const std::string & optionName, const std::string & rootElement =
in
in
in
optionName
rootElement
schemaFile
The name of the option to use for retrieving the output definition
The root element to use (XML-output)
The basename of the schema file to use (XML-output)
Returns
Whether a device was built (the option was set)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
157
Exceptions
IOError
5.71.2.3
If the output could not be built for any reason (error message is supplied)
in
Returns
The corresponding (built or existing) device
Exceptions
IOError
5.71.2.4
If the output could not be built for any reason (error message is supplied)
in
The name of the option to use for retrieving the output definition
Returns
The corresponding (built or existing) device
Exceptions
IOError
InvalidArgument
5.71.2.5
If the output could not be built for any reason (error message is supplied)
If the option with the given name does not exist
in
5.71.2.6
msg
158
Class Documentation
Returns
whether we have a binary output
5.71.2.7
returns the information whether one can write into the device
Returns
Whether the device can be used (stream is good)
in
Returns
The OutputDevice for further processing
in
xmlElement
Returns
The OutputDevice for further processing
5.71.2.10
5.71.2.11
5.71.2.12
[static]
Helper method for string formatting.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
159
160
Class Documentation
Parameters
v
precision
in
in
Returns
The formatted string
5.71.2.13
in
5.71.2.14
template<typename T > OutputDevice& OutputDevice::writeAttr ( const SumoXMLAttr attr, const T & val )
[inline]
in
in
Returns
The OutputDevice for further processing
5.71.2.15
template<typename T > OutputDevice& OutputDevice::writeAttr ( const std::string & attr, const T & val )
[inline]
in
in
Returns
The OutputDevice for further processing
5.71.2.16 OutputDevice& OutputDevice::writeNonEmptyAttr ( const SumoXMLAttr attr, const std::string & val )
[inline]
writes a string attribute only if it is not the empty string and not the string "default"
Parameters
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
in
in
161
Returns
The OutputDevice for further processing
in
Returns
The OutputDevice for further processing
5.71.2.18
bool OutputDevice::writeXMLHeader ( const std::string & rootElement, const std::string & attrs = "", const
std::string & comment = "" )
in
in
in
rootElement
attrs
comment
Returns
Whether the header could be written (stack was empty)
Todo Check which parameter is used herein
Describe what is saved
The documentation for this class was generated from the following file:
src/sumo/include/utils/iodevices/OutputDevice.h
5.72
#include <OutputDevice_CERR.h>
Inheritance diagram for OutputDevice_CERR:
OutputDevice
OutputDevice_CERR
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
162
Class Documentation
void close ()
Closes the device and removes it from the dictionary.
bool writeXMLHeader (const std::string &rootElement, const std::string &attrs="", const std::string &comment="")
Writes an XML header with optional configuration.
template<typename E >
bool writeHeader (const SumoXMLTag &rootElement)
OutputDevice & openTag (const std::string &xmlElement)
Opens an XML tag.
bool closeTag ()
Closes the most recently opened tag.
void lf ()
writes a line feed if applicable
template<typename T >
OutputDevice & writeAttr (const SumoXMLAttr attr, const T &val)
writes a named attribute
template<typename T >
OutputDevice & writeAttr (const std::string &attr, const T &val)
writes an arbitrary attribute
template<class T >
OutputDevice & operator<< (const T &t)
Abstract output operator.
static bool createDeviceByOption (const std::string &optionName, const std::string &rootElement="", const
std::string &schemaFile="")
Creates the device using the output definition stored in the named option.
163
5.72.1
Detailed Description
5.72.2
5.72.2.1
5.72.2.2
static bool OutputDevice::createDeviceByOption ( const std::string & optionName, const std::string & rootElement =
in
in
in
The name of the option to use for retrieving the output definition
The root element to use (XML-output)
The basename of the schema file to use (XML-output)
Returns
Whether a device was built (the option was set)
Exceptions
IOError
5.72.2.3
If the output could not be built for any reason (error message is supplied)
164
Class Documentation
5.72.2.4
in
Returns
The corresponding (built or existing) device
Exceptions
IOError
5.72.2.5
If the output could not be built for any reason (error message is supplied)
[inherited]
Returns the device described by the option.
Returns the device named by the option. If the option is unknown, unset or the device was not created before,
InvalidArgument is thrown.
Please note, that we do not have to consider the "application base" herein.
Parameters
name
in
The name of the option to use for retrieving the output definition
Returns
The corresponding (built or existing) device
Exceptions
IOError
InvalidArgument
5.72.2.6
If the output could not be built for any reason (error message is supplied)
If the option with the given name does not exist
5.72.2.7
void OutputDevice::inform ( const std::string & msg, const char progress = 0 ) [inherited]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
165
Parameters
msg
in
5.72.2.8
5.72.2.9
returns the information whether one can write into the device
Returns
Whether the device can be used (stream is good)
in
Returns
The OutputDevice for further processing
in
xmlElement
Returns
The OutputDevice for further processing
5.72.2.12
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
166
Class Documentation
5.72.2.13
5.72.2.14
[static], [inherited]
Helper method for string formatting.
Parameters
v
precision
in
in
Returns
The formatted string
5.72.2.15
in
5.72.2.16
template<typename T > OutputDevice& OutputDevice::writeAttr ( const SumoXMLAttr attr, const T & val )
[inline], [inherited]
in
in
Returns
The OutputDevice for further processing
5.72.2.17
template<typename T > OutputDevice& OutputDevice::writeAttr ( const std::string & attr, const T & val )
[inline], [inherited]
in
in
attr
val
Returns
The OutputDevice for further processing
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.72.2.18 OutputDevice& OutputDevice::writeNonEmptyAttr ( const SumoXMLAttr attr, const std::string & val )
[inline], [inherited]
writes a string attribute only if it is not the empty string and not the string "default"
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
167
168
Class Documentation
Parameters
attr
val
in
in
Returns
The OutputDevice for further processing
in
Returns
The OutputDevice for further processing
5.72.2.20
bool OutputDevice::writeXMLHeader ( const std::string & rootElement, const std::string & attrs = "", const
std::string & comment = "" ) [inherited]
in
in
in
rootElement
attrs
comment
Returns
Whether the header could be written (stack was empty)
Todo Check which parameter is used herein
Describe what is saved
The documentation for this class was generated from the following file:
src/sumo/include/utils/iodevices/OutputDevice_CERR.h
5.73
#include <OutputDevice_COUT.h>
Inheritance diagram for OutputDevice_COUT:
OutputDevice
OutputDevice_COUT
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
169
void close ()
Closes the device and removes it from the dictionary.
bool writeXMLHeader (const std::string &rootElement, const std::string &attrs="", const std::string &comment="")
Writes an XML header with optional configuration.
template<typename E >
bool writeHeader (const SumoXMLTag &rootElement)
OutputDevice & openTag (const std::string &xmlElement)
Opens an XML tag.
bool closeTag ()
Closes the most recently opened tag.
void lf ()
writes a line feed if applicable
template<typename T >
OutputDevice & writeAttr (const SumoXMLAttr attr, const T &val)
writes a named attribute
template<typename T >
OutputDevice & writeAttr (const std::string &attr, const T &val)
writes an arbitrary attribute
template<class T >
OutputDevice & operator<< (const T &t)
Abstract output operator.
static bool createDeviceByOption (const std::string &optionName, const std::string &rootElement="", const
std::string &schemaFile="")
Creates the device using the output definition stored in the named option.
170
Class Documentation
5.73.1
Detailed Description
5.73.2
5.73.2.1
5.73.2.2
static bool OutputDevice::createDeviceByOption ( const std::string & optionName, const std::string & rootElement =
in
in
in
The name of the option to use for retrieving the output definition
The root element to use (XML-output)
The basename of the schema file to use (XML-output)
Returns
Whether a device was built (the option was set)
Exceptions
IOError
5.73.2.3
If the output could not be built for any reason (error message is supplied)
5.73.2.4
171
in
Returns
The corresponding (built or existing) device
Exceptions
IOError
5.73.2.5
If the output could not be built for any reason (error message is supplied)
[inherited]
Returns the device described by the option.
Returns the device named by the option. If the option is unknown, unset or the device was not created before,
InvalidArgument is thrown.
Please note, that we do not have to consider the "application base" herein.
Parameters
name
in
The name of the option to use for retrieving the output definition
Returns
The corresponding (built or existing) device
Exceptions
IOError
InvalidArgument
5.73.2.6
If the output could not be built for any reason (error message is supplied)
If the option with the given name does not exist
5.73.2.7
void OutputDevice::inform ( const std::string & msg, const char progress = 0 ) [inherited]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
172
Class Documentation
Parameters
msg
in
5.73.2.8
5.73.2.9
returns the information whether one can write into the device
Returns
Whether the device can be used (stream is good)
in
Returns
The OutputDevice for further processing
in
xmlElement
Returns
The OutputDevice for further processing
5.73.2.12
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.73.2.13
173
5.73.2.14
[static], [inherited]
Helper method for string formatting.
Parameters
v
precision
in
in
Returns
The formatted string
5.73.2.15
in
5.73.2.16
template<typename T > OutputDevice& OutputDevice::writeAttr ( const SumoXMLAttr attr, const T & val )
[inline], [inherited]
in
in
Returns
The OutputDevice for further processing
5.73.2.17
template<typename T > OutputDevice& OutputDevice::writeAttr ( const std::string & attr, const T & val )
[inline], [inherited]
in
in
attr
val
Returns
The OutputDevice for further processing
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
174
Class Documentation
5.73.2.18 OutputDevice& OutputDevice::writeNonEmptyAttr ( const SumoXMLAttr attr, const std::string & val )
[inline], [inherited]
writes a string attribute only if it is not the empty string and not the string "default"
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
175
Parameters
attr
val
in
in
Returns
The OutputDevice for further processing
in
Returns
The OutputDevice for further processing
5.73.2.20
bool OutputDevice::writeXMLHeader ( const std::string & rootElement, const std::string & attrs = "", const
std::string & comment = "" ) [inherited]
in
in
in
rootElement
attrs
comment
Returns
Whether the header could be written (stack was empty)
Todo Check which parameter is used herein
Describe what is saved
The documentation for this class was generated from the following file:
src/sumo/include/utils/iodevices/OutputDevice_COUT.h
5.74
#include <OutputDevice_File.h>
Inheritance diagram for OutputDevice_File:
OutputDevice
OutputDevice_File
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
176
Class Documentation
OutputDevice_File ()
Destructor.
static bool createDeviceByOption (const std::string &optionName, const std::string &rootElement="", const
std::string &schemaFile="")
Creates the device using the output definition stored in the named option.
void close ()
Closes the device and removes it from the dictionary.
bool writeXMLHeader (const std::string &rootElement, const std::string &attrs="", const std::string &comment="")
Writes an XML header with optional configuration.
template<typename E >
bool writeHeader (const SumoXMLTag &rootElement)
OutputDevice & openTag (const std::string &xmlElement)
Opens an XML tag.
bool closeTag ()
Closes the most recently opened tag.
void lf ()
writes a line feed if applicable
177
template<typename T >
OutputDevice & writeAttr (const SumoXMLAttr attr, const T &val)
writes a named attribute
template<typename T >
OutputDevice & writeAttr (const std::string &attr, const T &val)
writes an arbitrary attribute
template<class T >
OutputDevice & operator<< (const T &t)
Abstract output operator.
5.74.1
Detailed Description
5.74.2
5.74.2.1
Constructor.
Parameters
strm
in
Exceptions
IOError
5.74.3
5.74.3.1
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
178
Class Documentation
5.74.3.2
static bool OutputDevice::createDeviceByOption ( const std::string & optionName, const std::string & rootElement =
in
in
in
The name of the option to use for retrieving the output definition
The root element to use (XML-output)
The basename of the schema file to use (XML-output)
Returns
Whether a device was built (the option was set)
Exceptions
IOError
5.74.3.3
If the output could not be built for any reason (error message is supplied)
in
Returns
The corresponding (built or existing) device
Exceptions
IOError
5.74.3.4
If the output could not be built for any reason (error message is supplied)
[inherited]
Returns the device described by the option.
Returns the device named by the option. If the option is unknown, unset or the device was not created before,
InvalidArgument is thrown.
Please note, that we do not have to consider the "application base" herein.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
179
Parameters
name
in
The name of the option to use for retrieving the output definition
Returns
The corresponding (built or existing) device
Exceptions
IOError
InvalidArgument
5.74.3.5
If the output could not be built for any reason (error message is supplied)
If the option with the given name does not exist
5.74.3.6
void OutputDevice::inform ( const std::string & msg, const char progress = 0 ) [inherited]
in
5.74.3.7
5.74.3.8
returns the information whether one can write into the device
Returns
Whether the device can be used (stream is good)
180
Class Documentation
Parameters
xmlElement
in
Returns
The OutputDevice for further processing
in
Returns
The OutputDevice for further processing
5.74.3.11
5.74.3.12
5.74.3.13
[static], [inherited]
Helper method for string formatting.
Parameters
in
in
v
precision
Returns
The formatted string
5.74.3.14
181
Parameters
precision
in
5.74.3.15
template<typename T > OutputDevice& OutputDevice::writeAttr ( const SumoXMLAttr attr, const T & val )
[inline], [inherited]
in
in
Returns
The OutputDevice for further processing
5.74.3.16
template<typename T > OutputDevice& OutputDevice::writeAttr ( const std::string & attr, const T & val )
[inline], [inherited]
in
in
attr
val
Returns
The OutputDevice for further processing
5.74.3.17 OutputDevice& OutputDevice::writeNonEmptyAttr ( const SumoXMLAttr attr, const std::string & val )
[inline], [inherited]
writes a string attribute only if it is not the empty string and not the string "default"
Parameters
in
in
attr
val
Returns
The OutputDevice for further processing
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
182
Class Documentation
val
in
Returns
The OutputDevice for further processing
5.74.3.19
bool OutputDevice::writeXMLHeader ( const std::string & rootElement, const std::string & attrs = "", const
std::string & comment = "" ) [inherited]
in
in
in
Returns
Whether the header could be written (stack was empty)
Todo Check which parameter is used herein
Describe what is saved
The documentation for this class was generated from the following file:
src/sumo/include/utils/iodevices/OutputDevice_File.h
5.75
#include <OutputDevice_Network.h>
Inheritance diagram for OutputDevice_Network:
OutputDevice
OutputDevice_Network
OutputDevice_Network ()
Destructor.
183
returns the information whether one can write into the device
void close ()
Closes the device and removes it from the dictionary.
bool writeXMLHeader (const std::string &rootElement, const std::string &attrs="", const std::string &comment="")
Writes an XML header with optional configuration.
template<typename E >
bool writeHeader (const SumoXMLTag &rootElement)
OutputDevice & openTag (const std::string &xmlElement)
Opens an XML tag.
bool closeTag ()
Closes the most recently opened tag.
void lf ()
writes a line feed if applicable
template<typename T >
OutputDevice & writeAttr (const SumoXMLAttr attr, const T &val)
writes a named attribute
template<typename T >
OutputDevice & writeAttr (const std::string &attr, const T &val)
writes an arbitrary attribute
template<class T >
OutputDevice & operator<< (const T &t)
Abstract output operator.
static bool createDeviceByOption (const std::string &optionName, const std::string &rootElement="", const
std::string &schemaFile="")
Creates the device using the output definition stored in the named option.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
184
Class Documentation
5.75.1
Detailed Description
5.75.2
5.75.2.1
Constructor.
Parameters
host
port
in
in
Exceptions
IOError
5.75.3
5.75.3.1
5.75.3.2
static bool OutputDevice::createDeviceByOption ( const std::string & optionName, const std::string & rootElement =
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
in
in
in
185
The name of the option to use for retrieving the output definition
The root element to use (XML-output)
The basename of the schema file to use (XML-output)
Returns
Whether a device was built (the option was set)
Exceptions
IOError
5.75.3.3
If the output could not be built for any reason (error message is supplied)
in
Returns
The corresponding (built or existing) device
Exceptions
IOError
5.75.3.4
If the output could not be built for any reason (error message is supplied)
[inherited]
Returns the device described by the option.
Returns the device named by the option. If the option is unknown, unset or the device was not created before,
InvalidArgument is thrown.
Please note, that we do not have to consider the "application base" herein.
Parameters
name
in
The name of the option to use for retrieving the output definition
Returns
The corresponding (built or existing) device
Exceptions
IOError
InvalidArgument
5.75.3.5
If the output could not be built for any reason (error message is supplied)
If the option with the given name does not exist
186
Class Documentation
Returns
The used stream
See Also
postWriteHook
Implements OutputDevice.
5.75.3.6
void OutputDevice::inform ( const std::string & msg, const char progress = 0 ) [inherited]
in
5.75.3.7
5.75.3.8
returns the information whether one can write into the device
Returns
Whether the device can be used (stream is good)
in
xmlElement
Returns
The OutputDevice for further processing
187
Parameters
xmlElement
in
Returns
The OutputDevice for further processing
5.75.3.11
5.75.3.12
Sends the data which was written to the string stream over the socket.
Converts the stored message into a vector of chars and sends them via to the socket implementation. Resets the
message, afterwards.
Reimplemented from OutputDevice.
5.75.3.13
[static], [inherited]
Helper method for string formatting.
Parameters
v
precision
in
in
Returns
The formatted string
5.75.3.14
in
5.75.3.15
template<typename T > OutputDevice& OutputDevice::writeAttr ( const SumoXMLAttr attr, const T & val )
[inline], [inherited]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
188
Class Documentation
Parameters
attr
val
in
in
Returns
The OutputDevice for further processing
5.75.3.16
template<typename T > OutputDevice& OutputDevice::writeAttr ( const std::string & attr, const T & val )
[inline], [inherited]
in
in
Returns
The OutputDevice for further processing
5.75.3.17 OutputDevice& OutputDevice::writeNonEmptyAttr ( const SumoXMLAttr attr, const std::string & val )
[inline], [inherited]
writes a string attribute only if it is not the empty string and not the string "default"
Parameters
attr
val
in
in
Returns
The OutputDevice for further processing
in
val
Returns
The OutputDevice for further processing
5.75.3.19
bool OutputDevice::writeXMLHeader ( const std::string & rootElement, const std::string & attrs = "", const
std::string & comment = "" ) [inherited]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
189
Parameters
rootElement
attrs
comment
in
in
in
Returns
Whether the header could be written (stack was empty)
Todo Check which parameter is used herein
Describe what is saved
The documentation for this class was generated from the following file:
src/sumo/include/utils/iodevices/OutputDevice_Network.h
5.76
#include <OutputDevice_String.h>
Inheritance diagram for OutputDevice_String:
OutputDevice
OutputDevice_String
OutputDevice_String ()
Destructor.
std::string getString ()
Returns the current content as a string.
static bool createDeviceByOption (const std::string &optionName, const std::string &rootElement="", const
std::string &schemaFile="")
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
190
Class Documentation
Creates the device using the output definition stored in the named option.
void close ()
Closes the device and removes it from the dictionary.
bool writeXMLHeader (const std::string &rootElement, const std::string &attrs="", const std::string &comment="")
Writes an XML header with optional configuration.
template<typename E >
bool writeHeader (const SumoXMLTag &rootElement)
OutputDevice & openTag (const std::string &xmlElement)
Opens an XML tag.
bool closeTag ()
Closes the most recently opened tag.
void lf ()
writes a line feed if applicable
template<typename T >
OutputDevice & writeAttr (const SumoXMLAttr attr, const T &val)
writes a named attribute
template<typename T >
OutputDevice & writeAttr (const std::string &attr, const T &val)
writes an arbitrary attribute
template<class T >
OutputDevice & operator<< (const T &t)
Abstract output operator.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.76.1
191
Detailed Description
5.76.2
5.76.2.1
5.76.2.2
static bool OutputDevice::createDeviceByOption ( const std::string & optionName, const std::string & rootElement =
in
in
in
The name of the option to use for retrieving the output definition
The root element to use (XML-output)
The basename of the schema file to use (XML-output)
Returns
Whether a device was built (the option was set)
Exceptions
IOError
5.76.2.3
If the output could not be built for any reason (error message is supplied)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
192
Class Documentation
Parameters
name
in
Returns
The corresponding (built or existing) device
Exceptions
IOError
5.76.2.4
If the output could not be built for any reason (error message is supplied)
[inherited]
Returns the device described by the option.
Returns the device named by the option. If the option is unknown, unset or the device was not created before,
InvalidArgument is thrown.
Please note, that we do not have to consider the "application base" herein.
Parameters
name
in
The name of the option to use for retrieving the output definition
Returns
The corresponding (built or existing) device
Exceptions
IOError
InvalidArgument
5.76.2.5
If the output could not be built for any reason (error message is supplied)
If the option with the given name does not exist
5.76.2.6
std::string OutputDevice_String::getString ( )
5.76.2.7
void OutputDevice::inform ( const std::string & msg, const char progress = 0 ) [inherited]
193
Parameters
msg
in
5.76.2.8
5.76.2.9
returns the information whether one can write into the device
Returns
Whether the device can be used (stream is good)
in
Returns
The OutputDevice for further processing
in
xmlElement
Returns
The OutputDevice for further processing
5.76.2.12
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
194
Class Documentation
5.76.2.13
5.76.2.14
[static], [inherited]
Helper method for string formatting.
Parameters
v
precision
in
in
Returns
The formatted string
5.76.2.15
in
5.76.2.16
template<typename T > OutputDevice& OutputDevice::writeAttr ( const SumoXMLAttr attr, const T & val )
[inline], [inherited]
in
in
Returns
The OutputDevice for further processing
5.76.2.17
template<typename T > OutputDevice& OutputDevice::writeAttr ( const std::string & attr, const T & val )
[inline], [inherited]
in
attr
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
val
in
195
Returns
The OutputDevice for further processing
5.76.2.18 OutputDevice& OutputDevice::writeNonEmptyAttr ( const SumoXMLAttr attr, const std::string & val )
[inline], [inherited]
writes a string attribute only if it is not the empty string and not the string "default"
Parameters
attr
val
in
in
Returns
The OutputDevice for further processing
in
Returns
The OutputDevice for further processing
5.76.2.20
bool OutputDevice::writeXMLHeader ( const std::string & rootElement, const std::string & attrs = "", const
std::string & comment = "" ) [inherited]
in
in
in
rootElement
attrs
comment
Returns
Whether the header could be written (stack was empty)
Todo Check which parameter is used herein
Describe what is saved
The documentation for this class was generated from the following file:
src/sumo/include/utils/iodevices/OutputDevice_String.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
196
Class Documentation
5.77
#include <OutputFormatter.h>
Inheritance diagram for OutputFormatter:
OutputFormatter
BinaryFormatter
PlainXMLFormatter
virtual bool writeXMLHeader (std::ostream &into, const std::string &rootElement, const std::string &attrs="",
const std::string &comment="")=0
Writes an XML header with optional configuration.
5.77.1
Detailed Description
5.77.2
5.77.2.1
in
into
Returns
Whether a further element existed in the stack and could be closed
Todo it is not verified that the topmost element was closed
Implemented in BinaryFormatter, and PlainXMLFormatter.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.77.2.2
197
virtual void OutputFormatter::openTag ( std::ostream & into, const std::string & xmlElement ) [pure
virtual]
Opens an XML tag.
An indentation, depending on the current xml-element-stack size, is written followed by the given xml element ("<"
+ xmlElement) The xml element is added to the stack, then.
Parameters
into
xmlElement
in
in
Returns
The OutputDevice for further processing
Implemented in BinaryFormatter, and PlainXMLFormatter.
5.77.2.3
virtual void OutputFormatter::openTag ( std::ostream & into, const SumoXMLTag & xmlElement ) [pure
virtual]
Opens an XML tag.
Helper method which finds the correct string before calling openTag.
Parameters
into
xmlElement
in
in
5.77.2.4
virtual bool OutputFormatter::writeXMLHeader ( std::ostream & into, const std::string & rootElement, const std::string
& attrs = "", const std::string & comment = "" ) [pure virtual]
in
in
in
in
into
rootElement
attrs
comment
5.78
#include <Parameterised.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
198
Class Documentation
Parameterised ()
Destructor.
const std::string & getParameter (const std::string &key, const std::string &defaultValue) const
Returns the value for a given key.
void clearParameter ()
Clears the parameter map.
5.78.1
Detailed Description
5.78.2
5.78.2.1
Constructor.
Parameters
mapArg
in
Pre-given parameter
5.78.3
5.78.3.1
void Parameterised::addParameter ( const std::string & key, const std::string & value )
Adds a parameter.
Parameters
key
value
in
in
5.78.3.2
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
in
5.78.3.3
in
5.78.3.4
5.78.3.5
const std::string & Parameterised::getParameter ( const std::string & key, const std::string & defaultValue ) const
in
in
Returns
The value stored under the key
5.78.3.6
in
key
Returns
Whether the key is known
The documentation for this class was generated from the following files:
src/sumo/include/utils/common/Parameterised.h
src/sumo/src/utils/common/Parameterised.cpp
5.79
199
200
Class Documentation
#include <rapidxml.hpp>
Inheritance diagram for rapidxml::parse_error:
exception
rapidxml::parse_error
template<class Ch >
Ch where () const
Gets pointer to character data where error happened.
5.79.1
Detailed Description
5.79.2
5.79.2.1
[inline], [virtual]
5.79.2.2
5.80
201
#include <PlainXMLFormatter.h>
Inheritance diagram for PlainXMLFormatter:
OutputFormatter
PlainXMLFormatter
virtual PlainXMLFormatter ()
Destructor.
bool writeXMLHeader (std::ostream &into, const std::string &rootElement, const std::string &attrs="", const
std::string &comment="")
Writes an XML header with optional configuration.
template<class T >
static void writeAttr (std::ostream &into, const SumoXMLAttr attr, const T &val)
writes a named attribute
5.80.1
Detailed Description
5.80.2
5.80.2.1
202
Class Documentation
Parameters
into
in
Returns
Whether a further element existed in the stack and could be closed
Todo it is not verified that the topmost element was closed
Implements OutputFormatter.
5.80.2.2
void PlainXMLFormatter::openTag ( std::ostream & into, const std::string & xmlElement ) [virtual]
in
in
Returns
The OutputDevice for further processing
Implements OutputFormatter.
5.80.2.3
void PlainXMLFormatter::openTag ( std::ostream & into, const SumoXMLTag & xmlElement ) [virtual]
in
in
Implements OutputFormatter.
5.80.2.4
template<class T > static void PlainXMLFormatter::writeAttr ( std::ostream & into, const std::string & attr, const T &
val ) [inline], [static]
in
in
in
5.80.2.5
template<class T > static void PlainXMLFormatter::writeAttr ( std::ostream & into, const SumoXMLAttr attr, const
T & val ) [inline], [static]
203
Parameters
into
attr
val
in
in
in
5.80.2.6
in
in
5.80.2.7
void PlainXMLFormatter::writePreformattedTag ( std::ostream & into, const std::string & val ) [virtual]
writes a preformatted tag to the device but ensures that any pending tags are closed
Parameters
into
val
in
in
Implements OutputFormatter.
5.80.2.8
bool PlainXMLFormatter::writeXMLHeader ( std::ostream & into, const std::string & rootElement, const std::string &
attrs = "", const std::string & comment = "" ) [virtual]
in
in
in
in
into
rootElement
attrs
comment
5.81
204
Class Documentation
void swap ()
double magnitude () const
Protected Attributes
coord_type _x
coord_type _y
The documentation for this class was generated from the following file:
src/sumo/include/foreign/eulerspiral/points.h
5.82
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::POIScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::POIScope
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
205
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.82.1
Detailed Description
5.83
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::PolygonScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::PolygonScope
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
206
Class Documentation
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.83.1
Detailed Description
5.84
ProcessError A general exception type that may be thrown when the process is no longer able to proceed due to
any reason.
#include <UtilExceptions.h>
Inheritance diagram for ProcessError:
runtime_error
ProcessError
InvalidArgument
IOError
5.84.1
Detailed Description
ProcessError A general exception type that may be thrown when the process is no longer able to proceed due to
any reason.
The reason itself is mostly reported before throwing the exception
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/UtilExceptions.h
5.85
207
streambuf
Network::profileMemBuf
5.86
#include <RandHelper.h>
template<class T >
static T getRandomFrom (const std::vector< T > &v)
Returns a random element from the given vector.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
208
Class Documentation
5.86.1
Detailed Description
5.87
#include <RandomDistributor.h>
RandomDistributor ()
Destructor.
void clear ()
Clears the distribution.
5.87.1
Detailed Description
5.87.2
5.87.2.1
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
209
Parameters
maximumSize
in
The maximum size to maintain older entrys will be removed when adding more
than the maximumSize
5.87.3
5.87.3.1
template<class T > bool RandomDistributor< T >::add ( SUMOReal prob, T val, bool checkDuplicates = true
) [inline]
in
in
Returns
true if a new value was added, false if just the probability of an existing one was updated
5.87.3.2
in
The random number generator to use; the static one will be used if 0 is passed
Returns
the drawn member
5.87.3.3
5.87.3.4
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
210
Class Documentation
Returns
the probabilities assigned to the distribution
See Also
RandomDistributor::getVals
5.87.3.5
5.88
Allows for the reception of data through a (possibly fixed-size) buffer at a configurable rate that can vary as a function
of time.
#include <receiver.hpp>
int init (int argc, char argv, std::string prof_str, uint64_t buff_capacity_bits=0, bool enable_oob=false)
void add_sender (uint64_t id, std::string profile)
void add_sender (std::string profileName)
void set_duration (double dur)
void set_output_filename (std::string filename)
void set_recv_done_callback (boost::function< void()> func)
void set_enable_sendback (bool sendback)
void update_sender_stream (uint64_t uuid, ros::Time t, uint64_t new_size)
ros::Time get_end_time () const
int init_oob ()
int oob_send (std::vector< uint64_t > &send_uuids, bool val)
void buffer_recv_threadfunc (void)
void record ()
int unlimit_ddos (void)
int limit_ddos (ros::Time now, double timeWindow)
Public Attributes
message_buffer< Network::Message > buffer
Network::NetworkProfile profile
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.88.1
211
Detailed Description
Allows for the reception of data through a (possibly fixed-size) buffer at a configurable rate that can vary as a function
of time.
Optionally enables out-of-band (oob) communication to senders to shut them off if the buffer is filling up too fast.
The receiver also records the reception of data (size, time) into memory for later dump to disk.
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/receiver.hpp
5.89
Holds the information about an interval of time starting at time, with constant bandwidth and max_bandwidth.
#include <NetworkProfile.hpp>
Public Attributes
double time
units: sec
uint64_t bandwidth
units: bits / sec
uint64_t max_bandwidth
units: bits / sec
uint64_t data
units: bits
double latency
units: sec
5.89.1
Detailed Description
Holds the information about an interval of time starting at time, with constant bandwidth and max_bandwidth.
Data and latency are linearly interpolated between time and the start time of the next ResourceEntry. Data is
interpolated according to bandwidth of this ResourceEntry, while latency is interpolated according to the latency
value of the next ResourceEntry.
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/NetworkProfile.hpp
5.90
#include <RGBColor.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
212
Class Documentation
RGBColor (unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha=255)
Constructor.
RGBColor ()
Destructor.
void set (unsigned char r, unsigned char g, unsigned char b, unsigned char a)
assigns new values
static RGBColor parseColorReporting (const std::string &coldef, const std::string &objecttype, const char
objectid, bool report, bool &ok)
Parses a color information.
static RGBColor interpolate (const RGBColor &minColor, const RGBColor &maxColor, SUMOReal weight)
Interpolates between two colors.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
213
Friends
std::ostream & operator<< (std::ostream &os, const RGBColor &col)
Writes the color to the given stream.
5.90.1
Detailed Description
5.90.2
5.90.2.1
RGBColor::RGBColor ( unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha = 255 )
Constructor.
Parameters
red
green
blue
in
in
in
5.90.3
5.90.3.1
5.90.3.2
in
in
change
change
Returns
The new color
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
214
Class Documentation
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
215
Parameters
h
s
v
in
in
in
Hue (0-360)
Saturation (0-1)
Value (0-1)
Returns
The color as RGB
Author
Alvy Ray Smith (http://www.alvyray.com/default.htm)
5.90.3.5
5.90.3.6 RGBColor RGBColor::interpolate ( const RGBColor & minColor, const RGBColor & maxColor, SUMOReal
weight ) [static]
Interpolates between two colors.
The interpolated color is calculated as a weighted average of the RGB values of minColor and maxColor, giving
weight to maxColor and 1-weight to minColor.
Parameters
in
in
in
minColor
maxColor
weight
Returns
The interpolated color
in
coldef
Returns
The parsed color
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
216
Class Documentation
Exceptions
EmptyData
NumberFormatException
5.90.3.8 RGBColor RGBColor::parseColorReporting ( const std::string & coldef, const std::string & objecttype, const char
objectid, bool report, bool & ok ) [static]
Parses a color information.
It is assumed that the color is stored as "<RED>,<GREEN>,<BLUE>" and each color is represented as a SUMOReal. Alternatively the color can be stored as "<RED>,<GREEN>,<BLUE>,<ALPHA>" and each color is
represented as an unsigned byte.
Parameters
in
in
in
in
in,out
coldef
objecttype
objectid
report
ok
Returns
The parsed color
Exceptions
EmptyData
NumberFormatException
5.90.3.9
5.90.3.10
void RGBColor::set ( unsigned char r, unsigned char g, unsigned char b, unsigned char a )
in
in
in
in
r
g
b
a
5.90.4
5.90.4.1
std::ostream& operator<< ( std::ostream & os, const RGBColor & col ) [friend]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
out
in
Returns
The stream
The documentation for this class was generated from the following files:
src/sumo/include/utils/common/RGBColor.h
src/sumo/src/utils/common/RGBColor.cpp
5.91
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::RouteScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::RouteScope
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.91.1
Detailed Description
217
218
Class Documentation
5.92
#include <SAXWeightsHandler.h>
Inheritance diagram for SAXWeightsHandler:
DefaultHandler
GenericSAXHandler
SUMOSAXHandler
SAXWeightsHandler
Classes
class EdgeFloatTimeLineRetriever
Interface for a class which obtains read weights for named edges.
class ToRetrieveDefinition
Complete definition about what shall be retrieved and where to store it.
SAXWeightsHandler ()
Destructor.
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.
void endElement (const XMLCh const uri, const XMLCh const localname, const XMLCh const qname)
The inherited method called when a tag is being closed.
219
5.92.1
Detailed Description
5.92.2
5.92.2.1
Constructor.
Gets a list of retriever definitions. Please note that the retrievers are not deleted!
5.92.2.2
Constructor.
Gets a single definition. Please note that the retrievers are not deleted!
5.92.3
5.92.3.1
220
Class Documentation
Parameters
exception
in
Returns
A string describing the given exception
5.92.3.2
[inherited]
The inherited method called when characters occured.
The retrieved characters are converted into a string and appended into a private buffer. They are reported as soon
as the element ends.
Todo recheck/describe what happens with characters when a new element is opened
describe characters processing in the class head
5.92.3.3
void GenericSAXHandler::endElement ( const XMLCh const uri, const XMLCh const localname, const XMLCh
5.92.3.4
[inherited]
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
Parameters
exception
in
Exceptions
ProcessError
5.92.3.5
On any call
[inherited]
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
221
Exceptions
ProcessError
On any call
Parameters
exception
in
5.92.3.6
5.92.3.7
virtual void GenericSAXHandler::myCharacters ( int element, const std::string & chars ) [protected],
[virtual], [inherited]
Callback method for characters to implement by derived classes.
Called by "endElement" (see there).
Parameters
element
chars
in
in
5.92.3.8
in
Exceptions
ProcessError
If something fails
See Also
GenericSAXHandler::myEndElement
Reimplemented from GenericSAXHandler.
5.92.3.9
[virtual]
Called on the opening of a tag;.
Parameters
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
222
Class Documentation
element
attrs
in
in
Exceptions
ProcessError
If something fails
See Also
GenericSAXHandler::myStartElement
Reimplemented from GenericSAXHandler.
5.92.3.10
in
Todo Hmmm - this is as unsafe as having a direct access to the variable; recheck
void GenericSAXHandler::startElement ( const XMLCh const uri, const XMLCh const localname, const XMLCh
const qname, const XERCES_CPP_NAMESPACE::Attributes & attrs ) [inherited]
5.92.3.11
5.92.3.12
[inherited]
Handler for XML-warnings.
The message is built using buildErrorMessage and reported to the warning-instance of the MsgHandler.
Parameters
in
exception
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SAXWeightsHandler.h
5.93
#include <AbstractMutex.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
223
ScopedLocker ()
Destructor Unlocks the mutex.
5.93.1
Detailed Description
5.93.2
5.93.2.1
Constructor.
Parameters
in
lock
5.94
Allows for the sending of data (possibly through a buffer) at a configurable rate and with configurable push-back to
inform if the rate has been exceeded.
#include <sender.hpp>
Public Attributes
std::vector< Network::Message > messages
Network::NetworkProfile profile
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
224
Class Documentation
5.94.1
Detailed Description
Allows for the sending of data (possibly through a buffer) at a configurable rate and with configurable push-back to
inform if the rate has been exceeded.
Can also optionally receive out-of-band (oob) push-backs from its associated receiver classes to disable sending
while they empty their receive buffers. The sender also records the sending of data (size, time) into memory for
later dump to disk.
The documentation for this class was generated from the following file:
src/pnp2/include/pnp2/sender.hpp
5.95
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::SimulationScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::SimulationScope
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.95.1
Detailed Description
5.96
Socket ()
Destructor.
void send (const std::vector< unsigned char > &buffer) throw ( SocketException )
void sendExact (const Storage &) throw ( SocketException )
std::vector< unsigned char > receive (int bufSize=2048) throw ( SocketException )
Receive up to bufSize available bytes from Socket::socket_.
bool receiveExact (Storage &) throw ( SocketException )
Receive a complete TraCI message from Socket::socket_.
void close ()
int port ()
void set_blocking (bool) throw ( SocketException )
bool is_blocking () throw ()
bool has_client_connection () const
bool verbose ()
void set_verbose (bool newVerbose)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
225
226
Class Documentation
Friends
class Response
The documentation for this class was generated from the following file:
src/sumo/include/foreign/tcpip/socket.h
5.97
exception
tcpip::SocketException
5.98
#include <StaticCommand.h>
Inheritance diagram for StaticCommand< T >:
Command
StaticCommand< T >
Public Types
typedef SUMOTime( Operation )(SUMOTime)
Type of the function to execute.
StaticCommand ()
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
227
Destructor.
void deschedule ()
Marks this Command as being descheduled.
5.98.1
Detailed Description
5.98.2
5.98.2.1
Constructor.
Parameters
receiver
operation
in
in
Pointer to object of type T that will receive a call to one of its methods.
The objects method that will be called on execute()
5.98.3
5.98.3.1
5.98.3.2
in
currentTime
Returns
The time after which the command shall be executed again, 0 if this command shall be descheduled.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
228
Class Documentation
Exceptions
ProcessError
Implements Command.
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/StaticCommand.h
5.99
Public Types
typedef std::vector< unsigned
char > StorageType
The documentation for this class was generated from the following file:
src/sumo/include/foreign/tcpip/storage.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.100
229
Allows to store the object; used as context while traveling the rtree in TraCI.
#include <Named.h>
StoringVisitor ()
Destructor.
Public Attributes
std::set< std::string > & myIDs
The container.
5.100.1
Detailed Description
Allows to store the object; used as context while traveling the rtree in TraCI.
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/Named.h
5.101
Allows to store the object; used as context while traveling the rtree in TraCI.
#include <TraCIServerAPI_Lane.h>
StoringVisitor ()
Destructor.
Public Attributes
std::set< std::string > & myIDs
The container.
230
Class Documentation
5.101.1
Detailed Description
Allows to store the object; used as context while traveling the rtree in TraCI.
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_Lane.h
5.102
Template container for maintaining a bidirectional map between strings and something else It is not always a bijection since it allows for duplicate entries on both sides if either checkDuplicates is set to false in the constructor or
the insert function or if the addAlias function is used.
#include <StringBijection.h>
Classes
struct Entry
5.102.1
Detailed Description
5.103
#include <StringTokenizer.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
231
StringTokenizer ()
destructor
void reinit ()
reinitialises the internal iterator
bool hasNext ()
returns the information whether further substrings exist
std::string next ()
returns the next substring when it exists.
std::string front ()
returns the first substring without moving the iterator
5.103.1
Detailed Description
232
Class Documentation
This
is
a
line
There is something to know about the behaviour: When using WHITECHAR, a list of whitechars occuring in the
string to split is regarded as a single divider. All other parameter will use multiple occurences of operators as a list
of single divider and the string between them will have a length of zero.
5.103.2
5.103.2.1
constructor same as StringTokenizer(tosplit, StringTokenizer.WHITECHARS) tosplit is the string to split into substrings.
If the string between two split positions is empty, it will not be returned.
5.103.2.2
constructor the first string will be split at the second strings occurences.
If the optional third parameter is true, the string will be split whenever a char from the second string occurs. If the
string between two split positions is empty, it will nevertheless be returned.
5.103.2.3
constructor When StringTokenizer.NEWLINE is used as second parameter, the string will be split at all occurences
of a newline character (0x0d / 0x0a) When StringTokenizer.WHITECHARS is used as second parameter, the string
will be split at all characters below 0x20 (SPACE) All other ints specified as second parameter are casted int o a
char at which the string will be splitted.
5.103.3
5.103.3.1
std::string StringTokenizer::next ( )
5.104
#include <StringUtils.h>
static std::string replace (std::string str, const char what, const char by)
Replaces all occurences of the second string by the third string within the first string.
5.104.1
Detailed Description
5.104.2
5.104.2.1
in
orig
Returns
the string with the escaped sequences
The documentation for this class was generated from the following files:
src/sumo/include/utils/common/StringUtils.h
src/sumo/src/utils/common/StringUtils.cpp
5.105
233
234
Class Documentation
TraCIAPI
SUMO_CLIENT
Public Types
Structures definitions
typedef std::vector
< TraCIPosition > TraCIPositionVector
Connection handling
void connect (const std::string &host, int port)
Connects to the specified SUMO server.
void close ()
Closes the connection.
Atomar getter
SUMOTime getSUMOTime (int cmd, int var, const std::string &id, tcpip::Storage add=0)
int getUnsignedByte (int cmd, int var, const std::string &id, tcpip::Storage add=0)
int getByte (int cmd, int var, const std::string &id, tcpip::Storage add=0)
int getInt (int cmd, int var, const std::string &id, tcpip::Storage add=0)
SUMOReal getFloat (int cmd, int var, const std::string &id, tcpip::Storage add=0)
SUMOReal getDouble (int cmd, int var, const std::string &id, tcpip::Storage add=0)
TraCIBoundary getBoundingBox (int cmd, int var, const std::string &id, tcpip::Storage add=0)
TraCIPositionVector getPolygon (int cmd, int var, const std::string &id, tcpip::Storage add=0)
TraCIPosition getPosition (int cmd, int var, const std::string &id, tcpip::Storage add=0)
std::string getString (int cmd, int var, const std::string &id, tcpip::Storage add=0)
std::vector< std::string > getStringVector (int cmd, int var, const std::string &id, tcpip::Storage add=0)
TraCIColor getColor (int cmd, int var, const std::string &id, tcpip::Storage add=0)
Public Attributes
EdgeScope edge
Scope for interaction with edges.
GUIScope gui
Scope for interaction with the gui.
InductionLoopScope inductionloop
Scope for interaction with inductive loops.
JunctionScope junction
Scope for interaction with junctions.
LaneScope lane
Scope for interaction with lanes.
MeMeScope multientryexit
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
235
POIScope poi
Scope for interaction with POIs.
PolygonScope polygon
Scope for interaction with polygons.
RouteScope route
Scope for interaction with routes.
SimulationScope simulation
Scope for interaction with the simulation.
TrafficLightScope trafficlights
Scope for interaction with traffic lights.
VehicleTypeScope vehicletype
Scope for interaction with vehicle types.
void send_commandGetVariable (int domID, int varID, const std::string &objID, tcpip::Storage add=0)
const
Sends a GetVariable request.
void send_commandSetValue (int domID, int varID, const std::string &objID, tcpip::Storage &content) const
Sends a SetVariable request.
void send_commandSubscribeObjectVariable (int domID, const std::string &objID, int beginTime, int endTime, const std::vector< int > &vars) const
Sends a SubscribeVariable request.
void send_commandSubscribeObjectContext (int domID, const std::string &objID, int beginTime, int endTime, int domain, SUMOReal range, const std::vector< int > &vars) const
Sends a SubscribeContext request.
void check_commandGetResult (tcpip::Storage &inMsg, int command, int expectedType=-1, bool ignoreCommandId=false) const
void processGET (tcpip::Storage &inMsg, int command, int expectedType, bool ignoreCommandId=false)
const
Protected Attributes
tcpip::Socket mySocket
The socket.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
236
Class Documentation
5.105.1
5.105.1.1
void TraCIAPI::check_resultState ( tcpip::Storage & inMsg, int command, bool ignoreCommandId = false,
std::string acknowledgement = 0 ) const [protected], [inherited]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
237
Parameters
inMsg
command
ignoreCommandId
acknowledgement
in
in
in
in
5.105.1.2
in
in
Exceptions
tcpip::SocketException
5.105.1.3
void TraCIAPI::send_commandGetVariable ( int domID, int varID, const std::string & objID, tcpip::Storage add =
in
in
in
in
5.105.1.4
void TraCIAPI::send_commandSetValue ( int domID, int varID, const std::string & objID, tcpip::Storage & content
) const [protected], [inherited]
in
in
in
in
5.105.1.5
domID
varID
objID
content
void TraCIAPI::send_commandSubscribeObjectContext ( int domID, const std::string & objID, int beginTime,
int endTime, int domain, SUMOReal range, const std::vector< int > & vars ) const [protected],
[inherited]
Sends a SubscribeContext request.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
238
Class Documentation
Parameters
domID
objID
beginTime
endTime
domain
range
vars
in
in
in
in
in
in
in
5.105.1.6
void TraCIAPI::send_commandSubscribeObjectVariable ( int domID, const std::string & objID, int beginTime, int
endTime, const std::vector< int > & vars ) const [protected], [inherited]
in
in
in
in
in
domID
objID
beginTime
endTime
vars
The documentation for this class was generated from the following files:
src/sumo/include/sumo/sumo_client.hpp
src/sumo/src/sumo/sumo_client.cpp
5.106
#include <sumo_intf.hpp>
Inheritance diagram for sumo_intf:
Component
sumo_intf
239
tlc_set_ryg_state_server_operation;
void startUp ()
Component startup function.
sumo_intf ()
sumo_intf Destructor
void process_queue ()
Component Message Queue handler.
Protected Attributes
ComponentConfig config
int node_argc
char node_argv
NAMESPACE::Publisher comp_sync_pub
NAMESPACE::Subscriber comp_sync_sub
NAMESPACE::Timer init_timer
NAMESPACE::CallbackQueue comp_queue
std::unique_ptr< Logger > logger
5.106.1
Detailed Description
5.106.2
5.106.2.1
sumo_intf Constructor.
Parameters
_config
argc
argv
in
in
5.106.3
5.106.3.1
[inherited]
Component Synchronization This operation establishing a sync point with other components.
Parameters
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
240
Class Documentation
received_data
in
5.106.3.2
e3_get_vehicle_number_server_operation;
This operation is executed every time the e3_get_vehicle_number_server operation request is serviced
Parameters
req
res
in
out
5.106.3.3
in
See Also
startUp()
Reimplemented from Component.
5.106.3.4
5.106.3.5
sumo_step_timer_operation;
This operation is executed every time the sumo_step_timer operation request is serviced
Parameters
in
5.106.3.6
event
a timer event
tlc_get_ryg_state_server_operation;
This operation is executed every time the tlc_get_ryg_state_server operation request is serviced
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
241
Parameters
req
res
in
out
5.106.3.7
tlc_set_ryg_state_server_operation;
This operation is executed every time the tlc_set_ryg_state_server operation request is serviced
Parameters
req
res
in
out
5.106.4
5.106.4.1
5.106.4.2
Synchronization publisher
5.106.4.3
Synchronization subscriber
5.106.4.5
Initialization timer
5.106.4.6
5.106.4.7
5.106.4.8
242
Class Documentation
src/tlc_package/include/tlc_package/sumo_intf.hpp
src/tlc_package/src/tlc_package/sumo_intf.cpp
5.107
#include <SUMORouteHandler.h>
Inheritance diagram for SUMORouteHandler:
DefaultHandler
GenericSAXHandler
SUMOSAXHandler
SUMORouteHandler
virtual SUMORouteHandler ()
standard destructor
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.
void endElement (const XMLCh const uri, const XMLCh const localname, const XMLCh const qname)
The inherited method called when a tag is being closed.
243
bool checkLastDepart ()
Checks whether the route file is sorted by departure time if needed.
void registerLastDepart ()
save last depart (only to be used if vehicle is not discarded)
bool parseStop (SUMOVehicleParameter::Stop &stop, const SUMOSAXAttributes &attrs, std::string errorSuffix, MsgHandler const errorOutput)
parses attributes common to all stops
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
244
Class Documentation
Protected Attributes
SUMOVehicleParameter myVehicleParameter
Parameter of the current vehicle, trip, person, container or flow.
SUMOTime myLastDepart
The insertion time of the vehicle read last.
std::string myActiveRouteID
The id of the current route.
std::string myActiveRouteRefID
The id of the route the current route references to.
SUMOReal myActiveRouteProbability
The probability of the current route.
SUMOReal myCurrentCosts
The currently parsed route costs.
std::vector
< SUMOVehicleParameter::Stop > myActiveRouteStops
List of the stops on the parsed route.
SUMOVTypeParameter myCurrentVType
The currently parsed vehicle type.
IDSupplier myIdSupplier
generates numerical ids
SUMOTime myBeginDefault
The default value for flow begins.
SUMOTime myEndDefault
The default value for flow ends.
SUMOTime myFirstDepart
the first read departure time
int myInsertStopEdgesAt
where stop edges can be inserted into the current route (-1 means no insertion)
5.107.1
Detailed Description
5.107.2
5.107.2.1
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
exception
in
245
Returns
A string describing the given exception
5.107.2.2
[inherited]
The inherited method called when characters occured.
The retrieved characters are converted into a string and appended into a private buffer. They are reported as soon
as the element ends.
Todo recheck/describe what happens with characters when a new element is opened
describe characters processing in the class head
5.107.2.3
[pure virtual]
closes (ends) the building of a route.
Afterwards no edges may be added to it; this method may throw exceptions when a) the route is empty or b) another
route with the same id already exists
5.107.2.4
void GenericSAXHandler::endElement ( const XMLCh const uri, const XMLCh const localname, const XMLCh
5.107.2.5
[inherited]
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
Parameters
in
exception
Exceptions
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
246
Class Documentation
ProcessError
5.107.2.6
On any call
[inherited]
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
Exceptions
ProcessError
On any call
Parameters
exception
in
5.107.2.7
5.107.2.8
virtual void GenericSAXHandler::myCharacters ( int element, const std::string & chars ) [protected],
[virtual], [inherited]
Callback method for characters to implement by derived classes.
Called by "endElement" (see there).
Parameters
element
chars
in
in
5.107.2.9
in
element
Exceptions
ProcessError
If something fails
See Also
GenericSAXHandler::myEndElement
Reimplemented from GenericSAXHandler.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.107.2.10
[protected], [virtual]
Called on the opening of a tag;.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
247
248
Class Documentation
Parameters
element
attrs
in
in
Exceptions
ProcessError
If something fails
See Also
GenericSAXHandler::myStartElement
Reimplemented from GenericSAXHandler.
5.107.2.11
in
Todo Hmmm - this is as unsafe as having a direct access to the variable; recheck
void GenericSAXHandler::startElement ( const XMLCh const uri, const XMLCh const localname, const XMLCh
const qname, const XERCES_CPP_NAMESPACE::Attributes & attrs ) [inherited]
5.107.2.12
5.107.2.13
[inherited]
Handler for XML-warnings.
The message is built using buildErrorMessage and reported to the warning-instance of the MsgHandler.
Parameters
in
exception
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SUMORouteHandler.h
5.108
249
SUMORouteLoader ()
destructor
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SUMORouteLoader.h
5.109
SUMORouteLoaderControl This controls is initialised with the list of route loaders and uses them to load routes step
wise.
#include <SUMORouteLoaderControl.h>
SUMORouteLoaderControl ()
destructor
5.109.1
Detailed Description
SUMORouteLoaderControl This controls is initialised with the list of route loaders and uses them to load routes step
wise.
The parameter myInAdvanceStepNo holds the number of time steps to read the routes in forward. If it is 0 (default),
all routes will be read at once.
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SUMORouteLoaderControl.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
250
Class Documentation
5.110
Encapsulated SAX-Attributes.
#include <SUMOSAXAttributes.h>
Inheritance diagram for SUMOSAXAttributes:
SUMOSAXAttributes
SUMOSAXAttributesImpl_Binary
SUMOSAXAttributesImpl_Xerces
template<typename T >
T get (int attr, const char objectid, bool &ok, bool report=true) const
Tries to read given attribute assuming it is an int.
template<typename T >
T getOpt (int attr, const char objectid, bool &ok, T defaultValue, bool report=true) const
Tries to read given attribute assuming it is an int.
SUMOTime getSUMOTimeReporting (int attr, const char objectid, bool &ok, bool report=true) const
Tries to read given attribute assuming it is a SUMOTime.
SUMOTime getOptSUMOTimeReporting (int attr, const char objectid, bool &ok, SUMOTime defaultValue,
bool report=true) const
Tries to read given attribute assuming it is a SUMOTime.
251
virtual std::string getStringSecure (const std::string &id, const std::string &def) const =0
Returns the string-value of the named (by its enum-value) attribute.
static void parseStringSet (const std::string &def, std::set< std::string > &into)
Splits the given string, stores it in a set.
template<typename T >
T getInternal (const int attr) const
void emitUngivenError (const std::string &attrname, const char objectid) const
void emitEmptyError (const std::string &attrname, const char objectid) const
void emitFormatError (const std::string &attrname, const std::string &type, const char objectid) const
5.110.1
Detailed Description
Encapsulated SAX-Attributes.
This class is an interface for using encapsulated SAX-attributes. Encapsulation is done to allow a common acces
without the need to import all the Xerces-definitions.
5.110.2
5.110.2.1
template<typename T > T SUMOSAXAttributes::get ( int attr, const char objectid, bool & ok, bool report = true
) const
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
252
Class Documentation
Parameters
attr
objectid
ok
report
in
in
out
in
Returns
The read value if given and correct; -1 if an error occured
5.110.2.2
in
Returns
The attributes value as a bool, if it could be read and parsed
Exceptions
EmptyData
BoolFormatException
5.110.2.3
in
attr
Returns
The read value if given and not empty; empty Boundary if an error occured
Implemented in SUMOSAXAttributesImpl_Binary, and SUMOSAXAttributesImpl_Xerces.
5.110.2.4
5.110.2.5
253
5.110.2.6
in
Returns
The attributes value as a float, if it could be read and parsed
Exceptions
EmptyData
NumberFormatException
5.110.2.7
in
Returns
The attributes value as a float, if it could be read and parsed
Exceptions
EmptyData
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
254
Class Documentation
NumberFormatException
5.110.2.8
in
Returns
The attributes value as an int, if it could be read and parsed
Exceptions
EmptyData
NumberFormatException
5.110.2.9
in
Returns
The attributes value as an int, if it could be read and parsed
Exceptions
EmptyData
NumberFormatException
5.110.2.10
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
255
Parameters
in
attr
Returns
The name of the described attribute
Implemented in SUMOSAXAttributesImpl_Binary, and SUMOSAXAttributesImpl_Xerces.
5.110.2.11
5.110.2.12
template<typename T > T SUMOSAXAttributes::getOpt ( int attr, const char objectid, bool & ok, T defaultValue,
bool report = true ) const
in
in
out
in
in
attr
objectid
ok
defaultValue
report
Returns
The read value if given and correct; the default value if the attribute does not exist; -1 if an error occured
5.110.2.13
SUMOTime SUMOSAXAttributes::getOptSUMOTimeReporting ( int attr, const char objectid, bool & ok,
SUMOTime defaultValue, bool report = true ) const
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
256
Class Documentation
Parameters
in
in
out
in
in
attr
objectid
ok
defaultValue
report
Returns
The read value if given and correct; the default value if the attribute does not exist; -1 if an error occured
5.110.2.14
in
Returns
The read value if given and not empty; empty position vector if an error occured
Implemented in SUMOSAXAttributesImpl_Binary, and SUMOSAXAttributesImpl_Xerces.
5.110.2.15
in
Returns
The attributes value as a string, if it could be read and parsed
Exceptions
EmptyData
5.110.2.16
virtual std::string SUMOSAXAttributes::getStringSecure ( int id, const std::string & def ) const [pure
virtual]
Returns the string-value of the named (by its enum-value) attribute.
Tries to retrieve the attribute from the the attribute list. The retrieved attribute (which may be 0) is then parsed using
TplConvert<XMLCh>::_2strSec. If the attribute is ==0, TplConvert<XMLCh>::_2strSec returns the default value.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
257
Parameters
id
def
in
in
Returns
The attributes value as a string, if it could be read and parsed
Exceptions
EmptyData
5.110.2.17
virtual std::string SUMOSAXAttributes::getStringSecure ( const std::string & id, const std::string & def ) const
[pure virtual]
Returns the string-value of the named (by its enum-value) attribute.
Tries to retrieve the attribute from the the attribute list. If the attribute is ==0, TplConvert<XMLCh>::_2strSec
returns the default value.
Parameters
id
def
in
in
Returns
The attributes value as a string, if it could be read and parsed
Implemented in SUMOSAXAttributesImpl_Binary, and SUMOSAXAttributesImpl_Xerces.
5.110.2.18
in
Returns
The read value if given and not empty; empty vector if an error occured
Implemented in SUMOSAXAttributesImpl_Binary, and SUMOSAXAttributesImpl_Xerces.
5.110.2.19
SUMOTime SUMOSAXAttributes::getSUMOTimeReporting ( int attr, const char objectid, bool & ok, bool report =
true ) const
Tries to read given attribute assuming it is a SUMOTime.
If an error occurs (the attribute is not there, it is not numeric), "ok" is set to false and an error message is written to
MsgHandler::getErrorInstance.
Otherwise, "ok" is not changed.
In dependence to the used time representation, either get<int> or get<SUMOReal> is used.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
258
Class Documentation
Parameters
attr
objectid
ok
report
in
in
out
in
Returns
The read value if given and correct; -1 if an error occured
5.110.2.20
Returns the information whether the named (by its enum-value) attribute is within the current list.
Parameters
id
in
Returns
Whether the attribute is within the attributes
Implemented in SUMOSAXAttributesImpl_Binary, and SUMOSAXAttributesImpl_Xerces.
5.110.2.21
Returns the information whether the named attribute is within the current list.
Parameters
id
in
Returns
Whether the named attribute is within the attributes
Implemented in SUMOSAXAttributesImpl_Binary, and SUMOSAXAttributesImpl_Xerces.
5.110.2.22
static void SUMOSAXAttributes::parseStringSet ( const std::string & def, std::set< std::string > & into )
[static]
Splits the given string, stores it in a set.
Spaces, ",", and ";" are assumed to be separator characters. Though, in the case a "," or a ";" occurs, a warning is
generated (once).
Parameters
def
into
in
out
5.110.2.23
static void SUMOSAXAttributes::parseStringVector ( const std::string & def, std::vector< std::string > & into )
[static]
Splits the given string.
Spaces, ",", and ";" are assumed to be separator characters. Though, in the case a "," or a ";" occurs, a warning is
generated (once).
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
259
Parameters
def
into
in
out
5.110.2.24
Prints all attribute names and values into the given stream.
Parameters
os
in
5.111
Encapsulated Xerces-SAX-attributes.
#include <SUMOSAXAttributesImpl_Binary.h>
Inheritance diagram for SUMOSAXAttributesImpl_Binary:
SUMOSAXAttributes
SUMOSAXAttributesImpl_Binary
virtual SUMOSAXAttributesImpl_Binary ()
Destructor.
template<typename T >
T get (int attr, const char objectid, bool &ok, bool report=true) const
Tries to read given attribute assuming it is an int.
template<typename T >
T getOpt (int attr, const char objectid, bool &ok, T defaultValue, bool report=true) const
Tries to read given attribute assuming it is an int.
SUMOTime getSUMOTimeReporting (int attr, const char objectid, bool &ok, bool report=true) const
Tries to read given attribute assuming it is a SUMOTime.
SUMOTime getOptSUMOTimeReporting (int attr, const char objectid, bool &ok, SUMOTime defaultValue,
bool report=true) const
Tries to read given attribute assuming it is a SUMOTime.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
260
Class Documentation
static void parseStringVector (const std::string &def, std::vector< std::string > &into)
Splits the given string.
static void parseStringSet (const std::string &def, std::set< std::string > &into)
Splits the given string, stores it in a set.
template<typename T >
T getInternal (const int attr) const
void emitUngivenError (const std::string &attrname, const char objectid) const
void emitEmptyError (const std::string &attrname, const char objectid) const
void emitFormatError (const std::string &attrname, const std::string &type, const char objectid) const
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.111.1
261
Detailed Description
Encapsulated Xerces-SAX-attributes.
See Also
SUMOSAXAttributes
5.111.2
5.111.2.1
Constructor.
Parameters
attrs
predefinedTags
predefinedTagsMML
in
in
in
5.111.3
5.111.3.1
template<typename T > T SUMOSAXAttributes::get ( int attr, const char objectid, bool & ok, bool report = true
) const [inherited]
in
in
out
in
attr
objectid
ok
report
Returns
The read value if given and correct; -1 if an error occured
5.111.3.2
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
262
Class Documentation
Parameters
id
in
Returns
The attributes value as a bool, if it could be read and parsed
Exceptions
EmptyData
BoolFormatException
Implements SUMOSAXAttributes.
5.111.3.3
in
attr
Returns
The read value if given and not empty; "" if an error occured
Implements SUMOSAXAttributes.
5.111.3.6
263
Parameters
id
in
Returns
The attributes value as a float, if it could be read and parsed
Exceptions
EmptyData
NumberFormatException
Implements SUMOSAXAttributes.
5.111.3.7
in
Returns
The attributes value as a float, if it could be read and parsed
Exceptions
EmptyData
NumberFormatException
Implements SUMOSAXAttributes.
5.111.3.8
in
id
Returns
The attributes value as an int, if it could be read and parsed
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
264
Class Documentation
Exceptions
EmptyData
NumberFormatException
Implements SUMOSAXAttributes.
5.111.3.9
in
Returns
The attributes value as an int, if it could be read and parsed
Exceptions
EmptyData
NumberFormatException
Implements SUMOSAXAttributes.
5.111.3.10
in
attr
Returns
The name of the described attribute
Implements SUMOSAXAttributes.
5.111.3.12
265
template<typename T > T SUMOSAXAttributes::getOpt ( int attr, const char objectid, bool & ok, T defaultValue,
bool report = true ) const [inherited]
in
in
out
in
in
attr
objectid
ok
defaultValue
report
Returns
The read value if given and correct; the default value if the attribute does not exist; -1 if an error occured
5.111.3.13
SUMOTime SUMOSAXAttributes::getOptSUMOTimeReporting ( int attr, const char objectid, bool & ok,
SUMOTime defaultValue, bool report = true ) const [inherited]
in
in
out
in
in
attr
objectid
ok
defaultValue
report
Returns
The read value if given and correct; the default value if the attribute does not exist; -1 if an error occured
5.111.3.14
in
attr
Returns
The read value if given and not empty; "" if an error occured
Implements SUMOSAXAttributes.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
266
Class Documentation
5.111.3.15
in
Returns
The attributes value as a string, if it could be read and parsed
Exceptions
EmptyData
Implements SUMOSAXAttributes.
5.111.3.16
[virtual]
Returns the string-value of the named (by its enum-value) attribute.
Tries to retrieve the attribute from the the attribute list. The retrieved attribute (which may be 0) is then parsed using
TplConvert<XMLCh>::_2strSec. If the attribute is ==0, TplConvert<XMLCh>::_2strSec returns the default value.
Parameters
id
def
in
in
Returns
The attributes value as a string, if it could be read and parsed
Exceptions
EmptyData
Implements SUMOSAXAttributes.
5.111.3.17
std::string SUMOSAXAttributesImpl_Binary::getStringSecure ( const std::string & id, const std::string & def ) const
[virtual]
Returns the string-value of the named (by its enum-value) attribute.
Tries to retrieve the attribute from the the attribute list. If the attribute is ==0, TplConvert<XMLCh>::_2strSec
returns the default value.
Parameters
in
in
id
def
Returns
The attributes value as a string, if it could be read and parsed
Implements SUMOSAXAttributes.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.111.3.18
267
in
attr
Returns
The read value if given and not empty; empty vector if an error occured
Implements SUMOSAXAttributes.
5.111.3.19
SUMOTime SUMOSAXAttributes::getSUMOTimeReporting ( int attr, const char objectid, bool & ok, bool report =
in
in
out
in
attr
objectid
ok
report
Returns
The read value if given and correct; -1 if an error occured
5.111.3.20
Returns the information whether the named (by its enum-value) attribute is within the current list.
Parameters
in
id
Returns
Whether the attribute is within the attributes
Implements SUMOSAXAttributes.
5.111.3.21
static void SUMOSAXAttributes::parseStringSet ( const std::string & def, std::set< std::string > & into )
[static], [inherited]
Splits the given string, stores it in a set.
Spaces, ",", and ";" are assumed to be separator characters. Though, in the case a "," or a ";" occurs, a warning is
generated (once).
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
268
Class Documentation
Parameters
def
into
in
out
static void SUMOSAXAttributes::parseStringVector ( const std::string & def, std::vector< std::string > & into )
5.111.3.22
[static], [inherited]
Splits the given string.
Spaces, ",", and ";" are assumed to be separator characters. Though, in the case a "," or a ";" occurs, a warning is
generated (once).
Parameters
def
into
in
out
5.111.3.23
Prints all attribute names and values into the given stream.
Parameters
os
in
Implements SUMOSAXAttributes.
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SUMOSAXAttributesImpl_Binary.h
5.112
Encapsulated Xerces-SAX-attributes.
#include <SUMOSAXAttributesImpl_Xerces.h>
Inheritance diagram for SUMOSAXAttributesImpl_Xerces:
SUMOSAXAttributes
SUMOSAXAttributesImpl_Xerces
virtual SUMOSAXAttributesImpl_Xerces ()
Destructor.
template<typename T >
T get (int attr, const char objectid, bool &ok, bool report=true) const
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
269
template<typename T >
T getOpt (int attr, const char objectid, bool &ok, T defaultValue, bool report=true) const
Tries to read given attribute assuming it is an int.
SUMOTime getSUMOTimeReporting (int attr, const char objectid, bool &ok, bool report=true) const
Tries to read given attribute assuming it is a SUMOTime.
SUMOTime getOptSUMOTimeReporting (int attr, const char objectid, bool &ok, SUMOTime defaultValue,
bool report=true) const
Tries to read given attribute assuming it is a SUMOTime.
static void parseStringVector (const std::string &def, std::vector< std::string > &into)
Splits the given string.
static void parseStringSet (const std::string &def, std::set< std::string > &into)
Splits the given string, stores it in a set.
template<typename T >
T getInternal (const int attr) const
void emitUngivenError (const std::string &attrname, const char objectid) const
void emitEmptyError (const std::string &attrname, const char objectid) const
void emitFormatError (const std::string &attrname, const std::string &type, const char objectid) const
270
Class Documentation
5.112.1
Detailed Description
Encapsulated Xerces-SAX-attributes.
See Also
SUMOSAXAttributes
5.112.2
5.112.2.1
Constructor.
Parameters
attrs
predefinedTags
predefinedTagsMML
in
in
in
5.112.3
5.112.3.1
template<typename T > T SUMOSAXAttributes::get ( int attr, const char objectid, bool & ok, bool report = true
) const [inherited]
in
attr
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
in
out
in
271
The name of the parsed object; used for error message generation
Whether the value could be read
Whether errors shall be written to msg handlers error instance
Returns
The read value if given and correct; -1 if an error occured
5.112.3.2
in
Returns
The attributes value as a bool, if it could be read and parsed
Exceptions
EmptyData
BoolFormatException
Implements SUMOSAXAttributes.
5.112.3.3
in
attr
Returns
The read value if given and not empty; "" if an error occured
Implements SUMOSAXAttributes.
272
Class Documentation
5.112.3.6
in
Returns
The attributes value as a float, if it could be read and parsed
Exceptions
EmptyData
NumberFormatException
Implements SUMOSAXAttributes.
5.112.3.7
in
id
Returns
The attributes value as a float, if it could be read and parsed
Exceptions
EmptyData
NumberFormatException
Implements SUMOSAXAttributes.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.112.3.8
273
in
Returns
The attributes value as an int, if it could be read and parsed
Exceptions
EmptyData
NumberFormatException
Implements SUMOSAXAttributes.
5.112.3.9
in
Returns
The attributes value as an int, if it could be read and parsed
Exceptions
EmptyData
NumberFormatException
Implements SUMOSAXAttributes.
5.112.3.10
in
attr
Returns
The name of the described attribute
Implements SUMOSAXAttributes.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
274
Class Documentation
5.112.3.12
template<typename T > T SUMOSAXAttributes::getOpt ( int attr, const char objectid, bool & ok, T defaultValue,
bool report = true ) const [inherited]
in
in
out
in
in
attr
objectid
ok
defaultValue
report
Returns
The read value if given and correct; the default value if the attribute does not exist; -1 if an error occured
5.112.3.13
SUMOTime SUMOSAXAttributes::getOptSUMOTimeReporting ( int attr, const char objectid, bool & ok,
SUMOTime defaultValue, bool report = true ) const [inherited]
in
in
out
in
in
attr
objectid
ok
defaultValue
report
Returns
The read value if given and correct; the default value if the attribute does not exist; -1 if an error occured
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.112.3.14
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
275
276
Class Documentation
Parameters
attr
in
Returns
The read value if given and not empty; "" if an error occured
Implements SUMOSAXAttributes.
5.112.3.15
in
Returns
The attributes value as a string, if it could be read and parsed
Exceptions
EmptyData
Implements SUMOSAXAttributes.
5.112.3.16
[virtual]
Returns the string-value of the named (by its enum-value) attribute.
Tries to retrieve the attribute from the the attribute list. The retrieved attribute (which may be 0) is then parsed using
TplConvert<XMLCh>::_2strSec. If the attribute is ==0, TplConvert<XMLCh>::_2strSec returns the default value.
Parameters
id
def
in
in
Returns
The attributes value as a string, if it could be read and parsed
Exceptions
EmptyData
Implements SUMOSAXAttributes.
5.112.3.17
std::string SUMOSAXAttributesImpl_Xerces::getStringSecure ( const std::string & id, const std::string & def ) const
[virtual]
Returns the string-value of the named (by its enum-value) attribute.
Tries to retrieve the attribute from the the attribute list. If the attribute is ==0, TplConvert<XMLCh>::_2strSec
returns the default value.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
277
Parameters
in
in
id
def
Returns
The attributes value as a string, if it could be read and parsed
Implements SUMOSAXAttributes.
5.112.3.18
in
attr
Returns
The read value if given and not empty; empty vector if an error occured
Implements SUMOSAXAttributes.
5.112.3.19
SUMOTime SUMOSAXAttributes::getSUMOTimeReporting ( int attr, const char objectid, bool & ok, bool report =
in
in
out
in
attr
objectid
ok
report
Returns
The read value if given and correct; -1 if an error occured
5.112.3.20
Returns the information whether the named (by its enum-value) attribute is within the current list.
Parameters
in
id
Returns
Whether the attribute is within the attributes
Implements SUMOSAXAttributes.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
278
Class Documentation
static void SUMOSAXAttributes::parseStringSet ( const std::string & def, std::set< std::string > & into )
5.112.3.21
[static], [inherited]
Splits the given string, stores it in a set.
Spaces, ",", and ";" are assumed to be separator characters. Though, in the case a "," or a ";" occurs, a warning is
generated (once).
Parameters
def
into
in
out
static void SUMOSAXAttributes::parseStringVector ( const std::string & def, std::vector< std::string > & into )
5.112.3.22
[static], [inherited]
Splits the given string.
Spaces, ",", and ";" are assumed to be separator characters. Though, in the case a "," or a ";" occurs, a warning is
generated (once).
Parameters
def
into
in
out
5.112.3.23
Prints all attribute names and values into the given stream.
Parameters
in
os
Implements SUMOSAXAttributes.
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SUMOSAXAttributesImpl_Xerces.h
5.113
#include <SUMOSAXHandler.h>
Inheritance diagram for SUMOSAXHandler:
DefaultHandler
GenericSAXHandler
SUMOSAXHandler
SAXWeightsHandler
SUMORouteHandler
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
279
virtual SUMOSAXHandler ()
Destructor.
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.
void endElement (const XMLCh const uri, const XMLCh const localname, const XMLCh const qname)
The inherited method called when a tag is being closed.
5.113.1
Detailed Description
5.113.2
5.113.2.1
Constructor.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
280
Class Documentation
Parameters
file
in
5.113.3
5.113.3.1
in
Returns
A string describing the given exception
5.113.3.2
[inherited]
The inherited method called when characters occured.
The retrieved characters are converted into a string and appended into a private buffer. They are reported as soon
as the element ends.
Todo recheck/describe what happens with characters when a new element is opened
describe characters processing in the class head
5.113.3.3
void GenericSAXHandler::endElement ( const XMLCh const uri, const XMLCh const localname, const XMLCh
5.113.3.4
[inherited]
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
281
Parameters
exception
in
Exceptions
ProcessError
5.113.3.5
On any call
[inherited]
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
Exceptions
ProcessError
On any call
Parameters
exception
in
5.113.3.6
5.113.3.7
virtual void GenericSAXHandler::myCharacters ( int element, const std::string & chars ) [protected],
[virtual], [inherited]
Callback method for characters to implement by derived classes.
Called by "endElement" (see there).
Parameters
element
chars
in
in
5.113.3.8
[inherited]
Callback method for a closing tag to implement by derived classes.
Called by "endElement" (see there).
Parameters
in
element
The closed element, given as a int ProcessError These method may throw a
ProcessError if something fails
282
Class Documentation
5.113.3.9
in
in
5.113.3.10
in
Todo Hmmm - this is as unsafe as having a direct access to the variable; recheck
void GenericSAXHandler::startElement ( const XMLCh const uri, const XMLCh const localname, const XMLCh
const qname, const XERCES_CPP_NAMESPACE::Attributes & attrs ) [inherited]
5.113.3.11
5.113.3.12
[inherited]
Handler for XML-warnings.
The message is built using buildErrorMessage and reported to the warning-instance of the MsgHandler.
Parameters
in
exception
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SUMOSAXHandler.h
5.114
#include <SUMOSAXReader.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
283
SUMOSAXReader ()
Destructor.
void setValidation
Scheme)
(const
XERCES_CPP_NAMESPACE::SAX2XMLReader::ValSchemes
validation-
5.114.1
Detailed Description
5.114.2
5.114.2.1
Constructor.
Parameters
file
in
5.114.3
5.114.3.1
Sets the given handler as content and error handler for the reader.
Parameters
in
handler
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SUMOSAXReader.h
5.115
#include <SUMOVehicleParserHelper.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
284
Class Documentation
static void parseVTypeEmbedded (SUMOVTypeParameter &into, int element, const SUMOSAXAttributes &attrs, bool fromVType=false)
Parses an element embedded in vtype definition.
5.115.1
Detailed Description
5.115.2
5.115.2.1
in
in
Exceptions
ProcessError
See Also
SUMOVTypeParameter
Note
: the caller is responsible for deleting the returned pointer
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.115.2.2
285
[static]
Closes parsing of the vehicle type.
Returns
The resulting vehicle type parameter
See Also
SUMOVTypeParameter
5.115.2.3
in
in
Returns
The parsed vehicle emission class
See Also
SUMOEmissionClass
Todo Recheck how errors are handled and what happens if they occure
5.115.2.4
in
attr
Returns
The parsed attribute structure if no error occured, 0 otherwise
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
286
Class Documentation
Exceptions
ProcessError
Note
: the caller is responsible for deleting the returned pointer
5.115.2.5
in
in
Returns
The parsed vehicle shape
See Also
SUMOVehicleShape
Todo Recheck how errors are handled and what happens if they occure
5.115.2.6
[static]
Parses a vehicles attributes.
Parses all attributes stored in "SUMOVehicleParameter".
See Also
SUMOVehicleParameter
Parameters
in
in
in
in
attr
optionalID
skipDepart
isPerson
Returns
The parsed attribute structure if no error occured, 0 otherwise
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
287
Exceptions
ProcessError
Note
: the caller is responsible for deleting the returned pointer
5.115.2.7
in
in
Returns
The parsed vehicle class
See Also
SUMOVehicleClass
Todo Recheck how errors are handled and what happens if they occure
5.115.2.8
in
in
in
in,filled]
element
attr
fromVType
Exceptions
ProcessError
See Also
SUMOVTypeParameter
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SUMOVehicleParserHelper.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
288
Class Documentation
5.116
#include <SUMOXMLDefinitions.h>
5.116.1
Detailed Description
5.117
#include <SystemFrame.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
289
5.117.1
Detailed Description
5.117.2
5.117.2.1
in
5.117.2.2
in
5.117.2.3
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
290
Class Documentation
See Also
XMLSubSys::close()
OptionsCont::clear()
MsgHandler::cleanupOnEnd()
The documentation for this class was generated from the following files:
src/sumo/include/utils/common/SystemFrame.h
src/sumo/src/utils/common/SystemFrame.cpp
5.118
#include <SysUtils.h>
5.118.1
Detailed Description
5.118.2
5.118.2.1
5.119
#include <tl_actuator.hpp>
Inheritance diagram for tl_actuator:
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
291
Component
tl_actuator
void startUp ()
Component startup function.
tl_actuator ()
tl_actuator Destructor
void process_queue ()
Component Message Queue handler.
Protected Attributes
ComponentConfig config
int node_argc
char node_argv
NAMESPACE::Publisher comp_sync_pub
NAMESPACE::Subscriber comp_sync_sub
NAMESPACE::Timer init_timer
NAMESPACE::CallbackQueue comp_queue
std::unique_ptr< Logger > logger
5.119.1
Detailed Description
5.119.2
5.119.2.1
tl_actuator Constructor.
Parameters
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
292
Class Documentation
_config
argc
argv
in
in
5.119.3
5.119.3.1
[inherited]
Component Synchronization This operation establishing a sync point with other components.
Parameters
received_data
in
5.119.3.2
in
See Also
startUp()
Reimplemented from Component.
5.119.3.3
ryg_control_sub_operation;
This operation is executed every time the ryg_control_sub operation request is serviced
Parameters
in
5.119.3.4
received_data
5.119.4
5.119.4.1
5.119.4.2
Synchronization publisher
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.119.4.3
293
Synchronization subscriber
5.119.4.5
Initialization timer
5.119.4.6
5.119.4.7
5.119.4.8
5.120
#include <tl_sensor.hpp>
Inheritance diagram for tl_sensor:
Component
tl_sensor
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
294
Class Documentation
void startUp ()
Component startup function.
tl_sensor ()
tl_sensor Destructor
void process_queue ()
Component Message Queue handler.
Protected Attributes
ComponentConfig config
int node_argc
char node_argv
NAMESPACE::Publisher comp_sync_pub
NAMESPACE::Subscriber comp_sync_sub
NAMESPACE::Timer init_timer
NAMESPACE::CallbackQueue comp_queue
std::unique_ptr< Logger > logger
5.120.1
Detailed Description
5.120.2
5.120.2.1
tl_sensor Constructor.
Parameters
_config
argc
argv
in
in
5.120.3
5.120.3.1
[inherited]
Component Synchronization This operation establishing a sync point with other components.
Parameters
in
5.120.3.2
received_data
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
295
Parameters
event
in
See Also
startUp()
Reimplemented from Component.
5.120.3.3
5.120.3.4
tl_update_timer_operation;
This operation is executed every time the tl_update_timer operation request is serviced
Parameters
event
in
a timer event
5.120.4
5.120.4.1
5.120.4.2
Synchronization publisher
5.120.4.3
Synchronization subscriber
5.120.4.5
Initialization timer
5.120.4.6
296
Class Documentation
5.120.4.7
5.120.4.8
5.121
#include <tl_sensor_stream_ddos.hpp>
Inheritance diagram for tl_sensor_stream_ddos:
Component
tl_sensor_stream_ddos
void startUp ()
Component startup function.
tl_sensor_stream_ddos ()
tl_sensor_stream_ddos Destructor
void process_queue ()
Component Message Queue handler.
Protected Attributes
ComponentConfig config
int node_argc
char node_argv
NAMESPACE::Publisher comp_sync_pub
NAMESPACE::Subscriber comp_sync_sub
NAMESPACE::Timer init_timer
NAMESPACE::CallbackQueue comp_queue
std::unique_ptr< Logger > logger
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.121.1
297
Detailed Description
5.121.2
5.121.2.1
[inline]
tl_sensor_stream_ddos Constructor.
Parameters
_config
argc
argv
in
in
5.121.3
5.121.3.1
[inherited]
Component Synchronization This operation establishing a sync point with other components.
Parameters
received_data
in
5.121.3.2
in
See Also
startUp()
Reimplemented from Component.
5.121.3.3
5.121.4
5.121.4.1
298
Class Documentation
5.121.4.2
Synchronization publisher
5.121.4.3
Synchronization subscriber
5.121.4.5
Initialization timer
5.121.4.6
5.121.4.7
5.121.4.8
5.122
Complete definition about what shall be retrieved and where to store it.
#include <SAXWeightsHandler.h>
ToRetrieveDefinition ()
Destructor.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
299
Public Attributes
std::string myAttributeName
The attribute name that shall be parsed.
bool myAmEdgeBased
Information whether edge values shall be used (lane value if false)
SUMOReal myAggValue
aggregated value over the lanes read within the current edge
size_t myNoLanes
The number of lanes read for the current edge.
bool myHadAttribute
Information whether the attribute has been found for the current edge.
5.122.1
Detailed Description
Complete definition about what shall be retrieved and where to store it.
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/SAXWeightsHandler.h
5.123
TplConvert Some methods that convert 0-terminated char-arrays of any type into other values (numerical/boolean)
or into std::strings.
#include <TplConvert.h>
template<class E >
static std::string _2str (const E const data, unsigned length)
converts a char-type array into std::string considering the given length throws an EmptyData - exception if the given
pointer is 0
template<class E >
static int _2int (const E const data)
converts a char-type array into the integer value described by it throws an EmptyData - exception if the given string is
empty throws a NumberFormatException - exception when the string does not contain an integer
template<class E >
static int _hex2int (const E const data)
converts a char-type array with a hex value into the integer value described by it throws an EmptyData - exception if
the given string is empty throws a NumberFormatException - exception when the string does not contain an integer
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
300
Class Documentation
template<class E >
static SUMOLong _2long (const E const data)
converts a char-type array into the long value described by it throws an EmptyData - exception if the given string is
empty throws a NumberFormatException - exception when the string does not contain a long
template<class E >
static SUMOLong _hex2long (const E const data)
converts a char-type array with a hex value into the long value described by it throws an EmptyData - exception if the
given string is empty throws a NumberFormatException - exception when the string does not contain a long
template<class E >
static SUMOReal _2SUMOReal (const E const data)
converts a char-type array into the SUMOReal value described by it throws an EmptyData - exception if the given
string is empty throws a NumberFormatException - exception when the string does not contain a SUMOReal
template<class E >
static bool _2bool (const E const data)
converts a 0-terminated char-type array into the boolean value described by it returns true if the data is one of the
following (case insensitive): 1, x, true, yes, on returns false if the data is one of the following (case insensitive):
0, -, false, no, off throws an EmptyData - exception if the given string is empty or 0 pointer throws a BoolFormatException in any other case
template<class E >
static std::string _2strSec (const E const data, const std::string &def)
converts a 0-terminated char-type array into std::string returns the default value if the data is empty
template<class E >
static int _2intSec (const E const data, int def)
converts a 0-terminated char-type array into the integer value described by it returns the default value if the data is
empty
template<class E >
static SUMOLong _2longSec (const E const data, long def)
converts a 0-terminated char-type array into the long value described by it returns the default value if the data is empty
template<class E >
static SUMOReal _2SUMORealSec (const E const data, SUMOReal def)
converts a 0-terminated char-type array into the SUMOReal value described by it returns the default value if the data
is empty
template<class E >
static bool _2boolSec (const E const data, bool def)
converts a 0-terminated char-type array into the SUMOReal value described by it returns true if the data is one of the
following (case insensitive): 1, x, true, yes, on returns false if the data is one of the following (case insensitive):
0, -, false, no, off returns the default value if the data is empty
template<class E >
static std::string _2strSec (const E const data, int length, const std::string &def)
converts a char-type array into std::string considering the given length returns the default value if the data is empty
template<class E >
static unsigned getLength (const E const data)
returns the length of the string (the position of the 0-character)
5.123.1
Detailed Description
TplConvert Some methods that convert 0-terminated char-arrays of any type into other values (numerical/boolean)
or into std::strings.
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/TplConvert.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.124
301
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI:
TraCIAPI
SUMO_CLIENT
Classes
class AreaScope
Scope for interaction with areal detectors.
class EdgeScope
Scope for interaction with edges.
class GUIScope
Scope for interaction with the gui.
class InductionLoopScope
Scope for interaction with inductive loops.
class JunctionScope
Scope for interaction with junctions.
class LaneScope
Scope for interaction with lanes.
class MeMeScope
Scope for interaction with multi entry/-exit detectors.
class POIScope
Scope for interaction with POIs.
class PolygonScope
Scope for interaction with polygons.
class RouteScope
Scope for interaction with routes.
class SimulationScope
Scope for interaction with the simulation.
struct TraCIBoundary
A 3D-bounding box.
struct TraCIColor
class TraCILink
class TraCILogic
class TraCIPhase
struct TraCIPosition
A 3D-position.
class TraCIScopeWrapper
An abstract interface for accessing type-dependent values.
class TrafficLightScope
Scope for interaction with traffic lights.
class VehicleTypeScope
Scope for interaction with vehicle types.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
302
Class Documentation
Public Types
Structures definitions
typedef std::vector
< TraCIPosition > TraCIPositionVector
TraCIAPI ()
Destructor.
Connection handling
void connect (const std::string &host, int port)
Connects to the specified SUMO server.
void close ()
Closes the connection.
Atomar getter
SUMOTime getSUMOTime (int cmd, int var, const std::string &id, tcpip::Storage add=0)
int getUnsignedByte (int cmd, int var, const std::string &id, tcpip::Storage add=0)
int getByte (int cmd, int var, const std::string &id, tcpip::Storage add=0)
int getInt (int cmd, int var, const std::string &id, tcpip::Storage add=0)
SUMOReal getFloat (int cmd, int var, const std::string &id, tcpip::Storage add=0)
SUMOReal getDouble (int cmd, int var, const std::string &id, tcpip::Storage add=0)
TraCIBoundary getBoundingBox (int cmd, int var, const std::string &id, tcpip::Storage add=0)
TraCIPositionVector getPolygon (int cmd, int var, const std::string &id, tcpip::Storage add=0)
TraCIPosition getPosition (int cmd, int var, const std::string &id, tcpip::Storage add=0)
std::string getString (int cmd, int var, const std::string &id, tcpip::Storage add=0)
std::vector< std::string > getStringVector (int cmd, int var, const std::string &id, tcpip::Storage add=0)
TraCIColor getColor (int cmd, int var, const std::string &id, tcpip::Storage add=0)
Public Attributes
EdgeScope edge
Scope for interaction with edges.
GUIScope gui
Scope for interaction with the gui.
InductionLoopScope inductionloop
Scope for interaction with inductive loops.
JunctionScope junction
Scope for interaction with junctions.
LaneScope lane
Scope for interaction with lanes.
MeMeScope multientryexit
Scope for interaction with multi-entry/-exit detectors.
POIScope poi
Scope for interaction with POIs.
PolygonScope polygon
Scope for interaction with polygons.
RouteScope route
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
303
SimulationScope simulation
Scope for interaction with the simulation.
TrafficLightScope trafficlights
Scope for interaction with traffic lights.
VehicleTypeScope vehicletype
Scope for interaction with vehicle types.
void send_commandGetVariable (int domID, int varID, const std::string &objID, tcpip::Storage add=0)
const
Sends a GetVariable request.
void send_commandSetValue (int domID, int varID, const std::string &objID, tcpip::Storage &content) const
Sends a SetVariable request.
void send_commandSubscribeObjectVariable (int domID, const std::string &objID, int beginTime, int endTime, const std::vector< int > &vars) const
Sends a SubscribeVariable request.
void send_commandSubscribeObjectContext (int domID, const std::string &objID, int beginTime, int endTime, int domain, SUMOReal range, const std::vector< int > &vars) const
Sends a SubscribeContext request.
void check_commandGetResult (tcpip::Storage &inMsg, int command, int expectedType=-1, bool ignoreCommandId=false) const
void processGET (tcpip::Storage &inMsg, int command, int expectedType, bool ignoreCommandId=false)
const
Protected Attributes
tcpip::Socket mySocket
The socket.
5.124.1
Detailed Description
5.124.2
5.124.2.1
void TraCIAPI::check_resultState ( tcpip::Storage & inMsg, int command, bool ignoreCommandId = false,
std::string acknowledgement = 0 ) const [protected]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
304
Class Documentation
Parameters
inMsg
command
ignoreCommandId
acknowledgement
in
in
in
in
5.124.2.2
in
in
Exceptions
tcpip::SocketException
5.124.2.3
void TraCIAPI::send_commandGetVariable ( int domID, int varID, const std::string & objID, tcpip::Storage add =
0 ) const [protected]
Sends a GetVariable request.
Parameters
domID
varID
objID
add
in
in
in
in
5.124.2.4
void TraCIAPI::send_commandSetValue ( int domID, int varID, const std::string & objID, tcpip::Storage & content
) const [protected]
in
in
in
in
5.124.2.5
domID
varID
objID
content
void TraCIAPI::send_commandSubscribeObjectContext ( int domID, const std::string & objID, int beginTime, int
endTime, int domain, SUMOReal range, const std::vector< int > & vars ) const [protected]
305
Parameters
domID
objID
beginTime
endTime
domain
range
vars
in
in
in
in
in
in
in
5.124.2.6
void TraCIAPI::send_commandSubscribeObjectVariable ( int domID, const std::string & objID, int beginTime, int
endTime, const std::vector< int > & vars ) const [protected]
in
in
in
in
in
The documentation for this class was generated from the following files:
src/sumo/include/utils/traci/TraCIAPI.h
src/sumo/src/utils/traci/TraCIAPI.cpp
5.125
A 3D-bounding box.
#include <TraCIAPI.h>
Public Attributes
double xMin
double yMin
double zMin
double xMax
double yMax
double zMax
5.125.1
Detailed Description
A 3D-bounding box.
The documentation for this struct was generated from the following file:
src/sumo/include/utils/traci/TraCIAPI.h
5.126
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
306
Class Documentation
Public Attributes
int r
int g
int b
int a
The documentation for this struct was generated from the following file:
src/sumo/include/utils/traci/TraCIAPI.h
5.127
runtime_error
TraCIException
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIException.h
5.128
Public Attributes
std::string from
std::string via
std::string to
The documentation for this class was generated from the following file:
src/sumo/include/utils/traci/TraCIAPI.h
5.129
307
Public Attributes
std::string subID
int type
std::map< std::string, SUMOReal > subParameter
unsigned int currentPhaseIndex
std::vector< TraCIPhase > phases
The documentation for this class was generated from the following file:
src/sumo/include/utils/traci/TraCIAPI.h
5.130
Public Attributes
SUMOTime duration
SUMOTime duration1
SUMOTime duration2
std::string phase
The documentation for this class was generated from the following file:
src/sumo/include/utils/traci/TraCIAPI.h
5.131
A 3D-position.
#include <TraCIAPI.h>
Public Attributes
double x
double y
double z
5.131.1
Detailed Description
A 3D-position.
A color.
The documentation for this struct was generated from the following file:
src/sumo/include/utils/traci/TraCIAPI.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
308
Class Documentation
5.132
A list of positions.
#include <TraCIAPI.h>
5.132.1
Detailed Description
A list of positions.
The documentation for this struct was generated from the following file:
src/sumo/include/utils/traci/TraCIAPI.h
5.133
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::TraCIScopeWrapper:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::AreaScope
TraCIAPI::EdgeScope
TraCIAPI::GUIScope
TraCIAPI::InductionLoopScope
TraCIAPI::JunctionScope
TraCIAPI::LaneScope
TraCIAPI::MeMeScope
TraCIAPI::POIScope
TraCIAPI::PolygonScope
TraCIAPI::RouteScope
TraCIAPI::SimulationScope
TraCIAPI::TrafficLightScope
TraCIAPI::VehicleTypeScope
309
virtual TraCIScopeWrapper ()
Destructor.
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.133.1
Detailed Description
5.133.2
5.133.2.1
Constructor.
Parameters
parent
in
The documentation for this class was generated from the following file:
src/sumo/include/utils/traci/TraCIAPI.h
5.134
#include <TraCIServer.h>
Inheritance diagram for TraCIServer:
VehicleStateListener
TraCIServer
Public Types
typedef bool( CmdExecutor )(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Definition of a method to be called for serving an associated commandID.
310
Class Documentation
void postProcessVTD ()
void vehicleStateChanged (const SUMOVehicle const vehicle, MSNet::VehicleState to)
const std::map
< MSNet::VehicleState,
std::vector< std::string > > & getVehicleStateChanges () const
void writeResponseWithLength (tcpip::Storage &outputStorage, tcpip::Storage &tempMsg)
void collectObjectsInRange (int domain, const PositionVector &shape, SUMOReal range, std::set< std::string > &into)
Writing Status Messages
void writeStatusCmd (int commandId, int status, const std::string &description, tcpip::Storage &outputStorage)
Writes a status command to the given storage.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.134.1
Detailed Description
5.134.2
5.134.2.1
static void TraCIServer::openSocket ( const std::map< int, CmdExecutor > & execs ) [static]
in
5.134.2.2
Reads the value type and a 2D bounding box, verifying the type.
Parameters
in,changed]
into
out
Returns
Whether a 2D bounding box was given (by data type)
5.134.2.3
out
Returns
Whether a byte was given (by data type)
5.134.2.4
out
in,changed]
into
Returns
Whether a color was given (by data type)
5.134.2.5
311
312
Class Documentation
Parameters
in,changed]
into
out
Returns
Whether a double value was given (by data type)
5.134.2.6
out
Returns
Whether an integer value was given (by data type)
5.134.2.7
out
Returns
Whether an unsigned byte was given (by data type)
5.134.2.8
out
in,changed]
into
Returns
Whether a 2D position was given (by data type)
5.134.2.9
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
313
Parameters
out
in,changed]
into
Returns
Whether a string value was given (by data type)
5.134.2.10
bool TraCIServer::readTypeCheckingStringList ( tcpip::Storage & inputStorage, std::vector< std::string > & into
)
Reads the value type and a string list, verifying the type.
Parameters
out
in,changed]
into
Returns
Whether a double value was given (by data type)
5.134.2.11
Reads the value type and an unsigned byte, verifying the type.
Parameters
out
in,changed]
into
Returns
Whether an unsigned byte was given (by data type)
5.134.2.12
5.134.2.13
bool TraCIServer::writeErrorStatusCmd ( int commandId, const std::string & description, tcpip::Storage &
outputStorage )
in
in
commandId
description
in,filled]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
314
5.134.2.14
Class Documentation
void TraCIServer::writeStatusCmd ( int commandId, int status, const std::string & description, tcpip::Storage &
outputStorage )
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
315
Parameters
commandId
status
description
in,filled]
in
in
in
5.134.2.15
void TraCIServer::writeStatusCmd ( int commandId, int status, const std::string & description )
in
in
in
commandId
status
description
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServer.h
5.135
#include <TraCIServerAPI_ArealDetector.h>
5.135.1
Detailed Description
5.136
5.136.1
5.136.1.1
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
316
Class Documentation
Parameters
server
inputStorage
outputStorage
in
in
out
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_ArealDetector.h
5.137
#include <TraCIServerAPI_Edge.h>
5.137.1
Detailed Description
5.137.2
5.137.2.1
static bool TraCIServerAPI_Edge::getShape ( const std::string & id, PositionVector & shape ) [static]
in
out
id
shape
Returns
Whether the edge is known
5.137.2.2
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
317
Parameters
server
inputStorage
outputStorage
in
in
out
5.137.2.3
in
in
out
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_Edge.h
5.138
#include <TraCIServerAPI_InductionLoop.h>
5.138.1
Detailed Description
5.138.2
5.138.2.1
static bool TraCIServerAPI_InductionLoop::getPosition ( const std::string & id, Position & p ) [static]
in
out
id
p
Returns
Whether the inductive loop is known (and on road)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
318
Class Documentation
5.138.2.2
5.138.2.3
Processes a get value command (Command 0xa0: Get Induction Loop Variable)
Parameters
server
inputStorage
outputStorage
in
in
out
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_InductionLoop.h
5.139
#include <TraCIServerAPI_Junction.h>
5.139.1
Detailed Description
5.139.2
5.139.2.1
static bool TraCIServerAPI_Junction::getPosition ( const std::string & id, Position & p ) [static]
in
out
id
p
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
319
Returns
Whether the junction is known (and on road)
5.139.2.2
5.139.2.3
in
in
out
server
inputStorage
outputStorage
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_Junction.h
5.140
#include <TraCIServerAPI_Lane.h>
Classes
class StoringVisitor
Allows to store the object; used as context while traveling the rtree in TraCI.
5.140.1
Detailed Description
320
Class Documentation
5.140.2
5.140.2.1
static bool TraCIServerAPI_Lane::getShape ( const std::string & id, PositionVector & shape ) [static]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
321
Parameters
id
shape
in
out
Returns
Whether the lane is known
5.140.2.2
in
in
out
5.140.2.3
in
in
out
server
inputStorage
outputStorage
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_Lane.h
5.141
#include <TraCIServerAPI_MeMeDetector.h>
5.141.1
Detailed Description
5.141.2
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
322
5.141.2.1
Class Documentation
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
323
Parameters
server
inputStorage
outputStorage
in
in
out
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_MeMeDetector.h
5.142
#include <TraCIServerAPI_Person.h>
5.142.1
Detailed Description
5.142.2
5.142.2.1
static bool TraCIServerAPI_Person::getPosition ( const std::string & id, Position & p ) [static]
in
out
id
p
Returns
Whether the person is known
5.142.2.2
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
324
Class Documentation
Parameters
server
inputStorage
outputStorage
in
in
out
5.142.2.3
in
in
out
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_Person.h
5.143
#include <TraCIServerAPI_POI.h>
5.143.1
Detailed Description
5.143.2
5.143.2.1
static bool TraCIServerAPI_POI::getPosition ( const std::string & id, Position & p ) [static]
in
out
id
p
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
325
Returns
Whether the PoI is known (and on road)
5.143.2.2
5.143.2.3
in
in
out
5.143.2.4
in
in
out
server
inputStorage
outputStorage
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_POI.h
5.144
#include <TraCIServerAPI_Polygon.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
326
Class Documentation
5.144.1
Detailed Description
5.144.2
5.144.2.1
static bool TraCIServerAPI_Polygon::getShape ( const std::string & id, PositionVector & shape ) [static]
in
out
Returns
Whether the polygon is known
5.144.2.2
5.144.2.3
in
in
out
5.144.2.4
in
in
out
server
inputStorage
outputStorage
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_Polygon.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.145
327
#include <TraCIServerAPI_Route.h>
5.145.1
Detailed Description
5.145.2
5.145.2.1
in
in
out
5.145.2.2
in
in
out
server
inputStorage
outputStorage
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_Route.h
5.146
#include <TraCIServerAPI_Simulation.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
328
Class Documentation
static const MSLane getLaneChecking (std::string roadID, int laneIndex, SUMOReal pos)
Converts a road map position to a cartesian position.
static bool commandPositionConversion (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage, int commandId)
static bool commandDistanceRequest (TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage
&outputStorage, int commandId)
static void writeVehicleStateNumber (TraCIServer &server, tcpip::Storage &outputStorage, MSNet::VehicleState state)
static void writeVehicleStateIDs (TraCIServer &server, tcpip::Storage &outputStorage, MSNet::VehicleState
state)
5.146.1
Detailed Description
5.146.2
5.146.2.1
[static]
Converts a cartesian position to the closest road map position.
Parameters
pos
Returns
the closest road map position to the cartesian position
5.146.2.2
Returns
closest 2D position
5.146.2.3
329
Parameters
server
inputStorage
outputStorage
in
in
out
5.146.2.4
in
in
out
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_Simulation.h
5.147
#include <TraCIServerAPI_TLS.h>
5.147.1
Detailed Description
5.147.2
5.147.2.1
Processes a get value command (Command 0xa2: Get Traffic Lights Variable)
Parameters
in
in
out
server
inputStorage
outputStorage
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
330
5.147.2.2
Class Documentation
Processes a set value command (Command 0xc2: Change Traffic Lights State)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
331
Parameters
server
inputStorage
outputStorage
in
in
out
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_TLS.h
5.148
#include <TraCIServerAPI_Vehicle.h>
5.148.1
Detailed Description
5.148.2
5.148.2.1
static bool TraCIServerAPI_Vehicle::getPosition ( const std::string & id, Position & p ) [static]
in
out
id
p
Returns
Whether the vehicle is known (and on road)
5.148.2.2
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
332
Class Documentation
Parameters
server
inputStorage
outputStorage
in
in
out
5.148.2.3
in
in
out
server
inputStorage
outputStorage
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_Vehicle.h
5.149
#include <TraCIServerAPI_VehicleType.h>
static bool getVariable (const int variable, const MSVehicleType &v, tcpip::Storage &tempMsg)
Processes a value request for the given type.
static bool setVariable (const int cmd, const int variable, MSVehicleType &v, TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a set value for the given type.
5.149.1
Detailed Description
5.149.2
5.149.2.1
static bool TraCIServerAPI_VehicleType::getVariable ( const int variable, const MSVehicleType & v, tcpip::Storage
& tempMsg ) [static]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
333
Parameters
variable
v
tempMsg
in
in
out
5.149.2.2
Processes a get value command (Command 0xa5: Get Vehicle Type Variable)
Parameters
server
inputStorage
outputStorage
in
in
out
5.149.2.3
Processes a set value command (Command 0xc5: Change Vehicle Type State)
Parameters
in
in
out
server
inputStorage
outputStorage
The documentation for this class was generated from the following file:
src/sumo/include/traci-server/TraCIServerAPI_VehicleType.h
5.150
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::TrafficLightScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::TrafficLightScope
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
334
Class Documentation
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.150.1
Detailed Description
5.151
UnknownElement Thrown when a named element is tried to be accesed which is not known to the container.
#include <UtilExceptions.h>
Inheritance diagram for UnknownElement:
runtime_error
UnknownElement
5.151.1
Detailed Description
UnknownElement Thrown when a named element is tried to be accesed which is not known to the container.
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/UtilExceptions.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.152
335
5.153
5.154
A time line being a sorted container of non-overlapping time-ranges with assigned values.
#include <ValueTimeLine.h>
ValueTimeLine ()
Destructor.
5.154.1
Detailed Description
336
Class Documentation
5.154.2
5.154.2.1
template<typename T > void ValueTimeLine< T >::add ( SUMOReal begin, SUMOReal end, T value )
[inline]
in
in
in
5.154.2.2
in
Returns
whether a valid value was set
5.154.2.3
in
in
5.154.2.4
in
in
low
high
Returns
the split point
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.154.2.5
337
in
Returns
the value for the time
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/ValueTimeLine.h
5.155
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/VectorHelper.h
5.156
#include <TraCIAPI.h>
Inheritance diagram for TraCIAPI::VehicleTypeScope:
TraCIAPI::TraCIScopeWrapper
TraCIAPI::VehicleTypeScope
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
338
Class Documentation
Protected Attributes
TraCIAPI & myParent
The parent TraCI client which offers the connection.
5.156.1
Detailed Description
339
5.157
#include <WrappingCommand.h>
Inheritance diagram for WrappingCommand< T >:
Command
WrappingCommand< T >
Public Types
typedef SUMOTime(T:: Operation )(SUMOTime)
Type of the function to execute.
WrappingCommand ()
Destructor.
void deschedule ()
Marks this Command as being descheduled.
5.157.1
Detailed Description
340
Class Documentation
5.157.2
5.157.2.1
Constructor.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
341
Parameters
receiver
operation
in
in
Pointer to object of type T that will receive a call to one of its methods.
The objects method that will be called on execute()
5.157.3
5.157.3.1
5.157.3.2
in
Returns
The time after which the command shall be executed again, 0 if this command shall be descheduled.
Exceptions
ProcessError
Implements Command.
The documentation for this class was generated from the following file:
src/sumo/include/utils/common/WrappingCommand.h
5.158
#include <rapidxml.hpp>
Inheritance diagram for rapidxml::xml_attribute< Ch >:
rapidxml::xml_base< Ch >
rapidxml::xml_attribute< Ch >
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
342
Class Documentation
xml_document< Ch > document () const
Gets document of which attribute is a child.
xml_attribute< Ch > previous_attribute (const Ch name=0, std::size_t name_size=0, bool case_sensitive=true) const
Gets previous attribute, optionally matching attribute name.
xml_attribute< Ch > next_attribute (const Ch name=0, std::size_t name_size=0, bool case_sensitive=true) const
Gets next attribute, optionally matching attribute name.
Ch name () const
Gets name of the node.
Ch value () const
Gets value of node.
Protected Attributes
Ch m_name
Ch m_value
std::size_t m_name_size
std::size_t m_value_size
xml_node< Ch > m_parent
Friends
class xml_node< Ch >
5.158.1
Detailed Description
343
Parameters
Ch
5.158.2
5.158.2.1
5.158.3
5.158.3.1
5.158.3.2
) const [inline],
5.158.3.3
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
344
Class Documentation
5.158.3.4
5.158.3.5
5.158.3.6
Name of attribute to find, or 0 to return next attribute regardless of its name; this string doesnt
have to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found attribute, or 0 if not found.
5.158.3.7
5.158.3.8
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
345
Parameters
name
name_size
case_sensitive
Name of attribute to find, or 0 to return previous attribute regardless of its name; this string
doesnt have to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found attribute, or 0 if not found.
5.158.3.9
) const [inline],
5.158.3.10
5.158.3.11
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
346
Class Documentation
Parameters
value
5.158.3.12
5.159
Base class for xml_node and xml_attribute implementing common functions: name(), name_size(), value(), value_size() and parent().
#include <rapidxml.hpp>
Inheritance diagram for rapidxml::xml_base< Ch >:
rapidxml::xml_base< Ch >
rapidxml::xml_attribute< Ch >
rapidxml::xml_node< Ch >
rapidxml::xml_document< Ch >
Ch value () const
Gets value of node.
347
Protected Attributes
Ch m_name
Ch m_value
std::size_t m_name_size
std::size_t m_value_size
xml_node< Ch > m_parent
5.159.1
Detailed Description
5.159.2
5.159.2.1
5.159.2.2
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
348
Class Documentation
Parameters
name
size
5.159.2.3
5.159.2.4
5.159.2.5
5.159.2.6
5.159.2.7
349
Size of value must be specified separately, because it does not have to be zero terminated. Use value(const Ch )
function to have the length automatically calculated (string must be zero terminated).
If an element has a child node of type node_data, it will take precedence over element value when printing. If
you want to manipulate data of elements using values, use parser flag rapidxml::parse_no_data_nodes to prevent
creation of data nodes by the parser.
Parameters
value
size
5.159.2.8
5.159.2.9
5.160
#include <rapidxml.hpp>
Inheritance diagram for rapidxml::xml_document< Ch >:
rapidxml::xml_base< Ch >
rapidxml::xml_node< Ch >
rapidxml::memory_pool< Ch >
rapidxml::xml_document< Ch >
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
350
Class Documentation
template<int Flags>
void parse (Ch text)
Parses zero-terminated XML string according to given flags.
void clear ()
Clears the document by deleting all nodes and clearing the memory pool.
xml_node< Ch > first_node (const Ch name=0, std::size_t name_size=0, bool case_sensitive=true) const
Gets first child node, optionally matching node name.
xml_node< Ch > last_node (const Ch name=0, std::size_t name_size=0, bool case_sensitive=true) const
Gets last child node, optionally matching node name.
void remove_first_node ()
Removes first child node.
void remove_last_node ()
Removes last child of the node.
void remove_all_nodes ()
Removes all child nodes (but not attributes).
void remove_first_attribute ()
Removes first attribute of the node.
void remove_last_attribute ()
Removes last attribute of the node.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
351
void remove_all_attributes ()
Removes all attributes of node.
Ch name () const
Gets name of the node.
Ch value () const
Gets value of node.
xml_node< Ch > allocate_node (node_type type, const Ch name=0, const Ch value=0, std::size_t
name_size=0, std::size_t value_size=0)
Allocates a new node from the pool, and optionally assigns name and value to it.
xml_node< Ch > clone_node (const xml_node< Ch > source, xml_node< Ch > result=0)
Clones an xml_node and its hierarchy of child nodes and attributes.
Protected Attributes
Ch m_name
Ch m_value
std::size_t m_name_size
std::size_t m_value_size
xml_node< Ch > m_parent
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
352
Class Documentation
5.160.1
Detailed Description
5.160.2
5.160.2.1
[inherited]
Allocates a new attribute from the pool, and optionally assigns name and value to it.
If the allocation request cannot be accomodated, this function will throw std::bad_alloc. If exceptions are
disabled by defining RAPIDXML_NO_EXCEPTIONS, this function will call rapidxml::parse_error_handler() function.
Parameters
name
value
name_size
value_size
Returns
Pointer to allocated attribute. This pointer will never be NULL.
5.160.2.2
Allocates a new node from the pool, and optionally assigns name and value to it.
If the allocation request cannot be accomodated, this function will throw std::bad_alloc. If exceptions are
disabled by defining RAPIDXML_NO_EXCEPTIONS, this function will call rapidxml::parse_error_handler() function.
Parameters
type
name
value
name_size
value_size
Returns
Pointer to allocated node. This pointer will never be NULL.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.160.2.3
353
Allocates a char array of given size from the pool, and optionally copies a given string to it.
If the allocation request cannot be accomodated, this function will throw std::bad_alloc. If exceptions are
disabled by defining RAPIDXML_NO_EXCEPTIONS, this function will call rapidxml::parse_error_handler() function.
Parameters
source
size
Returns
Pointer to allocated char array. This pointer will never be NULL.
5.160.2.4
5.160.2.5
Attribute to append.
5.160.2.6
Node to append.
Clears the document by deleting all nodes and clearing the memory pool.
All nodes owned by document pool are destroyed.
5.160.2.7
Node to clone.
Node to put results in, or 0 to automatically allocate result node
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
354
Class Documentation
Returns
Pointer to cloned node. This pointer will never be NULL.
5.160.2.8
5.160.2.9
Name of attribute to find, or 0 to return first attribute regardless of its name; this string doesnt
have to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found attribute, or 0 if not found.
5.160.2.10
Name of child to find, or 0 to return first child regardless of its name; this string doesnt have
to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found child, or 0 if not found.
5.160.2.11
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
355
Parameters
where
attribute
5.160.2.12
5.160.2.13
Name of attribute to find, or 0 to return last attribute regardless of its name; this string doesnt
have to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found attribute, or 0 if not found.
5.160.2.14
Name of child to find, or 0 to return last child regardless of its name; this string doesnt have
to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found child, or 0 if not found.
5.160.2.15
) const [inline],
356
Class Documentation
Interpretation of name depends on type of node. Note that name will not be zero-terminated if rapidxml::parse_no_string_terminators option was selected during parse.
Use name_size() function to determine length of the name.
Returns
Name of node, or empty string if node has no name.
5.160.2.16
5.160.2.17
5.160.2.18
5.160.2.19
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
357
Parameters
name
name_size
case_sensitive
Name of sibling to find, or 0 to return next sibling regardless of its name; this string doesnt
have to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found sibling, or 0 if not found.
5.160.2.20
5.160.2.21
5.160.2.22
XML data to parse; pointer is non-const to denote fact that this data may be modified by the
parser.
5.160.2.23
Attribute to prepend.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
358
Class Documentation
Parameters
child
5.160.2.24
Node to prepend.
Name of sibling to find, or 0 to return previous sibling regardless of its name; this string
doesnt have to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found sibling, or 0 if not found.
5.160.2.25
5.160.2.26
5.160.2.27
5.160.2.28
5.160.2.29
) [inline],
359
If node has no children, behaviour is undefined. Use first_node() to test if node has children.
5.160.2.30
Sets or resets the user-defined memory allocation functions for the pool.
This can only be called when no memory is allocated from the pool yet, otherwise results are undefined. Allocation
function must not return invalid pointer on failure. It should either throw, stop the program, or use longjmp()
function to pass control to other place of program. If it returns invalid pointer, results are undefined.
User defined allocation functions must have the following forms:
5.160.2.31
) const [inline],
5.160.2.32
5.160.2.33
) const [inline],
5.160.2.34
360
Class Documentation
See ownership_of_strings.
Note that node does not own its name or value, it only stores a pointer to it. It will not delete or otherwise free the
pointer on destruction. It is reponsibility of the user to properly manage lifetime of the string. The easiest way to
achieve it is to use memory_pool of the document to allocate the string - on destruction of the document the string
will be automatically freed.
Size of value must be specified separately, because it does not have to be zero terminated. Use value(const Ch )
function to have the length automatically calculated (string must be zero terminated).
If an element has a child node of type node_data, it will take precedence over element value when printing. If
you want to manipulate data of elements using values, use parser flag rapidxml::parse_no_data_nodes to prevent
creation of data nodes by the parser.
Parameters
value
size
5.160.2.35
5.160.2.36
Returns
Size of node value, in characters.
The documentation for this class was generated from the following file:
src/node/include/node/rapidxml.hpp
5.161
#include <rapidxml.hpp>
Inheritance diagram for rapidxml::xml_node< Ch >:
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
361
rapidxml::xml_base< Ch >
rapidxml::xml_node< Ch >
rapidxml::xml_document< Ch >
xml_node< Ch > first_node (const Ch name=0, std::size_t name_size=0, bool case_sensitive=true) const
Gets first child node, optionally matching node name.
xml_node< Ch > last_node (const Ch name=0, std::size_t name_size=0, bool case_sensitive=true) const
Gets last child node, optionally matching node name.
void remove_first_node ()
Removes first child node.
void remove_last_node ()
Removes last child of the node.
void remove_all_nodes ()
Removes all child nodes (but not attributes).
362
Class Documentation
void remove_first_attribute ()
Removes first attribute of the node.
void remove_last_attribute ()
Removes last attribute of the node.
void remove_all_attributes ()
Removes all attributes of node.
Ch name () const
Gets name of the node.
Ch value () const
Gets value of node.
Protected Attributes
Ch m_name
Ch m_value
std::size_t m_name_size
std::size_t m_value_size
xml_node< Ch > m_parent
5.161.1
Detailed Description
363
Parameters
Ch
5.161.2
5.161.2.1
5.161.3
5.161.3.1
5.161.3.2
Attribute to append.
5.161.3.3
Node to append.
5.161.3.4
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
364
Class Documentation
Parameters
name
name_size
case_sensitive
Name of attribute to find, or 0 to return first attribute regardless of its name; this string doesnt
have to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found attribute, or 0 if not found.
5.161.3.5
Name of child to find, or 0 to return first child regardless of its name; this string doesnt have
to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found child, or 0 if not found.
5.161.3.6
5.161.3.7
5.161.3.8
365
Parameters
name
name_size
case_sensitive
Name of attribute to find, or 0 to return last attribute regardless of its name; this string doesnt
have to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found attribute, or 0 if not found.
5.161.3.9
Name of child to find, or 0 to return last child regardless of its name; this string doesnt have
to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found child, or 0 if not found.
5.161.3.10
) const [inline],
5.161.3.11
366
Class Documentation
Parameters
name
size
5.161.3.12
5.161.3.13
5.161.3.14
Name of sibling to find, or 0 to return next sibling regardless of its name; this string doesnt
have to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found sibling, or 0 if not found.
5.161.3.15
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
5.161.3.16
367
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
368
Class Documentation
Parameters
attribute
5.161.3.17
Attribute to prepend.
5.161.3.18
Node to prepend.
Name of sibling to find, or 0 to return previous sibling regardless of its name; this string
doesnt have to be zero-terminated if name_size is non-zero
Size of name, in characters, or 0 to have size calculated automatically from string
Should name comparison be case-sensitive; non case-sensitive comparison works properly
only for ASCII characters
Returns
Pointer to found sibling, or 0 if not found.
5.161.3.19
5.161.3.20
5.161.3.21
5.161.3.22
369
5.161.3.23
5.161.3.24
5.161.3.25
5.161.3.26
) const [inline],
5.161.3.27
370
Class Documentation
Parameters
value
size
5.161.3.28
5.161.3.29
5.162
Public Attributes
The documentation for this class was generated from the following file:
src/node/include/node/xmlParser.hpp
5.163
#include <XMLSubSys.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
371
static bool runParser (GenericSAXHandler &handler, const std::string &file, const bool isNet=false)
Runs the given handler on the given file; returns if everythings ok.
5.163.1
Detailed Description
5.163.2
5.163.2.1
5.163.2.2
in
handler
Returns
The built Xerces-SAX-reader, 0 if something failed
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
372
Class Documentation
See Also
getSAXReader()
5.163.2.3
5.163.2.4
static bool XMLSubSys::runParser ( GenericSAXHandler & handler, const std::string & file, const bool isNet =
false ) [static]
Runs the given handler on the given file; returns if everythings ok.
Uses the reader built on init() which is stored in myReader to parse the given file.
All exceptions are catched and reported to the error-instance of the MsgHandler. Also, if the reader could not be
built, this is reported.
The method returns true if everything went ok. This means, that the reader could be built, no exception was caught,
and nothing was reported to the error-instance of the MsgHandler.
Parameters
handler
file
isNet
in
in
in
Returns
true if the parsing was done without errors, false otherwise (error was printed)
5.163.2.5
in
5.163.2.6
handler
static void XMLSubSys::setValidation ( const std::string & validationScheme, const std::string & netValidationScheme
) [static]
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
in
in
validationScheme
netValidationScheme
The documentation for this class was generated from the following file:
src/sumo/include/utils/xml/XMLSubSys.h
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
373
374
Class Documentation
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Chapter 6
File Documentation
6.1
#include
#include
#include
#include
#include
<iostream>
<string>
<std_msgs/Bool.h>
"node/xmlParser.hpp"
"node/Logger.hpp"
Classes
class Component
Component class.
6.1.1
Detailed Description
Date
6.2
#include
#include
#include
#include
<cstdlib>
<cassert>
<new>
<exception>
376
File Documentation
Classes
class rapidxml::parse_error
Parse error exception.
Macros
Enumerations
enum node_type {
rapidxml::node_document, rapidxml::node_element, rapidxml::node_data, rapidxml::node_cdata,
rapidxml::node_comment, rapidxml::node_declaration, rapidxml::node_doctype, rapidxml::node_pi }
Enumeration listing all node types produced by the parser.
Variables
const int rapidxml::parse_no_data_nodes = 0x1
Parse flag instructing the parser to not create data nodes.
377
6.2.1
Detailed Description
6.3
This file contains high-level rapidxml utilities that can be useful in certain simple scenarios.
#include
#include
#include
#include
#include
"rapidxml.hpp"
<vector>
<string>
<fstream>
<stdexcept>
Classes
class rapidxml::file< Ch >
Represents data loaded from a file.
Functions
template<class Ch >
std::size_t rapidxml::count_children (xml_node< Ch > node)
Counts children of node.
template<class Ch >
std::size_t rapidxml::count_attributes (xml_node< Ch > node)
Counts attributes of node.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
378
File Documentation
6.3.1
Detailed Description
This file contains high-level rapidxml utilities that can be useful in certain simple scenarios. They should probably
not be used if maximizing performance is the main objective.
6.4
#include "node/Component.hpp"
6.4.1
Detailed Description
Date
6.5
#include
#include
#include
#include
#include
#include
#include
#include
#include
<cstdlib>
<string.h>
<dlfcn.h>
<exception>
<signal.h>
<boost/thread.hpp>
"node/Component.hpp"
"pthread.h"
"sched.h"
Functions
void componentThreadFunc (Component compPtr)
int main (int argc, char argv)
Parses node configuration and spawns component executor threads.
Variables
std::vector< boost::thread > compThreads
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.5.1
Detailed Description
Date
6.6
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
"CSVIterator.hpp"
"Message.hpp"
<stdio.h>
<string.h>
<math.h>
<iomanip>
<algorithm>
<streambuf>
<list>
<vector>
<memory>
<boost/algorithm/string.hpp>
<time.h>
Classes
class Network::Exceeded_Production_Profile
Exception class thrown when application exceeds allowed data production.
struct Network::profileMemBuf
class Network::ResourceEntry
Holds the information about an interval of time starting at time, with constant bandwidth and max_bandwidth.
class Network::NetworkProfile
Defines how the bandwidth and latency of a given network link vary as functions of time over a specified period.
6.6.1
Detailed Description
6.7
379
380
File Documentation
#include
#include
#include
#include
#include
#include
#include
"ros/ros.h"
<boost/thread/thread.hpp>
<boost/asio.hpp>
<boost/bind.hpp>
"pnp2/NetworkProfile.hpp"
"pnp2/buffer.hpp"
"pnp2/oob.hpp"
Classes
class Network::receiver
Allows for the reception of data through a (possibly fixed-size) buffer at a configurable rate that can vary as a function
of time.
6.7.1
Detailed Description
6.8
#include
#include
#include
#include
#include
#include
#include
#include
#include
"ros/ros.h"
<boost/thread/thread.hpp>
<boost/asio.hpp>
<boost/bind.hpp>
<sys/socket.h>
<arpa/inet.h>
<netinet/in.h>
"pnp2/NetworkProfile.hpp"
"pnp2/oob.hpp"
Classes
class Network::Exceeded_Production_profile
Exception class thrown when application exceeds allowed data production.
class Network::sender
Allows for the sending of data (possibly through a buffer) at a configurable rate and with configurable push-back to
inform if the rate has been exceeded.
6.8.1
Detailed Description
6.9
Macros
#define TRACI_VERSION 9
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
381
382
File Documentation
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
383
384
File Documentation
385
386
File Documentation
6.9.1
Detailed Description
Author
Axel Wegener
Friedemann Wesner
Bjoern Hendriks
Daniel Krajzewicz
Thimor Bohn
Tino Morenz
Michael Behrisch
Christoph Sommer
Mario Krumnow
Jakob Erdmann
Laura Bieker
Date
2007/10/24
Version
Id:
TraCIConstants.h 18095 2015-03-17 09:39:00Z behrisch
holds codes used for TraCI
6.10
#include <config.h>
#include <string>
#include <stdexcept>
Classes
class TraCIException
6.10.1
Detailed Description
Author
Axel Wegener
Friedemann Wesner
Christoph Sommer
Daniel Krajzewicz
Michael Behrisch
Date
2007/10/24
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Id:
TraCIException.h 18095 2015-03-17 09:39:00Z behrisch
Exception thrown by TraCI
6.11
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
<config.h>
"TraCIConstants.h"
<foreign/tcpip/socket.h>
<foreign/tcpip/storage.h>
<utils/common/SUMOTime.h>
<utils/common/ToString.h>
<utils/geom/Boundary.h>
<utils/geom/Position.h>
<utils/geom/GeomHelper.h>
<utils/shapes/Polygon.h>
<utils/shapes/PointOfInterest.h>
<utils/options/OptionsCont.h>
<microsim/MSVehicle.h>
<microsim/MSNet.h>
<microsim/traffic_lights/MSTrafficLightLogic.h>
"TraCIException.h"
<utils/common/NamedRTree.h>
<map>
<string>
<set>
Classes
class TraCIServer
TraCI server used to control sumo by a remote TraCI client.
6.11.1
Detailed Description
Author
Axel Wegener
Friedemann Wesner
Christoph Sommer
Tino Morenz
Daniel Krajzewicz
Thimor Bohn
Sascha Krieg
Michael Behrisch
Date
2007/10/24
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
387
388
File Documentation
Version
Id:
TraCIServer.h 18096 2015-03-17 09:50:59Z behrisch
TraCI server used to control sumo by a remote TraCI client
6.12
#include
#include
#include
#include
<config.h>
"TraCIException.h"
"TraCIServer.h"
<foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_Edge
APIs for getting/setting edge values via TraCI.
6.12.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
07.05.2009
Version
Id:
TraCIServerAPI_Edge.h 18095 2015-03-17 09:39:00Z behrisch
6.13
#include
#include
#include
#include
<config.h>
"TraCIException.h"
"TraCIServer.h"
<foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_InductionLoop
APIs for getting/setting induction loop values via TraCI.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.13.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
07.05.2009
Version
Id:
TraCIServerAPI_InductionLoop.h 18095 2015-03-17 09:39:00Z behrisch
6.14
#include
#include
#include
#include
<config.h>
"TraCIException.h"
"TraCIServer.h"
<foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_Junction
APIs for getting/setting junction values via TraCI.
6.14.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
07.05.2009
Version
Id:
TraCIServerAPI_Junction.h 18095 2015-03-17 09:39:00Z behrisch
6.15
#include <config.h>
#include <foreign/tcpip/storage.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
389
390
File Documentation
Classes
class TraCIServerAPI_Lane
APIs for getting/setting lane values via TraCI.
class TraCIServerAPI_Lane::StoringVisitor
Allows to store the object; used as context while traveling the rtree in TraCI.
Macros
#define LANE_RTREE_QUAL RTree<MSLane, MSLane, float, 2, TraCIServerAPI_Lane::StoringVisitor>
6.15.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Jakob Erdmann
Date
07.05.2009
Version
Id:
TraCIServerAPI_Lane.h 18095 2015-03-17 09:39:00Z behrisch
6.16
#include
#include
#include
#include
<config.h>
"TraCIException.h"
"TraCIServer.h"
<foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_MeMeDetector
APIs for getting/setting multi-entry/multi-exit detector values via TraCI.
6.16.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
07.05.2009
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Id:
TraCIServerAPI_MeMeDetector.h 18095 2015-03-17 09:39:00Z behrisch
6.17
#include <config.h>
#include <foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_Person
APIs for getting/setting person values via TraCI.
6.17.1
Detailed Description
Author
Daniel Krajzewicz
Date
26.05.2014
Version
Id:
TraCIServerAPI_Person.h 18095 2015-03-17 09:39:00Z behrisch
6.18
#include
#include
#include
#include
<config.h>
"TraCIException.h"
"TraCIServer.h"
<foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_POI
APIs for getting/setting POI values via TraCI.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
391
392
File Documentation
6.18.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
07.05.2009
Version
Id:
TraCIServerAPI_POI.h 18095 2015-03-17 09:39:00Z behrisch
6.19
#include
#include
#include
#include
<config.h>
"TraCIException.h"
"TraCIServer.h"
<foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_Polygon
APIs for getting/setting polygon values via TraCI.
6.19.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
07.05.2009
Version
Id:
TraCIServerAPI_Polygon.h 18095 2015-03-17 09:39:00Z behrisch
6.20
#include
#include
#include
#include
<config.h>
"TraCIException.h"
"TraCIServer.h"
<foreign/tcpip/storage.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Classes
class TraCIServerAPI_Route
APIs for getting/setting route values via TraCI.
6.20.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
07.05.2009
Version
Id:
TraCIServerAPI_Route.h 18095 2015-03-17 09:39:00Z behrisch
6.21
#include
#include
#include
#include
#include
#include
#include
<config.h>
<string>
<map>
<vector>
"TraCIException.h"
"TraCIServer.h"
<foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_Simulation
APIs for getting/setting simulation values via TraCI.
6.21.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
07.05.2009
Version
Id:
TraCIServerAPI_Simulation.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
393
394
File Documentation
6.22
#include
#include
#include
#include
<config.h>
"TraCIException.h"
"TraCIServer.h"
<foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_TLS
APIs for getting/setting traffic light values via TraCI.
6.22.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
07.05.2009
Version
Id:
TraCIServerAPI_TLS.h 18095 2015-03-17 09:39:00Z behrisch
6.23
#include
#include
#include
#include
#include
<config.h>
"TraCIException.h"
<microsim/MSEdgeWeightsStorage.h>
"TraCIServer.h"
<foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_Vehicle
APIs for getting/setting vehicle values via TraCI.
6.23.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Id:
TraCIServerAPI_Vehicle.h 18096 2015-03-17 09:50:59Z behrisch
6.24
#include
#include
#include
#include
<config.h>
"TraCIException.h"
"TraCIServer.h"
<foreign/tcpip/storage.h>
Classes
class TraCIServerAPI_VehicleType
APIs for getting/setting vehicle type values via TraCI.
6.24.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
07.05.2009
Version
Id:
TraCIServerAPI_VehicleType.h 18095 2015-03-17 09:39:00Z behrisch
6.25
#include <config.h>
Classes
class AbstractMutex
An abstract class for encapsulating mutex implementations.
class AbstractMutex::ScopedLocker
A mutex encapsulator which locks/unlocks the given mutex on construction/destruction, respectively.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
395
396
File Documentation
6.25.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
2005-07-12
Version
Id:
AbstractMutex.h 18095 2015-03-17 09:39:00Z behrisch
6.26
#include <config.h>
#include <utils/common/SUMOTime.h>
#include <utils/common/UtilExceptions.h>
Classes
class Command
Base (microsim) event class.
6.26.1
Detailed Description
Author
Christian Roessel
Daniel Krajzewicz
Date
Thu, 20 Dec 2001
Version
Id:
Command.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.27
#include
#include
#include
#include
#include
#include
<config.h>
<cassert>
<fstream>
<string>
<vector>
"SUMOTime.h"
Classes
class FileHelpers
Functions for an easier usage of files and paths.
6.27.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Jakob Erdmann
Date
Mon, 17 Dec 2001
Version
Id:
FileHelpers.h 18095 2015-03-17 09:39:00Z behrisch
6.28
#include <config.h>
#include <string>
#include <vector>
Classes
class IDSupplier
This class builds string ids by adding an increasing numerical value to a previously given string.
6.28.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
397
398
File Documentation
Date
Sept 2002
Version
Id:
IDSupplier.h 18095 2015-03-17 09:39:00Z behrisch
6.29
#include
#include
#include
#include
<config.h>
<string>
<vector>
<iostream>
Classes
class MsgHandler
MsgHandler.
Macros
#define WRITE_WARNING(msg) MsgHandler::getWarningInstance()->inform(msg);
#define WRITE_MESSAGE(msg) MsgHandler::getMessageInstance()->inform(msg);
#define
PROGRESS_BEGIN_MESSAGE(msg)
MsgHandler::getMessageInstance()->beginProcessMsg((msg) + std::string("..."));
#define PROGRESS_DONE_MESSAGE() MsgHandler::getMessageInstance()->endProcessMsg("done.");
#define PROGRESS_FAILED_MESSAGE() MsgHandler::getMessageInstance()->endProcessMsg("failed.");
#define WRITE_ERROR(msg) MsgHandler::getErrorInstance()->inform(msg);
6.29.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Jakob Erdmann
Date
Tue, 17 Jun 2003
Version
Id:
MsgHandler.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.30
#include
#include
#include
#include
#include
<config.h>
<string>
<sstream>
<utils/iodevices/OutputDevice.h>
"MsgHandler.h"
Classes
class MsgRetrievingFunction< T >
Encapsulates an objects method for using it as a message retriever.
6.30.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
Mon, 24 Oct 2003
Version
Id:
MsgRetrievingFunction.h 18095 2015-03-17 09:39:00Z behrisch
6.31
#include <config.h>
#include <string>
#include <set>
Classes
class Named
Base class for objects which have an id.
struct Named::ComparatorIdLess
Function-object for stable sorting in containers.
class Named::StoringVisitor
Allows to store the object; used as context while traveling the rtree in TraCI.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
399
400
File Documentation
6.31.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Date
Sept 2002
Version
Id:
Named.h 18095 2015-03-17 09:39:00Z behrisch
6.32
#include
#include
#include
#include
#include
<config.h>
<map>
<string>
<vector>
<algorithm>
Classes
class NamedObjectCont< T >
A map of named object pointers.
6.32.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Jakob Erdmann
Date
Sept 2002
Version
Id:
NamedObjectCont.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.33
#include
#include
#include
#include
<config.h>
<set>
<foreign/rtree/RTree.h>
<utils/common/Named.h>
Classes
class NamedRTree
A RT-tree for efficient storing of SUMOs Named objects.
Macros
#define NAMED_RTREE_QUAL RTree<Named, Named, float, 2, Named::StoringVisitor>
6.33.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
27.10.2008
Version
Id:
NamedRTree.h 18095 2015-03-17 09:39:00Z behrisch
6.34
#include <config.h>
#include <map>
#include <string>
Classes
class Parameterised
An upper class for objects with additional parameters.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
401
402
File Documentation
6.34.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Melanie Knocke
Date
Sept 2002
Version
Id:
Parameterised.h 18137 2015-03-24 15:12:38Z behrisch
6.35
#include
#include
#include
#include
<config.h>
<cassert>
<vector>
<foreign/mersenne/MersenneTwister.h>
Classes
class RandHelper
Utility functions for using a global, resetable random number generator.
6.35.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Jakob Erdmann
Date
Fri, 29.04.2005
Version
Id:
RandHelper.h 18096 2015-03-17 09:50:59Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.36
#include
#include
#include
#include
#include
<config.h>
<cassert>
<limits>
<utils/common/RandHelper.h>
<utils/common/UtilExceptions.h>
Classes
class RandomDistributor< T >
Represents a generic random distribution.
6.36.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Jakob Erdmann
Date
2005-09-15
Version
Id:
RandomDistributor.h 18095 2015-03-17 09:39:00Z behrisch
6.37
#include <config.h>
#include <iostream>
#include <utils/common/UtilExceptions.h>
Classes
class RGBColor
The definition of a color in the RGB-space with an alpha channel.
6.37.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
403
404
File Documentation
Date
Sept 2002
Version
Id:
RGBColor.h 18095 2015-03-17 09:39:00Z behrisch
6.38
#include <config.h>
#include "Command.h"
Classes
class StaticCommand< T >
A wrapper for a Command function.
6.38.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
Wed, 13.02.2008
Version
Id:
taticCommand.h 4699 2007-11-09 14:05:13Z dkrajzew
6.39
#include <config.h>
#include <utils/xml/SUMOXMLDefinitions.h>
Macros
#define UNUSED_PARAMETER(x) ((void)(x))
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Functions
const RGBColor & getLinkColor (const LinkState &ls)
const std::string getBuildName (const std::string &version)
attach some build flags to the version string
template<typename T >
T MIN2 (T a, T b)
template<typename T >
T MAX2 (T a, T b)
template<typename T >
T MIN3 (T a, T b, T c)
template<typename T >
T MAX3 (T a, T b, T c)
template<typename T >
T MIN4 (T a, T b, T c, T d)
template<typename T >
T MAX4 (T a, T b, T c, T d)
template<typename T >
T ISNAN (T a)
Variables
const SUMOReal SUMO_const_laneWidth = (SUMOReal) 3.2
const SUMOReal SUMO_const_halfLaneWidth = (SUMOReal) 1.6
const SUMOReal SUMO_const_quarterLaneWidth = (SUMOReal) 0.8
const SUMOReal SUMO_const_laneOffset = (SUMOReal) .1
const SUMOReal SUMO_const_laneWidthAndOffset = (SUMOReal) 3.3
const SUMOReal SUMO_const_halfLaneAndOffset = (SUMOReal)(3.2 / 2. + .1)
const SUMOReal SUMO_const_haltingSpeed = (SUMOReal) 0.1
the speed threshold at which vehicles are considered as halting
bool gDebugFlag1
global utility flags for debugging
bool gDebugFlag2
6.39.1
Detailed Description
Author
Daniel Krajzewicz
Laura Bieker
Michael Behrisch
Jakob Erdmann
Date
Fri, 29.04.2005
Version
Id:
StdDefs.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
405
406
File Documentation
6.40
#include
#include
#include
#include
#include
#include
<config.h>
<iostream>
<map>
<vector>
<string>
<utils/common/UtilExceptions.h>
Classes
class StringBijection< T >
Template container for maintaining a bidirectional map between strings and something else It is not always a bijection
since it allows for duplicate entries on both sides if either checkDuplicates is set to false in the constructor or the insert
function or if the addAlias function is used.
6.40.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Jakob Erdmann
Date
Mar 2011
Version
Id:
StringBijection.h 18095 2015-03-17 09:39:00Z behrisch
6.41
#include <config.h>
#include <string>
#include <vector>
Classes
class StringTokenizer
StringTokenizer A class similar to the StringTokenizer from Java.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.41.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
?
Version
Id:
StringTokenizer.h 18095 2015-03-17 09:39:00Z behrisch
6.42
#include <config.h>
#include <string>
Classes
class StringUtils
Some static methods for string processing.
6.42.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
unknown
Version
Id:
StringUtils.h 18095 2015-03-17 09:39:00Z behrisch
6.43
#include
#include
#include
#include
<config.h>
<climits>
<string>
"UtilExceptions.h"
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
407
408
File Documentation
Macros
#define SUMOTime_MAX INT_MAX
#define SUMOTime_MIN INT_MIN
#define SUMOTIME_MAXSTRING "2147483"
#define DELTA_T 1
#define TS (static_cast<SUMOReal>(1.))
#define SPEED2DIST(x) (x)
#define DIST2SPEED(x) (x)
#define ACCEL2DIST(x) (x)
#define ACCEL2SPEED(x) (x)
#define SPEED2ACCEL(x) (x)
#define STEPS2TIME(x) (static_cast<SUMOReal>(x))
#define TIME2STEPS(x) (static_cast<SUMOTime>(x))
#define STEPFLOOR(x) (x)
#define STEPS2MS(x) ((x)1000)
#define SIMTIME STEPS2TIME(MSNet::getInstance()->getCurrentTimeStep())
Typedefs
typedef int SUMOTime
Functions
SUMOTime string2time (const std::string &r)
std::string time2string (SUMOTime t)
6.43.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Fri, 29.04.2005
Version
Id:
SUMOTime.h 18095 2015-03-17 09:39:00Z behrisch
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
409
Date
Fri, 29.04.2005
Version
Id:
SUMOTime.cpp 18095 2015-03-17 09:39:00Z behrisch
6.44
#include
#include
#include
#include
#include
#include
#include
<config.h>
<string>
<set>
<limits>
<utils/common/UtilExceptions.h>
<utils/common/StringBijection.h>
<utils/xml/SUMOXMLDefinitions.h>
Typedefs
typedef int SVCPermissions
typedef int SUMOEmissionClass
Enumerations
enum SUMOVehicleShape {
SVS_UNKNOWN, SVS_PEDESTRIAN, SVS_BICYCLE, SVS_MOPED,
SVS_MOTORCYCLE, SVS_PASSENGER, SVS_PASSENGER_SEDAN, SVS_PASSENGER_HATCHBACK,
SVS_PASSENGER_WAGON, SVS_PASSENGER_VAN, SVS_DELIVERY, SVS_TRUCK,
SVS_TRUCK_SEMITRAILER, SVS_TRUCK_1TRAILER, SVS_BUS, SVS_BUS_COACH,
SVS_BUS_FLEXIBLE, SVS_BUS_TROLLEY, SVS_RAIL, SVS_RAIL_CAR,
SVS_RAIL_CARGO, SVS_E_VEHICLE, SVS_ANT, SVS_SHIP }
Definition of vehicle classes to differ between different appearences.
enum SUMOVehicleClass {
SVC_IGNORING = 0, SVC_PRIVATE = 1, SVC_EMERGENCY = 1 << 1, SVC_AUTHORITY = 1 << 2,
SVC_ARMY = 1 << 3, SVC_VIP = 1 << 4, SVC_PASSENGER = 1 << 5, SVC_HOV = 1 << 6,
SVC_TAXI = 1 << 7, SVC_BUS = 1 << 8, SVC_COACH = 1 << 9, SVC_DELIVERY = 1 << 10,
SVC_TRUCK = 1 << 11, SVC_TRAILER = 1 << 12, SVC_TRAM = 1 << 13, SVC_RAIL_URBAN = 1 <<
14,
SVC_RAIL = 1 << 15, SVC_RAIL_ELECTRIC = 1 << 16, SVC_MOTORCYCLE = 1 << 17, SVC_MOPED
= 1 << 18,
SVC_BICYCLE = 1 << 19, SVC_PEDESTRIAN = 1 << 20, SVC_E_VEHICLE = 1 << 21, SVC_SHIP = 1
<< 22,
SVC_CUSTOM1 = 1 << 23, SVC_CUSTOM2 = 1 << 24 }
Definition of vehicle classes to differ between different lane usage and authority types.
Functions
std::string getVehicleClassCompoundName (int id)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
410
File Documentation
Variables
const int SUMOVehicleClass_MAX
StringBijection< SUMOVehicleClass > SumoVehicleClassStrings
std::set< std::string > deprecatedVehicleClassesSeen
StringBijection< SUMOVehicleShape > SumoVehicleShapeStrings
const SVCPermissions SVCAll
const SVCPermissions SVC_UNSPECIFIED
const std::string DEFAULT_VTYPE_ID
const std::string DEFAULT_PEDTYPE_ID
const SUMOReal DEFAULT_VEH_PROB
const SUMOReal DEFAULT_PEDESTRIAN_SPEED
const SUMOReal DEFAULT_CONTAINER_TRANSHIP_SPEED
6.44.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Walter Bamberger
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Version
Id:
SUMOVehicleClass.h 18096 2015-03-17 09:50:59Z behrisch
6.44.2
6.44.2.1
enum SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
Bits:
0-7: vehicle ownership
8-23: vehicle size
From NavTeq:
[0] All
[1] Passenger cars
[2] High Occupancy Vehicle
[3] Emergency Vehicle
[4] Taxi
[5] Public Bus
[6] Delivery Truck
[7] Transport Truck
[8] Bicycle
[9] Pedestrian
Enumerator
SVC_IGNORING vehicles ignoring classes
SVC_PRIVATE private vehicles
SVC_EMERGENCY public emergency vehicles
SVC_AUTHORITY authorities vehicles
SVC_ARMY army vehicles
SVC_VIP vip vehicles
SVC_PASSENGER vehicle is a passenger car (a "normal" car)
SVC_HOV vehicle is a HOV
SVC_TAXI vehicle is a taxi
SVC_BUS vehicle is a bus
SVC_COACH vehicle is a coach
SVC_DELIVERY vehicle is a small delivery vehicle
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
411
412
File Documentation
6.44.2.2
enum SUMOVehicleShape
6.44.3
Function Documentation
6.44.3.1
in
Returns
The ORed combination of base enum values
in
Returns
The internal representation of this class. Name must not be a compound name
6.44.3.3
in
permissions to encode
Returns
The string representation of these classes
6.44.3.4
in
the
permissions to encode
Returns
The string representation of these classes as a vector
Todo cache values?
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
413
414
File Documentation
name
in
Returns
The internal representation of this class
6.44.3.6
Returns the class name of the shape class given by its id.
Parameters
id
in
Returns
The string representation of this class
6.44.3.7
in
Returns
Whether the edge is forbidden
6.44.3.8
in
Returns
Whether the edge is a railway edge
6.44.3.9
in
permissions
Returns
Whether the edge is a waterway edge
6.44.3.10
Parses the given definition of allowed vehicle classes into the given containers Deprecated classes go into a separate container.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
415
Parameters
classNames
container
in
out
6.44.3.11
SVCPermissions parseVehicleClasses ( const std::string & allowedS, const std::string & disallowedS )
Encodes the given vector of allowed and disallowed classes into a bitset.
Parameters
allowedS
disallowedS
in
in
6.44.3.12
Encodes the given vector of allowed classs into a bitset Unlike the methods which parse a string it gives immediately
a warning output on deprecated vehicle classes.
Parameters
classesS
in
6.45
#include <config.h>
Classes
class SystemFrame
A set of actions common to all applications.
6.45.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
Mon, 23.06.2003
Version
Id:
SystemFrame.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
416
File Documentation
6.46
#include <config.h>
#include <string>
Classes
class SysUtils
A few system-specific functions.
6.46.1
Detailed Description
Author
Daniel Krajzewicz
Date
Fri, 29.04.2005
Version
Id:
SysUtils.h 18095 2015-03-17 09:39:00Z behrisch
6.47
#include
#include
#include
#include
#include
#include
#include
#include
<config.h>
<sstream>
<string>
<iomanip>
<algorithm>
<utils/xml/SUMOXMLDefinitions.h>
<utils/common/SUMOVehicleClass.h>
"StdDefs.h"
Functions
template<class T >
std::string toString (const T &t, std::streamsize accuracy=OUTPUT_ACCURACY)
Template for conversions from origin format to string representation (when supplied by c++/the stl)
template<typename T >
std::string toHex (const T i, std::streamsize numDigits=0)
template<>
std::string toString< SumoXMLTag > (const SumoXMLTag &tag, std::streamsize accuracy)
template<>
std::string toString< SumoXMLAttr > (const SumoXMLAttr &attr, std::streamsize accuracy)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
417
template<>
std::string toString< SumoXMLNodeType > (const SumoXMLNodeType &nodeType, std::streamsize accuracy)
template<>
std::string toString< SumoXMLEdgeFunc > (const SumoXMLEdgeFunc &edgeFunc, std::streamsize accuracy)
template<>
std::string toString< SUMOVehicleClass > (const SUMOVehicleClass &vClass, std::streamsize accuracy)
template<>
std::string toString< LaneSpreadFunction > (const LaneSpreadFunction &lsf, std::streamsize accuracy)
template<>
std::string toString< LinkState > (const LinkState &linkState, std::streamsize accuracy)
template<>
std::string toString< LinkDirection > (const LinkDirection &linkDir, std::streamsize accuracy)
template<>
std::string toString< TrafficLightType > (const TrafficLightType &type, std::streamsize accuracy)
template<>
std::string toString< LaneChangeModel > (const LaneChangeModel &model, std::streamsize accuracy)
template<typename V >
std::string toString (const std::vector< V > &v, std::streamsize accuracy=OUTPUT_ACCURACY)
template<typename V >
std::string toString (const typename std::vector< V >::const_iterator &b, const typename std::vector< V
>::const_iterator &e, std::streamsize accuracy=OUTPUT_ACCURACY)
template<typename T , typename T_BETWEEN >
std::string joinToString (const std::vector< T > &v, const T_BETWEEN &between, std::streamsize
accuracy=OUTPUT_ACCURACY)
template<typename T , typename T_BETWEEN >
std::string joinToStringSorting (const std::vector< T > &v, const T_BETWEEN &between, std::streamsize
accuracy=OUTPUT_ACCURACY)
template<typename V >
std::string toString (const std::set< V > &v, std::streamsize accuracy=OUTPUT_ACCURACY)
template<>
std::string toString (const std::vector< int > &v, std::streamsize accuracy)
template<>
std::string toString (const std::vector< SUMOReal > &v, std::streamsize accuracy)
template<typename T , typename T_BETWEEN >
std::string joinToString (const std::set< T > &s, const T_BETWEEN &between, std::streamsize
accuracy=OUTPUT_ACCURACY)
template<>
std::string toString (const std::set< std::string > &v, std::streamsize)
template<typename KEY , typename VAL , typename T_BETWEEN , typename T_BETWEEN_KEYVAL >
std::string joinToString (const std::map< KEY, VAL > &s, const T_BETWEEN &between, const T_BETWEEN_KEYVAL &between_keyval, std::streamsize accuracy=OUTPUT_ACCURACY)
template<>
std::string toString (const std::map< std::string, std::string > &v, std::streamsize)
6.47.1
Detailed Description
Author
Christian Roessel
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
418
File Documentation
Date
Wed, 23 Sep 2002
Version
Id:
ToString.h 18095 2015-03-17 09:39:00Z behrisch
6.48
#include
#include
#include
#include
#include
#include
#include
<config.h>
<string>
<cmath>
<limits>
<algorithm>
<utils/common/UtilExceptions.h>
<utils/common/StdDefs.h>
Classes
class TplConvert
TplConvert Some methods that convert 0-terminated char-arrays of any type into other values (numerical/boolean) or
into std::strings.
6.48.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Sun, 09 Jun 2002
Version
Id:
TplConvert.h 18095 2015-03-17 09:39:00Z behrisch
6.49
#include <config.h>
#include <string>
#include <stdexcept>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
419
Classes
class ProcessError
ProcessError A general exception type that may be thrown when the process is no longer able to proceed due to any
reason.
class InvalidArgument
InvalidArgument Thrown when an argument was not proper in the current context A message will be supplied.
class EmptyData
EmptyData Thrown when data required by a method is missing.
class FormatException
FormatException Thrown when a string that shall be converted into something else contained the wrong characters.
class NumberFormatException
NumberFormatException Thrown when the string that shall be converted into a numerical representation has any
other characters then digits and a dot.
class BoolFormatException
BoolFormatException Thrown when the string that shall be converted into a boolean does not match.
class OutOfBoundsException
OutOfBoundsException Thrown when an array element out of the arrays bounderies is accessed.
class UnknownElement
UnknownElement Thrown when a named element is tried to be accesed which is not known to the container.
class IOError
6.49.1
Detailed Description
Author
Daniel Krajzewicz
Christian Roessel
Michael Behrisch
Felix Brack
Date
Mon, 17 Dec 2001
Version
Id:
UtilExceptions.h 18095 2015-03-17 09:39:00Z behrisch
6.50
#include <config.h>
Classes
class ValueRetriever< T >
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
420
File Documentation
6.50.1
Detailed Description
Author
Daniel Krajzewicz
Date
Fri, 29.04.2005
Version
Id:
ValueRetriever.h 18095 2015-03-17 09:39:00Z behrisch
6.51
#include <config.h>
Classes
class ValueSource< T >
6.51.1
Detailed Description
Author
Daniel Krajzewicz
Date
Fri, 29.04.2005
Version
Id:
ValueSource.h 18095 2015-03-17 09:39:00Z behrisch
6.52
#include
#include
#include
#include
#include
<map>
<cassert>
<utility>
<utils/common/SUMOTime.h>
<config.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Classes
class ValueTimeLine< T >
A time line being a sorted container of non-overlapping time-ranges with assigned values.
6.52.1
Detailed Description
Author
Christian Roessel
Daniel Krajzewicz
Michael Behrisch
Date
Sept 2002
Version
Id:
ValueTimeLine.h 18095 2015-03-17 09:39:00Z behrisch
6.53
#include
#include
#include
#include
#include
<config.h>
<vector>
<limits>
<algorithm>
<iostream>
Classes
class VectorHelper< T >
Functions
template<class T >
std::ostream & operator<< (std::ostream &os, const std::vector< T > &v)
6.53.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Sept 2002
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
421
422
File Documentation
Version
Id:
VectorHelper.h 18095 2015-03-17 09:39:00Z behrisch
6.54
#include <config.h>
#include "Command.h"
Classes
class WrappingCommand< T >
A wrapper for a Command function.
6.54.1
Detailed Description
Author
Christian Roessel
Daniel Krajzewicz
Date
Thu, 20 Dec 2001
Version
Id:
WrappingCommand.h 18095 2015-03-17 09:39:00Z behrisch
6.55
#include
#include
#include
#include
#include
#include
<config.h>
<vector>
<utils/common/FileHelpers.h>
<utils/common/ToString.h>
<utils/xml/SUMOXMLDefinitions.h>
"OutputFormatter.h"
Classes
class BinaryFormatter
Output formatter for plain XML output.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.55.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
2012
Version
Id:
BinaryFormatter.h 18095 2015-03-17 09:39:00Z behrisch
6.56
#include
#include
#include
#include
#include
<config.h>
<string>
<vector>
<fstream>
"BinaryFormatter.h"
Classes
class BinaryInputDevice
Encapsulates binary reading operations on a file.
6.56.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Jakob Erdmann
Date
2005-09-15
Version
Id:
BinaryInputDevice.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
423
424
File Documentation
6.57
#include
#include
#include
#include
#include
#include
#include
<config.h>
<string>
<map>
<utils/common/ToString.h>
<utils/xml/SUMOXMLDefinitions.h>
"PlainXMLFormatter.h"
"BinaryFormatter.h"
Classes
class OutputDevice
Static storage of an output device and its base (abstract) implementation.
6.57.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Mario Krumnow
Date
2004
Version
Id:
OutputDevice.h 18095 2015-03-17 09:39:00Z behrisch
6.58
#include <config.h>
#include "OutputDevice.h"
Classes
class OutputDevice_CERR
An output device that encapsulates cerr.
6.58.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Version
Id:
OutputDevice_CERR.h 18095 2015-03-17 09:39:00Z behrisch
6.59
#include <config.h>
#include "OutputDevice.h"
Classes
class OutputDevice_COUT
An output device that encapsulates cout.
6.59.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
2004
Version
Id:
OutputDevice_COUT.h 18095 2015-03-17 09:39:00Z behrisch
6.60
#include <config.h>
#include <fstream>
#include "OutputDevice.h"
Classes
class OutputDevice_File
An output device that encapsulates an ofstream.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
425
426
File Documentation
6.60.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
2004
Version
Id:
OutputDevice_File.h 18095 2015-03-17 09:39:00Z behrisch
6.61
#include
#include
#include
#include
#include
#include
#include
#include
<config.h>
"foreign/tcpip/socket.h"
"foreign/tcpip/storage.h"
"OutputDevice.h"
<utils/common/UtilExceptions.h>
<string>
<iostream>
<sstream>
Classes
class OutputDevice_Network
An output device for TCP/IP network connections.
6.61.1
Detailed Description
Author
Michael Behrisch
Daniel Krajzewicz
Felix Brack
Date
2006
Version
Id:
OutputDevice_Network.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.62
#include <config.h>
#include <fstream>
#include "OutputDevice.h"
Classes
class OutputDevice_String
An output device that encapsulates an ofstream.
6.62.1
Detailed Description
Author
Michael Behrisch
Date
2009
Version
Id:
OutputDevice_String.h 18095 2015-03-17 09:39:00Z behrisch
6.63
#include
#include
#include
#include
<config.h>
<string>
<vector>
<utils/xml/SUMOXMLDefinitions.h>
Classes
class OutputFormatter
Abstract base class for output formatters.
6.63.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
2012
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
427
428
File Documentation
Version
Id:
OutputFormatter.h 18095 2015-03-17 09:39:00Z behrisch
6.64
#include <config.h>
#include "OutputFormatter.h"
Classes
class PlainXMLFormatter
Output formatter for plain XML output.
6.64.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
2012
Version
Id:
PlainXMLFormatter.h 18095 2015-03-17 09:39:00Z behrisch
6.65
#include
#include
#include
#include
#include
<config.h>
<string>
<vector>
<exception>
<utils/common/UtilExceptions.h>
Classes
class Option
A class representing a single program option.
class Option_Integer
An integer-option.
class Option_String
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
class Option_Float
class Option_Bool
class Option_FileName
class Option_IntVector
Typedefs
typedef std::vector< int > IntVector
Definition of a vector of unsigned ints.
6.65.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Jakob Erdmann
Date
Mon, 17 Dec 2001
Version
Id:
Option.h 18095 2015-03-17 09:39:00Z behrisch
6.66
#include
#include
#include
#include
#include
#include
<config.h>
<map>
<string>
<vector>
<iostream>
"Option.h"
Classes
class OptionsCont
A storage for options typed value containers)
6.66.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Walter Bamberger
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
429
430
File Documentation
Date
Mon, 17 Dec 2001
Version
Id:
OptionsCont.h 18095 2015-03-17 09:39:00Z behrisch
6.67
#include <config.h>
#include <utils/common/UtilExceptions.h>
Classes
class OptionsIO
Helping methods for parsing of command line arguments and reading a configuration file.
6.67.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
Mon, 17 Dec 2001
Version
Id:
OptionsIO.h 18095 2015-03-17 09:39:00Z behrisch
6.68
#include
#include
#include
#include
#include
#include
<config.h>
<xercesc/sax/HandlerBase.hpp>
<xercesc/sax/AttributeList.hpp>
<xercesc/sax/SAXParseException.hpp>
<xercesc/sax/SAXException.hpp>
<string>
Classes
class OptionsLoader
A SAX-Handler for loading options.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.68.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
Mon, 17 Dec 2001
Version
Id:
OptionsLoader.h 18095 2015-03-17 09:39:00Z behrisch
6.69
#include <config.h>
Classes
class OptionsParser
Parses command line arguments.
6.69.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Mon, 17 Dec 2001
Version
Id:
OptionsParser.h 18095 2015-03-17 09:39:00Z behrisch
6.70
#include
#include
#include
#include
#include
<config.h>
<vector>
<string>
<foreign/tcpip/socket.h>
<utils/common/SUMOTime.h>
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
431
432
File Documentation
Classes
class TraCIAPI
C++ TraCI client API implementation.
struct TraCIAPI::TraCIPosition
A 3D-position.
struct TraCIAPI::TraCIColor
struct TraCIAPI::TraCIBoundary
A 3D-bounding box.
class TraCIAPI::TraCIPhase
class TraCIAPI::TraCILogic
class TraCIAPI::TraCILink
class TraCIAPI::TraCIScopeWrapper
An abstract interface for accessing type-dependent values.
class TraCIAPI::EdgeScope
Scope for interaction with edges.
class TraCIAPI::GUIScope
Scope for interaction with the gui.
class TraCIAPI::InductionLoopScope
Scope for interaction with inductive loops.
class TraCIAPI::JunctionScope
Scope for interaction with junctions.
class TraCIAPI::LaneScope
Scope for interaction with lanes.
class TraCIAPI::AreaScope
Scope for interaction with areal detectors.
class TraCIAPI::MeMeScope
Scope for interaction with multi entry/-exit detectors.
class TraCIAPI::POIScope
Scope for interaction with POIs.
class TraCIAPI::PolygonScope
Scope for interaction with polygons.
class TraCIAPI::RouteScope
Scope for interaction with routes.
class TraCIAPI::SimulationScope
Scope for interaction with the simulation.
class TraCIAPI::TrafficLightScope
Scope for interaction with traffic lights.
class TraCIAPI::VehicleTypeScope
Scope for interaction with vehicle types.
Macros
#define DEFAULT_VIEW "View #0"
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.70.1
Detailed Description
Author
Daniel Krajzewicz
Mario Krumnow
Michael Behrisch
Date
30.05.2012
Version
Id:
TraCIAPI.h 18095 2015-03-17 09:39:00Z behrisch
Author
Daniel Krajzewicz
Mario Krumnow
Jakob Erdmann
Michael Behrisch
Date
30.05.2012
Version
Id:
TraCIAPI.cpp 18095 2015-03-17 09:39:00Z behrisch
6.71
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
<config.h>
<string>
<map>
<stack>
<sstream>
<vector>
<xercesc/sax2/Attributes.hpp>
<xercesc/sax2/DefaultHandler.hpp>
<utils/common/UtilExceptions.h>
<utils/common/StringBijection.h>
"SUMOSAXAttributes.h"
Classes
class GenericSAXHandler
A handler which converts occuring elements and attributes into enums.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
433
434
File Documentation
6.71.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Sept 2002
Version
Id:
GenericSAXHandler.h 18095 2015-03-17 09:39:00Z behrisch
6.72
#include
#include
#include
#include
<config.h>
<string>
<utils/xml/SUMOSAXHandler.h>
<utils/common/SUMOTime.h>
Classes
class SAXWeightsHandler
An XML-handler for network weights.
class SAXWeightsHandler::EdgeFloatTimeLineRetriever
Interface for a class which obtains read weights for named edges.
class SAXWeightsHandler::ToRetrieveDefinition
Complete definition about what shall be retrieved and where to store it.
6.72.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Fri, 30 Mar 2007
Version
Id:
SAXWeightsHandler.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.73
#include
#include
#include
#include
#include
<config.h>
<utils/common/IDSupplier.h>
<utils/common/SUMOTime.h>
<utils/vehicle/SUMOVehicleParameter.h>
<utils/xml/SUMOSAXHandler.h>
Classes
class SUMORouteHandler
Parser for routes during their loading.
6.73.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Mon, 9 Jul 2001
Version
Id:
SUMORouteHandler.h 18095 2015-03-17 09:39:00Z behrisch
6.74
#include <config.h>
#include <utils/common/SUMOTime.h>
Classes
class SUMORouteLoader
6.74.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
Wed, 6 Nov 2002
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
435
436
File Documentation
Version
Id:
SUMORouteLoader.h 18095 2015-03-17 09:39:00Z behrisch
6.75
#include <config.h>
#include <vector>
Classes
class SUMORouteLoaderControl
SUMORouteLoaderControl This controls is initialised with the list of route loaders and uses them to load routes step
wise.
6.75.1
Detailed Description
Author
Daniel Krajzewicz
Sascha Krieg
Michael Behrisch
Jakob Erdmann
Date
Wed, 06 Nov 2002
Version
Id:
SUMORouteLoaderControl.h 18095 2015-03-17 09:39:00Z behrisch
6.76
#include
#include
#include
#include
#include
#include
#include
#include
<config.h>
<string>
<vector>
<set>
<utils/common/SUMOTime.h>
<utils/common/ToString.h>
<utils/common/UtilExceptions.h>
"SUMOXMLDefinitions.h"
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Classes
class SUMOSAXAttributes
Encapsulated SAX-Attributes.
Functions
std::ostream & operator<< (std::ostream &os, const SUMOSAXAttributes &src)
6.76.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Fri, 30 Mar 2007
Version
Id:
SUMOSAXAttributes.h 18095 2015-03-17 09:39:00Z behrisch
6.77
#include
#include
#include
#include
<config.h>
<map>
<set>
"SUMOSAXAttributes.h"
Classes
class SUMOSAXAttributesImpl_Binary
Encapsulated Xerces-SAX-attributes.
6.77.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Fri, 30 Mar 2007
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
437
438
File Documentation
Version
Id:
SUMOSAXAttributesImpl_Binary.h 18095 2015-03-17 09:39:00Z behrisch
6.78
#include
#include
#include
#include
#include
#include
#include
#include
<config.h>
<string>
<map>
<iostream>
<xercesc/sax2/Attributes.hpp>
<utils/common/SUMOTime.h>
<utils/common/TplConvert.h>
"SUMOSAXAttributes.h"
Classes
class SUMOSAXAttributesImpl_Xerces
Encapsulated Xerces-SAX-attributes.
6.78.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Fri, 30 Mar 2007
Version
Id:
SUMOSAXAttributesImpl_Xerces.h 18095 2015-03-17 09:39:00Z behrisch
6.79
#include <config.h>
#include <string>
#include <utils/xml/GenericSAXHandler.h>
Classes
class SUMOSAXHandler
SAX-handler base for SUMO-files.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.79.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Sept 2002
Version
Id:
SUMOSAXHandler.h 18095 2015-03-17 09:39:00Z behrisch
6.80
#include
#include
#include
#include
<config.h>
<xercesc/sax2/SAX2XMLReader.hpp>
<xercesc/sax/EntityResolver.hpp>
<xercesc/sax/InputSource.hpp>
Classes
class SUMOSAXReader
SAX-reader encapsulation containing binary reader.
6.80.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Nov 2012
Version
Id:
SUMOSAXReader.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
439
440
File Documentation
6.81
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
<config.h>
<string>
<utils/xml/SUMOSAXHandler.h>
<utils/xml/SUMOXMLDefinitions.h>
<utils/common/SUMOTime.h>
<utils/common/SUMOVehicleClass.h>
<utils/vehicle/SUMOVehicleParameter.h>
<utils/vehicle/SUMOVTypeParameter.h>
<utils/common/UtilExceptions.h>
<utils/common/StdDefs.h>
Classes
class SUMOVehicleParserHelper
Helper methods for parsing vehicle attributes.
6.81.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Laura Bieker
Date
Mon, 07.04.2008
Version
Id:
SUMOVehicleParserHelper.h 18095 2015-03-17 09:39:00Z behrisch
6.82
#include <config.h>
#include <utils/common/StringBijection.h>
Classes
class SUMOXMLDefinitions
class for maintaining associations between enums and xml-strings
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
441
Enumerations
enum SumoXMLTag {
SUMO_TAG_NOTHING, SUMO_TAG_NET, SUMO_TAG_EDGE, SUMO_TAG_LANE,
SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_JUNCTION, SUMO_TAG_E1DETECTOR,
SUMO_TAG_INDUCTION_LOOP, SUMO_TAG_E2DETECTOR, SUMO_TAG_LANE_AREA_DETECTOR,
SUMO_TAG_E3DETECTOR,
SUMO_TAG_ENTRY_EXIT_DETECTOR, SUMO_TAG_MEANDATA_EDGE, SUMO_TAG_MEANDATA_LANE, SUMO_TAG_DET_ENTRY,
SUMO_TAG_DET_EXIT, SUMO_TAG_EDGEFOLLOWDETECTOR, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_VSS,
SUMO_TAG_CALIBRATOR, SUMO_TAG_REROUTER, SUMO_TAG_BUS_STOP, SUMO_TAG_CONTAINER_STOP,
SUMO_TAG_VTYPEPROBE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_ROUTES, SUMO_TAG_VEHICLE,
SUMO_TAG_VTYPE, SUMO_TAG_ROUTE, SUMO_TAG_REQUEST, SUMO_TAG_SOURCE,
SUMO_TAG_TAZ, SUMO_TAG_TAZSOURCE, SUMO_TAG_TAZSINK, SUMO_TAG_TLLOGIC,
SUMO_TAG_PHASE, SUMO_TAG_TRIP, SUMO_TAG_FLOW, SUMO_TAG_STEP,
SUMO_TAG_INTERVAL, SUMO_TAG_TIMEDEVENT, SUMO_TAG_FROMEDGE, SUMO_TAG_TOEDGE,
SUMO_TAG_SINK, SUMO_TAG_PARAM, SUMO_TAG_WAUT, SUMO_TAG_WAUT_SWITCH,
SUMO_TAG_WAUT_JUNCTION, SUMO_TAG_SEGMENT, SUMO_TAG_DELETE, SUMO_TAG_STOP,
SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_POLYTYPE,
SUMO_TAG_CONNECTION, SUMO_TAG_PROHIBITION, SUMO_TAG_SPLIT, SUMO_TAG_NODE,
SUMO_TAG_TYPE, SUMO_TAG_DETECTOR_DEFINITION, SUMO_TAG_ROUTE_DISTRIBUTION, SUMO_TAG_VTYPE_DISTRIBUTION,
SUMO_TAG_VAPORIZER, SUMO_TAG_ROUNDABOUT, SUMO_TAG_JOIN, SUMO_TAG_JOINEXCLUDE,
SUMO_TAG_CROSSING, SUMO_TAG_CUSTOMSHAPE, SUMO_TAG_WAY, SUMO_TAG_ND,
SUMO_TAG_TAG, SUMO_TAG_RELATION, SUMO_TAG_MEMBER, SUMO_TAG_VIEWSETTINGS,
SUMO_TAG_VIEWSETTINGS_DECAL, SUMO_TAG_VIEWSETTINGS_LIGHT, SUMO_TAG_VIEWSETTINGS_SCHEME, SUMO_TAG_VIEWSETTINGS_OPENGL,
SUMO_TAG_VIEWSETTINGS_BACKGROUND, SUMO_TAG_VIEWSETTINGS_EDGES, SUMO_TAG_VIEWSETTINGS_VEHICLES, SUMO_TAG_VIEWSETTINGS_PERSONS,
SUMO_TAG_VIEWSETTINGS_CONTAINERS, SUMO_TAG_VIEWSETTINGS_JUNCTIONS, SUMO_TAG_VIEWSETTINGS_ADDITIONALS, SUMO_TAG_VIEWSETTINGS_POIS,
SUMO_TAG_VIEWSETTINGS_POLYS, SUMO_TAG_VIEWSETTINGS_LEGEND, SUMO_TAG_VIEWSETTINGS_EVENT, SUMO_TAG_VIEWSETTINGS_EVENT_JAM_TIME,
SUMO_TAG_INCLUDE, SUMO_TAG_DELAY, SUMO_TAG_VIEWPORT, SUMO_TAG_SNAPSHOT,
SUMO_TAG_BREAKPOINTS_FILE, SUMO_TAG_LOCATION, SUMO_TAG_COLORSCHEME, SUMO_TAG_SCALINGSCHEME,
SUMO_TAG_ENTRY, SUMO_TAG_CF_KRAUSS, SUMO_TAG_CF_KRAUSS_PLUS_SLOPE, SUMO_TAG_CF_KRAUSS_ACCEL_BOUND,
SUMO_TAG_CF_KRAUSS_ORIG1, SUMO_TAG_CF_SMART_SK, SUMO_TAG_CF_DANIEL1, SUMO_TAG_CF_IDM,
SUMO_TAG_CF_IDMM, SUMO_TAG_CF_PWAGNER2009, SUMO_TAG_CF_BKERNER, SUMO_TAG_CF_WIEDEMANN,
SUMO_TAG_PERSON, SUMO_TAG_RIDE, SUMO_TAG_WALK, SUMO_TAG_CONTAINER,
SUMO_TAG_TRANSPORT, SUMO_TAG_TRANSHIP, SUMO_TAG_TRAJECTORIES, SUMO_TAG_TIMESTEP,
SUMO_TAG_TIMESLICE, SUMO_TAG_ACTORCONFIG, SUMO_TAG_MOTIONSTATE, SUMO_TAG_OD_PAIR,
AGEN_TAG_GENERAL, AGEN_TAG_STREET, AGEN_TAG_WORKHOURS, AGEN_TAG_OPENING,
AGEN_TAG_CLOSING, AGEN_TAG_SCHOOLS, AGEN_TAG_SCHOOL, AGEN_TAG_BUSSTATION,
AGEN_TAG_BUSLINE, AGEN_TAG_STATIONS, AGEN_TAG_REV_STATIONS, AGEN_TAG_STATION,
AGEN_TAG_FREQUENCY, AGEN_TAG_POPULATION, AGEN_TAG_BRACKET, AGEN_TAG_CITYGATES,
AGEN_TAG_ENTRANCE, AGEN_TAG_PARAM }
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
442
File Documentation
enum SumoXMLAttr {
SUMO_ATTR_NOTHING, SUMO_ATTR_ID, SUMO_ATTR_REFID, SUMO_ATTR_NAME,
SUMO_ATTR_TYPE, SUMO_ATTR_PRIORITY, SUMO_ATTR_NUMLANES, SUMO_ATTR_SPEED,
SUMO_ATTR_ONEWAY, SUMO_ATTR_WIDTH, SUMO_ATTR_SIDEWALKWIDTH, SUMO_ATTR_REMOVE,
SUMO_ATTR_LENGTH, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z,
SUMO_ATTR_CENTER_X, SUMO_ATTR_CENTER_Y, SUMO_ATTR_CENTER_Z, SUMO_ATTR_KEY,
SUMO_ATTR_REQUESTSIZE, SUMO_ATTR_REQUEST, SUMO_ATTR_RESPONSE, SUMO_ATTR_PROGRAMID,
SUMO_ATTR_OFFSET, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_INCLANES, SUMO_ATTR_INTLANES,
SUMO_ATTR_WEIGHT, SUMO_ATTR_NODE, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES,
SUMO_ATTR_DEPART, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DEPARTSPEED,
SUMO_ATTR_ARRIVALLANE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_ROUTE,
SUMO_ATTR_MAXSPEED, SUMO_ATTR_ACCEL, SUMO_ATTR_DECEL, SUMO_ATTR_VCLASS,
SUMO_ATTR_REPNUMBER, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_LANE_CHANGE_MODEL,
SUMO_ATTR_MINGAP, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_LOADING_DURATION,
SUMO_ATTR_SIGMA,
SUMO_ATTR_TAU, SUMO_ATTR_TMP1, SUMO_ATTR_TMP2, SUMO_ATTR_TMP3,
SUMO_ATTR_TMP4, SUMO_ATTR_TMP5, SUMO_ATTR_LAST, SUMO_ATTR_COST,
SUMO_ATTR_PROB, SUMO_ATTR_PROBS, SUMO_ATTR_ROUTES, SUMO_ATTR_VTYPES,
SUMO_ATTR_LANE, SUMO_ATTR_LANES, SUMO_ATTR_FROM, SUMO_ATTR_TO,
SUMO_ATTR_PERIOD, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_TO_TAZ, SUMO_ATTR_REROUTE,
SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_PERSON_NUMBER, SUMO_ATTR_CONTAINER_NUMBER,
SUMO_ATTR_FUNCTION, SUMO_ATTR_POSITION, SUMO_ATTR_FREQUENCY, SUMO_ATTR_STYLE,
SUMO_ATTR_FILE, SUMO_ATTR_JUNCTION, SUMO_ATTR_NUMBER, SUMO_ATTR_DURATION,
SUMO_ATTR_UNTIL, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_CROSSING_EDGES, SUMO_ATTR_TIME,
SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_TLID, SUMO_ATTR_TLTYPE,
SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_SHAPE, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_RADIUS,
SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_COLOR, SUMO_ATTR_DIR, SUMO_ATTR_STATE,
SUMO_ATTR_LAYER, SUMO_ATTR_FILL, SUMO_ATTR_PREFIX, SUMO_ATTR_DISCARD,
SUMO_ATTR_FROM_LANE, SUMO_ATTR_TO_LANE, SUMO_ATTR_DEST, SUMO_ATTR_SOURCE,
SUMO_ATTR_VIA, SUMO_ATTR_NODES, SUMO_ATTR_MINDURATION, SUMO_ATTR_MAXDURATION,
SUMO_ATTR_FOES, SUMO_ATTR_CONT, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_HALTING_SPEED_THRESHOLD,
SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_WAUT_ID, SUMO_ATTR_JUNCTION_ID, SUMO_ATTR_PROCEDURE,
SUMO_ATTR_SYNCHRON, SUMO_ATTR_REF_TIME, SUMO_ATTR_START_PROG, SUMO_ATTR_OFF,
SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_SPLIT_VTYPE, SUMO_ATTR_UNCONTROLLED, SUMO_ATTR_PASS,
SUMO_ATTR_BUS_STOP, SUMO_ATTR_CONTAINER_STOP, SUMO_ATTR_LINE, SUMO_ATTR_LINES,
SUMO_ATTR_VALUE, SUMO_ATTR_PROHIBITOR, SUMO_ATTR_PROHIBITED, SUMO_ATTR_ALLOW,
SUMO_ATTR_DISALLOW, SUMO_ATTR_PREFER, SUMO_ATTR_CONTROLLED_INNER, SUMO_ATTR_VEHSPERHOUR,
SUMO_ATTR_OUTPUT, SUMO_ATTR_HEIGHT, SUMO_ATTR_GUISHAPE, SUMO_ATTR_OSGFILE,
SUMO_ATTR_IMGFILE, SUMO_ATTR_ANGLE, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_IMPAGenerated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
443
TIENCE,
SUMO_ATTR_STARTPOS, SUMO_ATTR_ENDPOS, SUMO_ATTR_TRIGGERED, SUMO_ATTR_CONTAINER_TRIGGERED,
SUMO_ATTR_PARKING, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXPECTED_CONTAINERS, SUMO_ATTR_INDEX,
SUMO_ATTR_ENTERING, SUMO_ATTR_EXCLUDE_EMPTY, SUMO_ATTR_WITH_INTERNAL, SUMO_ATTR_TRACK_VEHICLES,
SUMO_ATTR_MAX_TRAVELTIME, SUMO_ATTR_MIN_SAMPLES, SUMO_ATTR_LON, SUMO_ATTR_LAT,
SUMO_ATTR_GEO, SUMO_ATTR_K, SUMO_ATTR_V, SUMO_ATTR_REF,
SUMO_ATTR_HREF, SUMO_ATTR_ZOOM, SUMO_ATTR_INTERPOLATED, SUMO_ATTR_THRESHOLD,
SUMO_ATTR_NET_OFFSET, SUMO_ATTR_CONV_BOUNDARY, SUMO_ATTR_ORIG_BOUNDARY, SUMO_ATTR_ORIG_PROJ,
SUMO_ATTR_CF_PWAGNER2009_TAULAST, SUMO_ATTR_CF_PWAGNER2009_APPROB, SUMO_ATTR_CF_IDM_DELTA, SUMO_ATTR_CF_IDM_STEPPING,
SUMO_ATTR_CF_IDMM_ADAPT_FACTOR, SUMO_ATTR_CF_IDMM_ADAPT_TIME, SUMO_ATTR_CF_KERNER_PHI, SUMO_ATTR_CF_WIEDEMANN_SECURITY,
SUMO_ATTR_CF_WIEDEMANN_ESTIMATION, SUMO_ATTR_GENERATE_WALKS, SUMO_ATTR_ACTTYPE, SUMO_ATTR_SLOPE,
SUMO_ATTR_VERSION, SUMO_ATTR_COMMAND, SUMO_ATTR_ACTORCONFIG, SUMO_ATTR_VEHICLE,
SUMO_ATTR_STARTTIME, SUMO_ATTR_VEHICLECLASS, SUMO_ATTR_FUEL, SUMO_ATTR_ACCELERATION,
SUMO_ATTR_AMOUNT, SUMO_ATTR_ORIGIN, SUMO_ATTR_DESTINATION, AGEN_ATTR_INHABITANTS,
AGEN_ATTR_HOUSEHOLDS, AGEN_ATTR_CHILDREN, AGEN_ATTR_RETIREMENT, AGEN_ATTR_CARS,
AGEN_ATTR_UNEMPLOYEMENT, AGEN_ATTR_MAX_FOOT_DIST, AGEN_ATTR_IN_TRAFFIC, AGEN_ATTR_OUT_TRAFFIC,
AGEN_ATTR_POPULATION, AGEN_ATTR_OUT_WORKPOSITION, AGEN_ATTR_HOUR, AGEN_ATTR_PROP,
AGEN_ATTR_CAPACITY, AGEN_ATTR_OPENING, AGEN_ATTR_CLOSING, AGEN_ATTR_MAX_TRIP_DURATION,
AGEN_ATTR_RATE, AGEN_ATTR_BEGINAGE, AGEN_ATTR_ENDAGE, AGEN_ATTR_PEOPLENBR,
AGEN_ATTR_CARPREF, AGEN_ATTR_CITYSPEED, AGEN_ATTR_FREETIMERATE, AGEN_ATTR_UNI_RAND_TRAFFIC,
AGEN_ATTR_DEP_VARIATION, AGEN_ATTR_INCOMING, AGEN_ATTR_OUTGOING, GNE_ATTR_MODIFICATION_STATUS,
GNE_ATTR_SHAPE_START, GNE_ATTR_SHAPE_END }
Numbers representing SUMO-XML - attributes.
enum SumoXMLNodeType {
NODETYPE_UNKNOWN, NODETYPE_TRAFFIC_LIGHT, NODETYPE_TRAFFIC_LIGHT_NOJUNCTION,
NODETYPE_RAIL_SIGNAL,
NODETYPE_PRIORITY, NODETYPE_PRIORITY_STOP, NODETYPE_RIGHT_BEFORE_LEFT, NODETYPE_ALLWAY_STOP,
NODETYPE_DISTRICT, NODETYPE_NOJUNCTION, NODETYPE_INTERNAL, NODETYPE_DEAD_END,
NODETYPE_DEAD_END_DEPRECATED }
Numbers representing special SUMO-XML-attribute values for representing node- (junction-) types used in netbuild/netimport and netload.
enum SumoXMLEdgeFunc {
EDGEFUNC_NORMAL, EDGEFUNC_CONNECTOR, EDGEFUNC_SINK, EDGEFUNC_SOURCE,
EDGEFUNC_CROSSING, EDGEFUNC_WALKINGAREA, EDGEFUNC_INTERNAL }
Numbers representing special SUMO-XML-attribute values for representing edge functions used in netbuild/netimport
and netload.
444
File Documentation
enum LinkState {
LINKSTATE_TL_GREEN_MAJOR = G, LINKSTATE_TL_GREEN_MINOR = g, LINKSTATE_TL_RED = r,
LINKSTATE_TL_REDYELLOW = u,
LINKSTATE_TL_YELLOW_MAJOR = Y, LINKSTATE_TL_YELLOW_MINOR = y, LINKSTATE_TL_OFF_BLINKING = o, LINKSTATE_TL_OFF_NOSIGNAL = O,
LINKSTATE_MAJOR = M, LINKSTATE_MINOR = m, LINKSTATE_EQUAL = =, LINKSTATE_STOP = s,
LINKSTATE_ALLWAY_STOP = w, LINKSTATE_DEADEND = - }
The right-of-way state of a link between two lanes used when constructing a NBTrafficLightLogic, in MSLink and
GNEInternalLane.
enum LinkDirection {
LINKDIR_STRAIGHT = 0, LINKDIR_TURN, LINKDIR_LEFT, LINKDIR_RIGHT,
LINKDIR_PARTLEFT, LINKDIR_PARTRIGHT, LINKDIR_NODIR }
The different directions a link between two lanes may take (or a stream between two edges).
6.82.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Clemens Honomichl
Piotr Woznica
Michael Behrisch
Walter Bamberger
Date
Sept 2002
Version
Id:
SUMOXMLDefinitions.h 18096 2015-03-17 09:50:59Z behrisch
6.82.2
6.82.2.1
enum LinkDirection
The different directions a link between two lanes may take (or a stream between two edges).
used in netbuild (formerly NBMMLDirection) and MSLink
Enumerator
LINKDIR_STRAIGHT The link is a straight direction.
LINKDIR_TURN The link is a 180 degree turn.
LINKDIR_LEFT The link is a (hard) left direction.
LINKDIR_RIGHT The link is a (hard) right direction.
LINKDIR_PARTLEFT The link is a partial left direction.
LINKDIR_PARTRIGHT The link is a partial right direction.
LINKDIR_NODIR The link has no direction (is a dead end link)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.82.2.2
445
enum LinkState
The right-of-way state of a link between two lanes used when constructing a NBTrafficLightLogic, in MSLink and
GNEInternalLane.
This enumerations holds the possible right-of-way rules a link may have. Beyond the righ-of-way rules, this enumeration also holds the possible traffic light states.
enum values are assigned so that chars can be cast back to linkstates
Todo fix redundancy
Enumerator
LINKSTATE_TL_GREEN_MAJOR The link has green light, may pass.
LINKSTATE_TL_GREEN_MINOR The link has green light, has to brake.
LINKSTATE_TL_RED The link has red light (must brake)
LINKSTATE_TL_REDYELLOW The link has red light (must brake) but indicates upcoming green.
LINKSTATE_TL_YELLOW_MAJOR The link has yellow light, may pass.
LINKSTATE_TL_YELLOW_MINOR The link has yellow light, has to brake anyway.
LINKSTATE_TL_OFF_BLINKING The link is controlled by a tls which is off and blinks, has to brake.
LINKSTATE_TL_OFF_NOSIGNAL The link is controlled by a tls which is off, not blinking, may pass.
LINKSTATE_MAJOR This is an uncontrolled, major link, may pass.
LINKSTATE_MINOR This is an uncontrolled, minor link, has to brake.
LINKSTATE_EQUAL This is an uncontrolled, right-before-left link.
LINKSTATE_STOP This is an uncontrolled, minor link, has to stop.
LINKSTATE_ALLWAY_STOP This is an uncontrolled, all-way stop link.
LINKSTATE_DEADEND This is a dead end link.
6.82.2.3
enum SumoXMLAttr
446
File Documentation
6.82.2.4
enum SumoXMLTag
6.83
#include <config.h>
#include <vector>
#include <xercesc/sax2/SAX2XMLReader.hpp>
Classes
class XMLSubSys
Utility methods for initialising, closing and using the XML-subsystem.
6.83.1
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
Mon, 1 Jul 2002
Version
Id:
XMLSubSys.h 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
447
448
File Documentation
6.84
#include
#include
#include
#include
#include
#include
#include
6.84.1
<config.h>
<string>
<unistd.h>
<fstream>
"FileHelpers.h"
"StringTokenizer.h"
"MsgHandler.h"
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
Mon, 17 Dec 2001
Version
Id:
FileHelpers.cpp 18096 2015-03-17 09:50:59Z behrisch
6.85
#include
#include
#include
#include
#include
6.85.1
<config.h>
<string>
<sstream>
"StdDefs.h"
"IDSupplier.h"
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Sept 2002
Version
Id:
IDSupplier.cpp 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.86
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
6.86.1
<config.h>
<string>
<cassert>
<vector>
<algorithm>
<iostream>
"MsgHandler.h"
<utils/options/OptionsCont.h>
<utils/iodevices/OutputDevice.h>
<utils/common/UtilExceptions.h>
"AbstractMutex.h"
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
Tue, 17 Jun 2003
Version
Id:
MsgHandler.cpp 18095 2015-03-17 09:39:00Z behrisch
6.87
#include <config.h>
#include "Parameterised.h"
6.87.1
Detailed Description
Author
Daniel Krajzewicz
Date
Sept 2002
Version
Id:
Parameterised.cpp 18137 2015-03-24 15:12:38Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
449
450
File Documentation
6.88
#include
#include
#include
#include
#include
#include
6.88.1
<config.h>
<utils/options/OptionsCont.h>
<utils/common/SysUtils.h>
"RandHelper.h"
<ctime>
<cmath>
Detailed Description
Author
Daniel Krajzewicz
Michael Behrisch
Date
Tue, 29.05.2005
Version
Id:
RandHelper.cpp 18095 2015-03-17 09:39:00Z behrisch
6.89
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
<config.h>
<cmath>
<cassert>
<string>
<sstream>
<utils/common/StringTokenizer.h>
<utils/common/ToString.h>
<utils/common/TplConvert.h>
<utils/common/MsgHandler.h>
<utils/common/StdDefs.h>
"RGBColor.h"
Functions
std::ostream & operator<< (std::ostream &os, const RGBColor &col)
6.89.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Laura Bieker
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Id:
RGBColor.cpp 18095 2015-03-17 09:39:00Z behrisch
6.89.2
Function Documentation
6.89.2.1
Parameters
os
col
out
in
Returns
The stream
6.90
#include "RGBColor.h"
#include "StdDefs.h"
Functions
const RGBColor & getLinkColor (const LinkState &ls)
const std::string getBuildName (const std::string &version)
attach some build flags to the version string
Variables
451
452
File Documentation
6.90.1
Detailed Description
Author
Jakob Erdmann
Michael Behrisch
Laura Bieker
Date
2014-01-07
Version
Id:
StdDefs.cpp 18095 2015-03-17 09:39:00Z behrisch
6.91
#include
#include
#include
#include
#include
#include
6.91.1
<config.h>
<string>
<vector>
<iostream>
"UtilExceptions.h"
"StringTokenizer.h"
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
?
Version
Id:
StringTokenizer.cpp 18095 2015-03-17 09:39:00Z behrisch
6.92
#include
#include
#include
#include
#include
#include
#include
#include
<config.h>
<string>
<iostream>
<cstdio>
<utils/common/UtilExceptions.h>
<utils/common/TplConvert.h>
<utils/common/ToString.h>
"StringUtils.h"
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.92.1
453
Detailed Description
Author
Daniel Krajzewicz
Laura Bieker
Michael Behrisch
Date
unknown
Version
Id:
StringUtils.cpp 18095 2015-03-17 09:39:00Z behrisch
6.93
#include
#include
#include
#include
#include
#include
#include
#include
<config.h>
<string>
<map>
"SUMOVehicleClass.h"
<utils/common/TplConvert.h>
<utils/common/ToString.h>
<utils/common/MsgHandler.h>
<utils/common/StringTokenizer.h>
Functions
std::string getVehicleClassCompoundName (int id)
std::string getVehicleClassNames (SVCPermissions permissions)
Returns the ids of the given classes, divided using a .
454
File Documentation
Encodes the given vector of allowed classs into a bitset Unlike the methods which parse a string it gives immediately
a warning output on deprecated vehicle classes.
Variables
StringBijection
< SUMOVehicleClass >::Entry sumoVehicleClassStringInitializer [ ]
StringBijection< SUMOVehicleClass > SumoVehicleClassStrings (sumoVehicleClassStringInitializer, SVC_CUSTOM2, false)
std::set< std::string > deprecatedVehicleClassesSeen
StringBijection
< SUMOVehicleShape >::Entry sumoVehicleShapeStringInitializer [ ]
StringBijection< SUMOVehicleShape > SumoVehicleShapeStrings (sumoVehicleShapeStringInitializer, SVS_UNKNOWN, false)
const int SUMOVehicleClass_MAX = SVC_CUSTOM2
const SVCPermissions SVCAll = 2 SUMOVehicleClass_MAX - 1
const SVCPermissions SVC_UNSPECIFIED = -1
6.93.1
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Walter Bamberger
Date
2006-01-24
Version
Id:
SUMOVehicleClass.cpp 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.93.2
Function Documentation
6.93.2.1
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
455
456
File Documentation
Parameters
name
in
Returns
The ORed combination of base enum values
in
Returns
The internal representation of this class. Name must not be a compound name
6.93.2.3
in
permissions to encode
Returns
The string representation of these classes
6.93.2.4
in
the
permissions to encode
Returns
The string representation of these classes as a vector
Todo cache values?
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
name
in
457
Returns
The internal representation of this class
6.93.2.6
Returns the class name of the shape class given by its id.
Parameters
id
in
Returns
The string representation of this class
6.93.2.7
in
Returns
Whether the edge is forbidden
6.93.2.8
in
Returns
Whether the edge is a railway edge
6.93.2.9
in
permissions
Returns
Whether the edge is a waterway edge
6.93.2.10
Parses the given definition of allowed vehicle classes into the given containers Deprecated classes go into a separate container.
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
458
File Documentation
Parameters
classNames
container
in
out
6.93.2.11
SVCPermissions parseVehicleClasses ( const std::string & allowedS, const std::string & disallowedS )
Encodes the given vector of allowed and disallowed classes into a bitset.
Parameters
allowedS
disallowedS
in
in
6.93.2.12
Encodes the given vector of allowed classs into a bitset Unlike the methods which parse a string it gives immediately
a warning output on deprecated vehicle classes.
Parameters
classesS
in
6.94
#include
#include
#include
#include
#include
#include
#include
#include
6.94.1
<config.h>
"SystemFrame.h"
<string>
<utils/xml/XMLSubSys.h>
<utils/common/MsgHandler.h>
<utils/options/OptionsCont.h>
<utils/iodevices/OutputDevice.h>
"RandHelper.h"
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Mon, 23.06.2003
Version
Id:
SystemFrame.cpp 18095 2015-03-17 09:39:00Z behrisch
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.95
#include
#include
#include
#include
6.95.1
<config.h>
<stdlib.h>
"SysUtils.h"
<sys/time.h>
Detailed Description
Author
Daniel Krajzewicz
Jakob Erdmann
Date
Tue, 29.05.2005
Version
Id:
SysUtils.cpp 18095 2015-03-17 09:39:00Z behrisch
6.96
#include "node/Component.hpp"
#include "tlc_package/ryg_control.h"
#include "pnp2/sender.hpp"
Classes
class control_stream_ddos
Component Message and Service Headers.
6.96.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
459
460
File Documentation
6.97
#include
#include
#include
#include
"node/Component.hpp"
"tlc_package/ryg_control.h"
"tlc_package/sensor_state.h"
"tlc_package/ryg_state.h"
Classes
class controller
Component Message and Service Headers.
6.97.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.98
#include "node/Component.hpp"
#include "tlc_package/sensor_state.h"
#include "tlc_package/e3_get_vehicle_number.h"
Classes
class e3_sensor
Component Message and Service Headers.
6.98.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.99
461
#include "node/Component.hpp"
#include "tlc_package/sensor_state.h"
#include "pnp2/sender.hpp"
Classes
class e3_sensor_stream_ddos
Component Message and Service Headers.
6.99.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.100
#include
#include
#include
#include
#include
"node/Component.hpp"
"tlc_package/tlc_get_ryg_state.h"
"tlc_package/tlc_set_ryg_state.h"
"tlc_package/e3_get_vehicle_number.h"
"sumo/sumo_client.hpp"
Classes
class sumo_intf
Component Message and Service Headers.
6.100.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
462
File Documentation
6.101
#include "node/Component.hpp"
#include "tlc_package/ryg_control.h"
#include "tlc_package/tlc_set_ryg_state.h"
Classes
class tl_actuator
Component Message and Service Headers.
6.101.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.102
#include "node/Component.hpp"
#include "tlc_package/ryg_state.h"
#include "tlc_package/tlc_get_ryg_state.h"
Classes
class tl_sensor
Component Message and Service Headers.
6.102.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.103
#include "node/Component.hpp"
#include "tlc_package/ryg_state.h"
#include "pnp2/sender.hpp"
Classes
class tl_sensor_stream_ddos
Component Message and Service Headers.
6.103.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.104
#include "tlc_package/control_stream_ddos.hpp"
Functions
Component maker (ComponentConfig &config, int argc, char argv)
6.104.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.105
463
#include "tlc_package/controller.hpp"
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
464
File Documentation
Functions
Component maker (ComponentConfig &config, int argc, char argv)
Variables
std::string NSGREEN
std::string WEGREEN
int step = 0
6.105.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.106
#include "tlc_package/e3_sensor.hpp"
Functions
Component maker (ComponentConfig &config, int argc, char argv)
6.106.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.107
#include "tlc_package/e3_sensor_stream_ddos.hpp"
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
Functions
Component maker (ComponentConfig &config, int argc, char argv)
6.107.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.108
#include "tlc_package/sumo_intf.hpp"
Functions
Component maker (ComponentConfig &config, int argc, char argv)
Variables
SUMO_CLIENT sumo_client
bool sumo_client_operational = false
std::string sumo_host
int sumo_port
6.108.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.109
#include "tlc_package/tl_actuator.hpp"
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
465
466
File Documentation
Functions
Component maker (ComponentConfig &config, int argc, char argv)
6.109.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.110
#include "tlc_package/tl_sensor.hpp"
Functions
Component maker (ComponentConfig &config, int argc, char argv)
6.110.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
6.111
#include "tlc_package/tl_sensor_stream_ddos.hpp"
Functions
Component maker (ComponentConfig &config, int argc, char argv)
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
6.111.1
Detailed Description
Date
2016-04-20T18:05:53-05:00
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
467
Index
memory_pool
rapidxml::memory_pool, 75
AGEN_ATTR_INHABITANTS
SUMOXMLDefinitions.h, 446
AGEN_TAG_GENERAL
SUMOXMLDefinitions.h, 447
AbstractMutex, 17
AbstractMutex::ScopedLocker, 224
ScopedLocker, 225
add
NamedObjectCont, 92
RandomDistributor, 211
ValueTimeLine, 337
addCallExample
OptionsCont, 141
addConfigurationOptions
SystemFrame, 290
addCopyrightNotice
OptionsCont, 141
addDescription
OptionsCont, 141
addEdgeWeight
SAXWeightsHandler::EdgeFloatTimeLineRetriever,
47
addOptionSubTopic
OptionsCont, 142
addParameter
Parameterised, 200
addReportOptions
SystemFrame, 290
addSynonyme
OptionsCont, 142
addTo
Named, 90
allocate_attribute
rapidxml::memory_pool, 75
rapidxml::xml_document, 352
allocate_node
rapidxml::memory_pool, 76
rapidxml::xml_document, 353
allocate_string
rapidxml::memory_pool, 76
rapidxml::xml_document, 353
alpha
RGBColor, 215
append_attribute
rapidxml::xml_document, 353
rapidxml::xml_node, 364
append_node
rapidxml::xml_document, 354
rapidxml::xml_node, 364
beginProcessMsg
MsgHandler, 80
beginVTypeParsing
SUMOVehicleParserHelper, 285
BiArc, 18
BiArcParams, 19
BinaryFormatter, 19
closeTag, 21
openTag, 21
writeAttr, 22
writeHeader, 22
writePreformattedTag, 22
writeXMLHeader, 22
BinaryInputDevice, 24
BinaryInputDevice, 25
BinaryInputDevice, 25
good, 25
operator>>, 2629
peek, 25
putback, 25
read, 26
blue
RGBColor, 215
BoolFormatException, 29
buildErrorMessage
GenericSAXHandler, 61
SAXWeightsHandler, 221
SUMORouteHandler, 246
SUMOSAXHandler, 281
CSVIterator, 41
CSVRow, 41
changedBrightness
RGBColor, 215
characters
GenericSAXHandler, 61
OptionsLoader, 153
SAXWeightsHandler, 222
SUMORouteHandler, 247
SUMOSAXHandler, 281
check_resultState
SUMO_CLIENT, 238
TraCIAPI, 306
checkDependingSuboptions
OptionsCont, 142
checkForRelativity
FileHelpers, 54
INDEX
clear
rapidxml::memory_pool, 76
rapidxml::xml_document, 354
clone_node
rapidxml::memory_pool, 77
rapidxml::xml_document, 354
close
SystemFrame, 290
XMLSubSys, 372
closeRoute
SUMORouteHandler, 247
closeTag
BinaryFormatter, 21
MsgRetrievingFunction, 83
OutputDevice, 157
OutputDevice_CERR, 164
OutputDevice_COUT, 171
OutputDevice_File, 178
OutputDevice_Network, 185
OutputDevice_String, 192
OutputFormatter, 198
PlainXMLFormatter, 203
closeVTypeParsing
SUMOVehicleParserHelper, 285
Command, 30
execute, 31
comp_queue
Component, 33
control_stream_ddos, 37
controller, 40
e3_sensor, 43
e3_sensor_stream_ddos, 46
sumo_intf, 243
tl_actuator, 294
tl_sensor, 297
tl_sensor_stream_ddos, 300
comp_sync_pub
Component, 33
control_stream_ddos, 37
controller, 40
e3_sensor, 44
e3_sensor_stream_ddos, 46
sumo_intf, 243
tl_actuator, 294
tl_sensor, 297
tl_sensor_stream_ddos, 300
comp_sync_sub
Component, 33
control_stream_ddos, 37
controller, 40
e3_sensor, 44
e3_sensor_stream_ddos, 46
sumo_intf, 243
tl_actuator, 294
tl_sensor, 297
tl_sensor_stream_ddos, 300
Component, 31
comp_queue, 33
469
comp_sync_pub, 33
comp_sync_sub, 33
Component, 33
component_sync_operation, 33
config, 34
init_timer, 34
init_timer_operation, 33
logger, 34
node_argc, 34
node_argv, 34
startUp, 33
component_sync_operation
Component, 33
control_stream_ddos, 36
controller, 39
e3_sensor, 43
e3_sensor_stream_ddos, 45
sumo_intf, 241
tl_actuator, 293
tl_sensor, 296
tl_sensor_stream_ddos, 300
ComponentConfig, 34
config
Component, 34
control_stream_ddos, 37
controller, 40
e3_sensor, 44
e3_sensor_stream_ddos, 46
sumo_intf, 243
tl_actuator, 294
tl_sensor, 297
tl_sensor_stream_ddos, 300
connect
SUMO_CLIENT, 239
TraCIAPI, 306
Connection, 35
control_stream_ddos, 35
comp_queue, 37
comp_sync_pub, 37
comp_sync_sub, 37
component_sync_operation, 36
config, 37
control_stream_ddos, 36
control_stream_ddos, 36
init_timer, 37
init_timer_operation, 37
logger, 37
node_argc, 37
node_argv, 38
startUp, 37
controller, 38
comp_queue, 40
comp_sync_pub, 40
comp_sync_sub, 40
component_sync_operation, 39
config, 40
controller, 39
controller_timer_operation, 39
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
470
init_timer, 40
init_timer_operation, 39
logger, 41
node_argc, 41
node_argv, 41
ryg_state_sub_operation, 40
sensor_state_sub_operation, 40
startUp, 40
controller_timer_operation
controller, 39
convertCartesianToRoadMap
TraCIServerAPI_Simulation, 331
create_file
Logger, 72
createDeviceByOption
MsgRetrievingFunction, 83
OutputDevice, 157
OutputDevice_CERR, 164
OutputDevice_COUT, 171
OutputDevice_File, 178
OutputDevice_Network, 185
OutputDevice_String, 192
data
rapidxml::file, 52
Delay
Network::NetworkProfile, 97
deschedule
StaticCommand, 229
WrappingCommand, 341
describesTime
ValueTimeLine, 337
doRegister
OptionsCont, 143
document
rapidxml::xml_attribute, 344
rapidxml::xml_document, 354
rapidxml::xml_node, 365
e3_get_vehicle_number_server_operation
sumo_intf, 241
e3_sensor, 42
comp_queue, 43
comp_sync_pub, 44
comp_sync_sub, 44
component_sync_operation, 43
config, 44
e3_sensor, 43
e3_update_timer_operation, 43
e3_sensor, 43
init_timer, 44
init_timer_operation, 43
logger, 44
node_argc, 44
node_argv, 44
startUp, 43
e3_sensor_stream_ddos, 44
comp_queue, 46
comp_sync_pub, 46
INDEX
comp_sync_sub, 46
component_sync_operation, 45
config, 46
e3_sensor_stream_ddos, 45
e3_sensor_stream_ddos, 45
init_timer, 46
init_timer_operation, 46
logger, 46
node_argc, 46
node_argv, 47
startUp, 46
e3_update_timer_operation
e3_sensor, 43
EmptyData, 49
endElement
GenericSAXHandler, 61
OptionsLoader, 153
SAXWeightsHandler, 222
SUMORouteHandler, 247
SUMOSAXHandler, 281
erase
NamedObjectCont, 92
error
GenericSAXHandler, 62
OptionsLoader, 153
SAXWeightsHandler, 222
SUMORouteHandler, 247
SUMOSAXHandler, 281
escapeXML
StringUtils, 235
EulerSpiral, 49
EulerSpiralLookupTable, 50
EulerSpiralParams, 50
execute
Command, 31
StaticCommand, 229
WrappingCommand, 341
exists
OptionsCont, 143
fatalError
GenericSAXHandler, 62
OptionsLoader, 153
SAXWeightsHandler, 222
SUMORouteHandler, 248
SUMOSAXHandler, 282
file
rapidxml::file, 52
FileHelpers, 53
checkForRelativity, 54
getConfigurationRelative, 54
getFilePath, 54
isAbsolute, 54
isReadable, 55
isSocket, 55
readEdgeVector, 55
writeByte, 55
writeEdgeVector, 57
writeFloat, 57
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
writeInt, 57
writeString, 57
writeTime, 58
writeUInt, 58
fillGaps
ValueTimeLine, 338
first_attribute
rapidxml::xml_document, 354
rapidxml::xml_node, 365
first_node
rapidxml::xml_document, 355
rapidxml::xml_node, 365
FormatException, 58
fromHSV
RGBColor, 215
GenericSAXHandler, 59
buildErrorMessage, 61
characters, 61
endElement, 61
error, 62
fatalError, 62
GenericSAXHandler, 61
GenericSAXHandler, 61
getFileName, 62
myCharacters, 62
myEndElement, 62
myStartElement, 63
setFileName, 63
startElement, 63
warning, 63
get
NamedObjectCont, 93
RandomDistributor, 211
SUMOSAXAttributes, 253
SUMOSAXAttributesImpl_Binary, 263
SUMOSAXAttributesImpl_Xerces, 272
getBool
Option, 100
Option_Bool, 106
Option_FileName, 112
Option_Float, 117
Option_Integer, 123
Option_IntVector, 128
Option_String, 133
OptionsCont, 143
SUMOSAXAttributes, 254
SUMOSAXAttributesImpl_Binary, 263
SUMOSAXAttributesImpl_Xerces, 273
getBoundary
SUMOSAXAttributes, 254
SUMOSAXAttributesImpl_Binary, 264
SUMOSAXAttributesImpl_Xerces, 273
getColor
SUMOSAXAttributes, 254
SUMOSAXAttributesImpl_Binary, 264
SUMOSAXAttributesImpl_Xerces, 273
getConfigurationRelative
FileHelpers, 54
471
getCurrentInterval
Network::NetworkProfile, 97
getCurrentMillis
SysUtils, 291
getDataAtTime
Network::NetworkProfile, 97
getDescription
Option, 100
Option_Bool, 106
Option_FileName, 112
Option_Float, 117
Option_Integer, 123
Option_IntVector, 128
Option_String, 134
getDevice
MsgRetrievingFunction, 83
OutputDevice, 158
OutputDevice_CERR, 164
OutputDevice_COUT, 171
OutputDevice_File, 179
OutputDevice_Network, 186
OutputDevice_String, 192
getDeviceByOption
MsgRetrievingFunction, 84
OutputDevice, 158
OutputDevice_CERR, 165
OutputDevice_COUT, 172
OutputDevice_File, 179
OutputDevice_Network, 186
OutputDevice_String, 193
getEdgeFunc
SUMOSAXAttributes, 254
SUMOSAXAttributesImpl_Binary, 264
SUMOSAXAttributesImpl_Xerces, 273
getFileName
GenericSAXHandler, 62
SAXWeightsHandler, 223
SUMORouteHandler, 248
SUMOSAXHandler, 282
getFilePath
FileHelpers, 54
getFloat
Option, 101
Option_Bool, 106
Option_FileName, 112
Option_Float, 117
Option_Integer, 123
Option_IntVector, 128
Option_String, 134
OptionsCont, 144
SUMOSAXAttributes, 255
SUMOSAXAttributesImpl_Binary, 264, 265
SUMOSAXAttributesImpl_Xerces, 274
getID
Named, 91
getInt
Option, 101
Option_Bool, 106
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
472
Option_FileName, 112
Option_Float, 117
Option_Integer, 123
Option_IntVector, 129
Option_String, 134
OptionsCont, 144
SUMOSAXAttributes, 256
SUMOSAXAttributesImpl_Binary, 265
SUMOSAXAttributesImpl_Xerces, 274
getIntVector
Option, 101
Option_Bool, 107
Option_FileName, 113
Option_Float, 118
Option_Integer, 123
Option_IntVector, 129
Option_String, 134
OptionsCont, 144
getLaneChecking
TraCIServerAPI_Simulation, 331
getLong
SUMOSAXAttributes, 256
SUMOSAXAttributesImpl_Binary, 266
SUMOSAXAttributesImpl_Xerces, 275
getMap
Parameterised, 200
getName
SUMOSAXAttributes, 256
SUMOSAXAttributesImpl_Binary, 266
SUMOSAXAttributesImpl_Xerces, 275
getNextInterval
Network::NetworkProfile, 97
getNodeType
SUMOSAXAttributes, 257
SUMOSAXAttributesImpl_Binary, 266
SUMOSAXAttributesImpl_Xerces, 275
getOStream
MsgRetrievingFunction, 84
OutputDevice_CERR, 165
OutputDevice_COUT, 172
OutputDevice_File, 180
OutputDevice_Network, 186
OutputDevice_String, 193
getOpt
SUMOSAXAttributes, 257
SUMOSAXAttributesImpl_Binary, 266
SUMOSAXAttributesImpl_Xerces, 276
getOptSUMOTimeReporting
SUMOSAXAttributes, 257
SUMOSAXAttributesImpl_Binary, 267
SUMOSAXAttributesImpl_Xerces, 276
getOptions
OptionsIO, 152
getOverallProb
RandomDistributor, 211
getParameter
Parameterised, 201
getPosition
INDEX
TraCIServerAPI_InductionLoop, 319
TraCIServerAPI_Junction, 321
TraCIServerAPI_Person, 325
TraCIServerAPI_POI, 326
TraCIServerAPI_Vehicle, 333
getProbs
RandomDistributor, 211
getSAXReader
XMLSubSys, 372
getSUMOTimeReporting
SUMOSAXAttributes, 259
SUMOSAXAttributesImpl_Binary, 269
SUMOSAXAttributesImpl_Xerces, 278
getShape
SUMOSAXAttributes, 258
SUMOSAXAttributesImpl_Binary, 267
SUMOSAXAttributesImpl_Xerces, 276
TraCIServerAPI_Edge, 318
TraCIServerAPI_Lane, 323
TraCIServerAPI_Polygon, 328
getSplitTime
ValueTimeLine, 338
getString
Option, 101
Option_Bool, 107
Option_FileName, 113
Option_Float, 118
Option_Integer, 124
Option_IntVector, 129
Option_String, 135
OptionsCont, 145
OutputDevice_String, 193
SUMOSAXAttributes, 258
SUMOSAXAttributesImpl_Binary, 267
SUMOSAXAttributesImpl_Xerces, 277
getStringSecure
SUMOSAXAttributes, 258, 259
SUMOSAXAttributesImpl_Binary, 268
SUMOSAXAttributesImpl_Xerces, 277
getStringVector
OptionsCont, 145
SUMOSAXAttributes, 259
SUMOSAXAttributesImpl_Binary, 268
SUMOSAXAttributesImpl_Xerces, 278
getSynonymes
OptionsCont, 145
getTree
TraCIServerAPI_InductionLoop, 319
TraCIServerAPI_Junction, 321
TraCIServerAPI_POI, 326
TraCIServerAPI_Polygon, 329
getTypeName
Option, 102
Option_Bool, 107
Option_FileName, 113
Option_Float, 118
Option_Integer, 124
Option_IntVector, 129
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
Option_String, 135
getVals
RandomDistributor, 212
getValue
ValueTimeLine, 338
getValueString
Option, 102
Option_Bool, 107
Option_FileName, 113
Option_Float, 118
Option_Integer, 124
Option_IntVector, 130
Option_String, 135
getVariable
TraCIServerAPI_VehicleType, 334
getVehicleClassCompoundID
SUMOVehicleClass.cpp, 455
SUMOVehicleClass.h, 412
getVehicleClassID
SUMOVehicleClass.cpp, 456
SUMOVehicleClass.h, 413
getVehicleClassNames
SUMOVehicleClass.cpp, 456
SUMOVehicleClass.h, 413
getVehicleClassNamesList
SUMOVehicleClass.cpp, 456
SUMOVehicleClass.h, 413
getVehicleShapeID
SUMOVehicleClass.cpp, 456
SUMOVehicleClass.h, 413
getVehicleShapeName
SUMOVehicleClass.cpp, 457
SUMOVehicleClass.h, 414
good
BinaryInputDevice, 25
green
RGBColor, 217
hasAttribute
SUMOSAXAttributes, 260
SUMOSAXAttributesImpl_Binary, 269
SUMOSAXAttributesImpl_Xerces, 278
IDSupplier, 65
IDSupplier, 65
IDSupplier, 65
IOError, 67
IPV4_Connection, 67
IPV6_Connection, 68
inform
MsgRetrievingFunction, 84
OutputDevice, 158
OutputDevice_CERR, 165
OutputDevice_COUT, 172
OutputDevice_File, 180
OutputDevice_Network, 187
OutputDevice_String, 193
init
XMLSubSys, 372
473
init_timer
Component, 34
control_stream_ddos, 37
controller, 40
e3_sensor, 44
e3_sensor_stream_ddos, 46
sumo_intf, 243
tl_actuator, 294
tl_sensor, 297
tl_sensor_stream_ddos, 301
init_timer_operation
Component, 33
control_stream_ddos, 37
controller, 39
e3_sensor, 43
e3_sensor_stream_ddos, 46
sumo_intf, 242
tl_actuator, 294
tl_sensor, 296
tl_sensor_stream_ddos, 300
Insert
NamedRTree, 94
insert_attribute
rapidxml::xml_document, 355
rapidxml::xml_node, 365
insert_node
rapidxml::xml_document, 355
rapidxml::xml_node, 366
interpolate
RGBColor, 217
invalid_return< X >, 66
InvalidArgument, 66
isAbsolute
FileHelpers, 54
isBinary
MsgRetrievingFunction, 85
OutputDevice, 158
OutputDevice_CERR, 166
OutputDevice_COUT, 173
OutputDevice_File, 180
OutputDevice_Network, 187
OutputDevice_String, 194
isBool
Option, 102
Option_Bool, 108
Option_FileName, 113
Option_Float, 119
Option_Integer, 124
Option_IntVector, 130
Option_String, 135
OptionsCont, 146
isDefault
Option, 102
Option_Bool, 108
Option_FileName, 114
Option_Float, 119
Option_Integer, 125
Option_IntVector, 130
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
474
Option_String, 135
OptionsCont, 146
isFileName
Option, 102
Option_Bool, 108
Option_FileName, 114
Option_Float, 119
Option_Integer, 125
Option_IntVector, 130
Option_String, 136
isForbidden
SUMOVehicleClass.cpp, 457
SUMOVehicleClass.h, 414
isInStringVector
OptionsCont, 146
isRailway
SUMOVehicleClass.cpp, 457
SUMOVehicleClass.h, 414
isReadable
FileHelpers, 55
isSet
Option, 103
Option_Bool, 108
Option_FileName, 114
Option_Float, 119
Option_Integer, 125
Option_IntVector, 130
Option_String, 136
OptionsCont, 147
isSocket
FileHelpers, 55
isUsableFileList
OptionsCont, 147
isWaterway
SUMOVehicleClass.cpp, 457
SUMOVehicleClass.h, 414
isWriteable
Option, 103
Option_Bool, 108
Option_FileName, 114
Option_Float, 119
Option_Integer, 125
Option_IntVector, 130
Option_String, 136
OptionsCont, 148
knowsParameter
Parameterised, 201
LINKDIR_LEFT
SUMOXMLDefinitions.h, 444
LINKDIR_NODIR
SUMOXMLDefinitions.h, 444
LINKDIR_PARTLEFT
SUMOXMLDefinitions.h, 444
LINKDIR_PARTRIGHT
SUMOXMLDefinitions.h, 444
LINKDIR_RIGHT
SUMOXMLDefinitions.h, 444
INDEX
LINKDIR_STRAIGHT
SUMOXMLDefinitions.h, 444
LINKDIR_TURN
SUMOXMLDefinitions.h, 444
LINKSTATE_ALLWAY_STOP
SUMOXMLDefinitions.h, 445
LINKSTATE_DEADEND
SUMOXMLDefinitions.h, 445
LINKSTATE_EQUAL
SUMOXMLDefinitions.h, 445
LINKSTATE_MAJOR
SUMOXMLDefinitions.h, 445
LINKSTATE_MINOR
SUMOXMLDefinitions.h, 445
LINKSTATE_STOP
SUMOXMLDefinitions.h, 445
LINKSTATE_TL_GREEN_MAJOR
SUMOXMLDefinitions.h, 445
LINKSTATE_TL_GREEN_MINOR
SUMOXMLDefinitions.h, 445
LINKSTATE_TL_OFF_BLINKING
SUMOXMLDefinitions.h, 445
LINKSTATE_TL_OFF_NOSIGNAL
SUMOXMLDefinitions.h, 445
LINKSTATE_TL_RED
SUMOXMLDefinitions.h, 445
LINKSTATE_TL_REDYELLOW
SUMOXMLDefinitions.h, 445
LINKSTATE_TL_YELLOW_MAJOR
SUMOXMLDefinitions.h, 445
LINKSTATE_TL_YELLOW_MINOR
SUMOXMLDefinitions.h, 445
last_attribute
rapidxml::xml_document, 355
rapidxml::xml_node, 366
last_node
rapidxml::xml_document, 356
rapidxml::xml_node, 366
LinkDirection
SUMOXMLDefinitions.h, 444
LinkState
SUMOXMLDefinitions.h, 444
loadConfiguration
OptionsIO, 152
log
Logger, 73
Logger, 71
create_file, 72
log, 73
set_is_periodic, 73
set_logs_to_file, 73
set_max_log_unit, 73
logger
Component, 34
control_stream_ddos, 37
controller, 41
e3_sensor, 44
e3_sensor_stream_ddos, 46
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
sumo_intf, 243
tl_actuator, 295
tl_sensor, 297
tl_sensor_stream_ddos, 301
MT_ERROR
MsgHandler, 80
MT_MESSAGE
MsgHandler, 80
MT_WARNING
MsgHandler, 80
MTRand, 88
markSet
Option, 103
Option_Bool, 108
Option_FileName, 114
Option_Float, 120
Option_Integer, 125
Option_IntVector, 131
Option_String, 136
MsgHandler
MT_ERROR, 80
MT_MESSAGE, 80
MT_WARNING, 80
MsgHandler, 79
beginProcessMsg, 80
MsgType, 80
operator<<, 80
MsgRetrievingFunction
closeTag, 83
createDeviceByOption, 83
getDevice, 83
getDeviceByOption, 84
getOStream, 84
inform, 84
isBinary, 85
MsgRetrievingFunction, 82
MsgRetrievingFunction, 82
ok, 85
openTag, 85
operator<<, 85
realString, 85
setPrecision, 87
writeAttr, 87
writeNonEmptyAttr, 87
writePreformattedTag, 88
writeXMLHeader, 88
MsgRetrievingFunction< T >, 81
MsgType
MsgHandler, 80
myCharacters
GenericSAXHandler, 62
SAXWeightsHandler, 223
SUMORouteHandler, 248
SUMOSAXHandler, 282
myEndElement
GenericSAXHandler, 62
SAXWeightsHandler, 223
SUMORouteHandler, 248
475
SUMOSAXHandler, 282
myStartElement
GenericSAXHandler, 63
SAXWeightsHandler, 223
SUMORouteHandler, 248
SUMOSAXHandler, 282
name
rapidxml::xml_attribute, 344
rapidxml::xml_base, 348
rapidxml::xml_document, 356, 357
rapidxml::xml_node, 366, 367
name_size
rapidxml::xml_attribute, 344
rapidxml::xml_base, 348
rapidxml::xml_document, 357
rapidxml::xml_node, 367
Named, 90
addTo, 90
getID, 91
Named, 90
setID, 91
Named::ComparatorIdLess, 31
Named::NamedLikeComparatorIdLess< NamedLike >,
91
Named::StoringVisitor, 231
NamedObjectCont
add, 92
erase, 92
get, 93
remove, 93
size, 93
NamedObjectCont< T >, 91
NamedRTree, 93
Insert, 94
Remove, 94
RemoveAll, 95
Search, 95
Network::Buffer_Empty, 30
Network::Exceeded_Production_Profile, 51
Network::Exceeded_Production_profile, 51
Network::Message, 77
Network::NetworkProfile, 96
Delay, 97
getCurrentInterval, 97
getDataAtTime, 97
getNextInterval, 97
resources, 97
Network::ResourceEntry, 213
Network::message_buffer< T >, 78
Network::profileMemBuf, 208
Network::receiver, 212
Network::sender, 225
NetworkBuffer, 95
next
StringTokenizer, 234
next_attribute
rapidxml::xml_attribute, 345
next_sibling
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
476
rapidxml::xml_document, 357
rapidxml::xml_node, 367
node_argc
Component, 34
control_stream_ddos, 37
controller, 41
e3_sensor, 44
e3_sensor_stream_ddos, 46
sumo_intf, 243
tl_actuator, 295
tl_sensor, 297
tl_sensor_stream_ddos, 301
node_argv
Component, 34
control_stream_ddos, 38
controller, 41
e3_sensor, 44
e3_sensor_stream_ddos, 47
sumo_intf, 243
tl_actuator, 295
tl_sensor, 297
tl_sensor_stream_ddos, 301
NumberFormatException, 98
ok
MsgRetrievingFunction, 85
OutputDevice, 159
OutputDevice_CERR, 166
OutputDevice_COUT, 173
OutputDevice_File, 180
OutputDevice_Network, 187
OutputDevice_String, 194
openSocket
TraCIServer, 313
openTag
BinaryFormatter, 21
MsgRetrievingFunction, 85
OutputDevice, 159
OutputDevice_CERR, 166
OutputDevice_COUT, 173
OutputDevice_File, 180, 181
OutputDevice_Network, 187
OutputDevice_String, 194
OutputFormatter, 198
PlainXMLFormatter, 204
operator<<
MsgHandler, 80
MsgRetrievingFunction, 85
OptionsCont, 151
OutputDevice, 159
OutputDevice_CERR, 166
OutputDevice_COUT, 173
OutputDevice_File, 181
OutputDevice_Network, 188
OutputDevice_String, 194
RGBColor, 218
RGBColor.cpp, 451
operator>>
BinaryInputDevice, 2629
INDEX
Option, 98
getBool, 100
getDescription, 100
getFloat, 101
getInt, 101
getIntVector, 101
getString, 101
getTypeName, 102
getValueString, 102
isBool, 102
isDefault, 102
isFileName, 102
isSet, 103
isWriteable, 103
markSet, 103
Option, 100
resetWritable, 103
set, 103
setDescription, 104
Option_Bool, 104
getBool, 106
getDescription, 106
getFloat, 106
getInt, 106
getIntVector, 107
getString, 107
getTypeName, 107
getValueString, 107
isBool, 108
isDefault, 108
isFileName, 108
isSet, 108
isWriteable, 108
markSet, 108
Option_Bool, 105
Option_Bool, 105
resetWritable, 109
setDescription, 109
Option_FileName, 109
getBool, 112
getDescription, 112
getFloat, 112
getInt, 112
getIntVector, 113
getString, 113
getTypeName, 113
getValueString, 113
isBool, 113
isDefault, 114
isFileName, 114
isSet, 114
isWriteable, 114
markSet, 114
Option_FileName, 111
Option_FileName, 111
resetWritable, 114
set, 115
setDescription, 115
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
Option_Float, 115
getBool, 117
getDescription, 117
getFloat, 117
getInt, 117
getIntVector, 118
getString, 118
getTypeName, 118
getValueString, 118
isBool, 119
isDefault, 119
isFileName, 119
isSet, 119
isWriteable, 119
markSet, 120
Option_Float, 117
Option_Float, 117
resetWritable, 120
set, 120
setDescription, 120
Option_IntVector, 126
getBool, 128
getDescription, 128
getFloat, 128
getInt, 129
getIntVector, 129
getString, 129
getTypeName, 129
getValueString, 130
isBool, 130
isDefault, 130
isFileName, 130
isSet, 130
isWriteable, 130
markSet, 131
Option_IntVector, 128
Option_IntVector, 128
resetWritable, 131
set, 131
setDescription, 131
Option_Integer, 121
getBool, 123
getDescription, 123
getFloat, 123
getInt, 123
getIntVector, 123
getString, 124
getTypeName, 124
getValueString, 124
isBool, 124
isDefault, 125
isFileName, 125
isSet, 125
isWriteable, 125
markSet, 125
Option_Integer, 122
Option_Integer, 122
resetWritable, 125
477
set, 126
setDescription, 126
Option_String, 132
getBool, 133
getDescription, 134
getFloat, 134
getInt, 134
getIntVector, 134
getString, 135
getTypeName, 135
getValueString, 135
isBool, 135
isDefault, 135
isFileName, 136
isSet, 136
isWriteable, 136
markSet, 136
Option_String, 133
Option_String, 133
resetWritable, 136
set, 136
setDescription, 137
Options, 137
OptionsCont, 138
addCallExample, 141
addCopyrightNotice, 141
addDescription, 141
addOptionSubTopic, 142
addSynonyme, 142
checkDependingSuboptions, 142
doRegister, 143
exists, 143
getBool, 143
getFloat, 144
getInt, 144
getIntVector, 144
getString, 145
getStringVector, 145
getSynonymes, 145
isBool, 146
isDefault, 146
isInStringVector, 146
isSet, 147
isUsableFileList, 147
isWriteable, 148
operator<<, 151
printHelp, 148
processMetaOptions, 148
relocateFiles, 149
resetWritable, 149
set, 149
setAdditionalHelpMessage, 149
setApplicationDescription, 150
setApplicationName, 150
unSet, 150
writeConfiguration, 150
writeSchema, 150
writeXMLHeader, 151
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
478
OptionsIO, 151
getOptions, 152
loadConfiguration, 152
OptionsLoader, 152
characters, 153
endElement, 153
error, 153
fatalError, 153
startElement, 153
warning, 153
OptionsParser, 154
parse, 154
OutOfBoundsException, 155
OutputDevice, 155
closeTag, 157
createDeviceByOption, 157
getDevice, 158
getDeviceByOption, 158
inform, 158
isBinary, 158
ok, 159
openTag, 159
operator<<, 159
postWriteHook, 159
realString, 159
setPrecision, 161
writeAttr, 161
writeNonEmptyAttr, 161
writePreformattedTag, 161
writeXMLHeader, 162
OutputDevice_CERR, 162
closeTag, 164
createDeviceByOption, 164
getDevice, 164
getDeviceByOption, 165
getOStream, 165
inform, 165
isBinary, 166
ok, 166
openTag, 166
operator<<, 166
postWriteHook, 166
realString, 167
setPrecision, 167
writeAttr, 167
writeNonEmptyAttr, 167
writePreformattedTag, 169
writeXMLHeader, 169
OutputDevice_COUT, 169
closeTag, 171
createDeviceByOption, 171
getDevice, 171
getDeviceByOption, 172
getOStream, 172
inform, 172
isBinary, 173
ok, 173
openTag, 173
INDEX
operator<<, 173
postWriteHook, 173
realString, 174
setPrecision, 174
writeAttr, 174
writeNonEmptyAttr, 174
writePreformattedTag, 176
writeXMLHeader, 176
OutputDevice_File, 176
closeTag, 178
createDeviceByOption, 178
getDevice, 179
getDeviceByOption, 179
getOStream, 180
inform, 180
isBinary, 180
ok, 180
openTag, 180, 181
operator<<, 181
OutputDevice_File, 178
OutputDevice_File, 178
postWriteHook, 181
realString, 181
setPrecision, 181
writeAttr, 182
writeNonEmptyAttr, 182
writePreformattedTag, 182
writeXMLHeader, 183
OutputDevice_Network, 183
closeTag, 185
createDeviceByOption, 185
getDevice, 186
getDeviceByOption, 186
getOStream, 186
inform, 187
isBinary, 187
ok, 187
openTag, 187
operator<<, 188
OutputDevice_Network, 185
OutputDevice_Network, 185
postWriteHook, 188
realString, 188
setPrecision, 188
writeAttr, 188, 189
writeNonEmptyAttr, 189
writePreformattedTag, 189
writeXMLHeader, 189
OutputDevice_String, 190
closeTag, 192
createDeviceByOption, 192
getDevice, 192
getDeviceByOption, 193
getOStream, 193
getString, 193
inform, 193
isBinary, 194
ok, 194
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
openTag, 194
operator<<, 194
postWriteHook, 194
realString, 195
setPrecision, 195
writeAttr, 195
writeNonEmptyAttr, 195
writePreformattedTag, 197
writeXMLHeader, 197
OutputFormatter, 197
closeTag, 198
openTag, 198
writeXMLHeader, 199
Parameterised, 199
addParameter, 200
getMap, 200
getParameter, 201
knowsParameter, 201
Parameterised, 200
parent
rapidxml::xml_attribute, 345
rapidxml::xml_base, 349
rapidxml::xml_document, 357
rapidxml::xml_node, 368
parse
OptionsParser, 154
rapidxml::xml_document, 357
parseColor
RGBColor, 217
parseColorReporting
RGBColor, 218
parseEmissionClass
SUMOVehicleParserHelper, 286
parseFlowAttributes
SUMOVehicleParserHelper, 286
parseGuiShape
SUMOVehicleParserHelper, 287
parseStringSet
SUMOSAXAttributes, 260
SUMOSAXAttributesImpl_Binary, 269
SUMOSAXAttributesImpl_Xerces, 278
parseStringVector
SUMOSAXAttributes, 260
SUMOSAXAttributesImpl_Binary, 270
SUMOSAXAttributesImpl_Xerces, 279
parseVTypeEmbedded
SUMOVehicleParserHelper, 288
parseVehicleAttributes
SUMOVehicleParserHelper, 287
parseVehicleClass
SUMOVehicleParserHelper, 288
parseVehicleClasses
SUMOVehicleClass.cpp, 457, 458
SUMOVehicleClass.h, 414, 415
peek
BinaryInputDevice, 25
PlainXMLFormatter, 202
closeTag, 203
479
openTag, 204
writeAttr, 204
writeHeader, 205
writePreformattedTag, 205
writeXMLHeader, 205
Point2D< coord_type >, 205
postWriteHook
OutputDevice, 159
OutputDevice_CERR, 166
OutputDevice_COUT, 173
OutputDevice_File, 181
OutputDevice_Network, 188
OutputDevice_String, 194
prepend_attribute
rapidxml::xml_document, 358
rapidxml::xml_node, 368
prepend_node
rapidxml::xml_document, 358
rapidxml::xml_node, 368
previous_attribute
rapidxml::xml_attribute, 345
previous_sibling
rapidxml::xml_document, 358
rapidxml::xml_node, 368
printHelp
OptionsCont, 148
ProcessError, 208
processGet
TraCIServerAPI_ArealDetector, 317
TraCIServerAPI_Edge, 318
TraCIServerAPI_InductionLoop, 319
TraCIServerAPI_Junction, 321
TraCIServerAPI_Lane, 323
TraCIServerAPI_MeMeDetector, 324
TraCIServerAPI_Person, 325
TraCIServerAPI_POI, 326
TraCIServerAPI_Polygon, 329
TraCIServerAPI_Route, 330
TraCIServerAPI_Simulation, 331
TraCIServerAPI_TLS, 332
TraCIServerAPI_Vehicle, 333
TraCIServerAPI_VehicleType, 334
processMetaOptions
OptionsCont, 148
processSet
TraCIServerAPI_Edge, 318
TraCIServerAPI_Lane, 324
TraCIServerAPI_Person, 325
TraCIServerAPI_POI, 328
TraCIServerAPI_Polygon, 329
TraCIServerAPI_Route, 330
TraCIServerAPI_Simulation, 331
TraCIServerAPI_TLS, 332
TraCIServerAPI_Vehicle, 333
TraCIServerAPI_VehicleType, 334
putback
BinaryInputDevice, 25
RGBColor, 213
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
480
alpha, 215
blue, 215
changedBrightness, 215
fromHSV, 215
green, 217
interpolate, 217
operator<<, 218
parseColor, 217
parseColorReporting, 218
RGBColor, 215
red, 218
RGBColor, 215
set, 218
RGBColor.cpp
operator<<, 451
RandHelper, 209
RandomDistributor
add, 211
get, 211
getOverallProb, 211
getProbs, 211
getVals, 212
RandomDistributor, 210
RandomDistributor, 210
RandomDistributor< T >, 210
rapidxml::file
data, 52
file, 52
size, 52
rapidxml::file< Ch >, 51
rapidxml::memory_pool
memory_pool, 75
allocate_attribute, 75
allocate_node, 76
allocate_string, 76
clear, 76
clone_node, 77
set_allocator, 77
rapidxml::memory_pool< Ch >, 74
rapidxml::parse_error, 201
what, 202
where, 202
rapidxml::xml_attribute
document, 344
name, 344
name_size, 344
next_attribute, 345
parent, 345
previous_attribute, 345
value, 345, 346
value_size, 346
xml_attribute, 343
rapidxml::xml_attribute< Ch >, 342
rapidxml::xml_base
name, 348
name_size, 348
parent, 349
value, 349
INDEX
value_size, 350
rapidxml::xml_base< Ch >, 347
rapidxml::xml_document
allocate_attribute, 352
allocate_node, 353
allocate_string, 353
append_attribute, 353
append_node, 354
clear, 354
clone_node, 354
document, 354
first_attribute, 354
first_node, 355
insert_attribute, 355
insert_node, 355
last_attribute, 355
last_node, 356
name, 356, 357
name_size, 357
next_sibling, 357
parent, 357
parse, 357
prepend_attribute, 358
prepend_node, 358
previous_sibling, 358
remove_attribute, 358
remove_first_attribute, 360
remove_first_node, 360
remove_last_attribute, 360
remove_last_node, 360
set_allocator, 360
type, 360, 361
value, 361
value_size, 362
rapidxml::xml_document< Ch >, 350
rapidxml::xml_node
append_attribute, 364
append_node, 364
document, 365
first_attribute, 365
first_node, 365
insert_attribute, 365
insert_node, 366
last_attribute, 366
last_node, 366
name, 366, 367
name_size, 367
next_sibling, 367
parent, 368
prepend_attribute, 368
prepend_node, 368
previous_sibling, 368
remove_attribute, 369
remove_first_attribute, 369
remove_first_node, 369
remove_last_attribute, 369
remove_last_node, 369
type, 369
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
481
rapidxml::xml_node, 369
RemoveAll
NamedRTree, 95
resetWritable
Option, 103
Option_Bool, 109
Option_FileName, 114
Option_Float, 120
Option_Integer, 125
Option_IntVector, 131
Option_String, 136
OptionsCont, 149
resources
Network::NetworkProfile, 97
runParser
XMLSubSys, 372
ryg_control_sub_operation
tl_actuator, 294
ryg_state_sub_operation
controller, 40
SUMO_ATTR_BEGIN
SUMOXMLDefinitions.h, 445
SUMO_ATTR_COLOR
SUMOXMLDefinitions.h, 446
SUMO_ATTR_CONT
SUMOXMLDefinitions.h, 446
SUMO_ATTR_CUSTOMSHAPE
SUMOXMLDefinitions.h, 445
SUMO_ATTR_DIR
SUMOXMLDefinitions.h, 446
SUMO_ATTR_EDGES
SUMOXMLDefinitions.h, 445
SUMO_ATTR_END
SUMOXMLDefinitions.h, 445
SUMO_ATTR_FILL
SUMOXMLDefinitions.h, 446
SUMO_ATTR_FOES
SUMOXMLDefinitions.h, 446
SUMO_ATTR_LAYER
SUMOXMLDefinitions.h, 446
SUMO_ATTR_MAXDURATION
SUMOXMLDefinitions.h, 446
SUMO_ATTR_MINDURATION
SUMOXMLDefinitions.h, 446
SUMO_ATTR_NODES
SUMOXMLDefinitions.h, 446
SUMO_ATTR_NOTHING
SUMOXMLDefinitions.h, 445
SUMO_ATTR_RADIUS
SUMOXMLDefinitions.h, 445
SUMO_ATTR_SHAPE
SUMOXMLDefinitions.h, 445
SUMO_ATTR_SPREADTYPE
SUMOXMLDefinitions.h, 445
SUMO_ATTR_STATE
SUMOXMLDefinitions.h, 446
SUMO_ATTR_TIME
SUMOXMLDefinitions.h, 445
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
482
SUMO_ATTR_TLID
SUMOXMLDefinitions.h, 445
SUMO_ATTR_TLLINKINDEX
SUMOXMLDefinitions.h, 445
SUMO_ATTR_TLTYPE
SUMOXMLDefinitions.h, 445
SUMO_ATTR_WEIGHT
SUMOXMLDefinitions.h, 445
SUMO_TAG_BUS_STOP
SUMOXMLDefinitions.h, 446
SUMO_TAG_CALIBRATOR
SUMOXMLDefinitions.h, 446
SUMO_TAG_CONTAINER_STOP
SUMOXMLDefinitions.h, 446
SUMO_TAG_DET_ENTRY
SUMOXMLDefinitions.h, 446
SUMO_TAG_DET_EXIT
SUMOXMLDefinitions.h, 446
SUMO_TAG_E1DETECTOR
SUMOXMLDefinitions.h, 446
SUMO_TAG_E2DETECTOR
SUMOXMLDefinitions.h, 446
SUMO_TAG_E3DETECTOR
SUMOXMLDefinitions.h, 446
SUMO_TAG_EDGE
SUMOXMLDefinitions.h, 446
SUMO_TAG_EDGEFOLLOWDETECTOR
SUMOXMLDefinitions.h, 446
SUMO_TAG_FLOW
SUMOXMLDefinitions.h, 447
SUMO_TAG_FROMEDGE
SUMOXMLDefinitions.h, 447
SUMO_TAG_INSTANT_INDUCTION_LOOP
SUMOXMLDefinitions.h, 446
SUMO_TAG_INTERVAL
SUMOXMLDefinitions.h, 447
SUMO_TAG_JUNCTION
SUMOXMLDefinitions.h, 446
SUMO_TAG_LANE
SUMOXMLDefinitions.h, 446
SUMO_TAG_MEANDATA_EDGE
SUMOXMLDefinitions.h, 446
SUMO_TAG_MEANDATA_LANE
SUMOXMLDefinitions.h, 446
SUMO_TAG_NET
SUMOXMLDefinitions.h, 446
SUMO_TAG_NOTHING
SUMOXMLDefinitions.h, 446
SUMO_TAG_PHASE
SUMOXMLDefinitions.h, 447
SUMO_TAG_POI
SUMOXMLDefinitions.h, 446
SUMO_TAG_POLY
SUMOXMLDefinitions.h, 446
SUMO_TAG_REQUEST
SUMOXMLDefinitions.h, 447
SUMO_TAG_REROUTER
SUMOXMLDefinitions.h, 446
INDEX
SUMO_TAG_ROUTE
SUMOXMLDefinitions.h, 447
SUMO_TAG_ROUTEPROBE
SUMOXMLDefinitions.h, 446
SUMO_TAG_ROUTES
SUMOXMLDefinitions.h, 446
SUMO_TAG_SINK
SUMOXMLDefinitions.h, 447
SUMO_TAG_SOURCE
SUMOXMLDefinitions.h, 447
SUMO_TAG_STEP
SUMOXMLDefinitions.h, 447
SUMO_TAG_TAZ
SUMOXMLDefinitions.h, 447
SUMO_TAG_TAZSINK
SUMOXMLDefinitions.h, 447
SUMO_TAG_TAZSOURCE
SUMOXMLDefinitions.h, 447
SUMO_TAG_TIMEDEVENT
SUMOXMLDefinitions.h, 447
SUMO_TAG_TLLOGIC
SUMOXMLDefinitions.h, 447
SUMO_TAG_TOEDGE
SUMOXMLDefinitions.h, 447
SUMO_TAG_TRIP
SUMOXMLDefinitions.h, 447
SUMO_TAG_VEHICLE
SUMOXMLDefinitions.h, 447
SUMO_TAG_VSS
SUMOXMLDefinitions.h, 446
SUMO_TAG_VTYPE
SUMOXMLDefinitions.h, 447
SUMO_TAG_VTYPEPROBE
SUMOXMLDefinitions.h, 446
SUMOVehicleClass.h
SVC_ARMY, 411
SVC_AUTHORITY, 411
SVC_BICYCLE, 412
SVC_BUS, 411
SVC_COACH, 411
SVC_CUSTOM1, 412
SVC_CUSTOM2, 412
SVC_DELIVERY, 411
SVC_E_VEHICLE, 412
SVC_EMERGENCY, 411
SVC_HOV, 411
SVC_IGNORING, 411
SVC_MOPED, 412
SVC_MOTORCYCLE, 412
SVC_PASSENGER, 411
SVC_PEDESTRIAN, 412
SVC_PRIVATE, 411
SVC_RAIL, 412
SVC_RAIL_ELECTRIC, 412
SVC_RAIL_URBAN, 412
SVC_SHIP, 412
SVC_TAXI, 411
SVC_TRAILER, 412
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
SVC_TRAM, 412
SVC_TRUCK, 411
SVC_VIP, 411
SVS_ANT, 412
SVS_BICYCLE, 412
SVS_BUS, 412
SVS_BUS_COACH, 412
SVS_BUS_FLEXIBLE, 412
SVS_BUS_TROLLEY, 412
SVS_DELIVERY, 412
SVS_E_VEHICLE, 412
SVS_MOPED, 412
SVS_MOTORCYCLE, 412
SVS_PASSENGER, 412
SVS_PASSENGER_HATCHBACK, 412
SVS_PASSENGER_SEDAN, 412
SVS_PASSENGER_VAN, 412
SVS_PASSENGER_WAGON, 412
SVS_PEDESTRIAN, 412
SVS_RAIL, 412
SVS_RAIL_CAR, 412
SVS_RAIL_CARGO, 412
SVS_SHIP, 412
SVS_TRUCK, 412
SVS_TRUCK_1TRAILER, 412
SVS_TRUCK_SEMITRAILER, 412
SVS_UNKNOWN, 412
SUMOXMLDefinitions.h
AGEN_ATTR_INHABITANTS, 446
AGEN_TAG_GENERAL, 447
LINKDIR_LEFT, 444
LINKDIR_NODIR, 444
LINKDIR_PARTLEFT, 444
LINKDIR_PARTRIGHT, 444
LINKDIR_RIGHT, 444
LINKDIR_STRAIGHT, 444
LINKDIR_TURN, 444
LINKSTATE_ALLWAY_STOP, 445
LINKSTATE_DEADEND, 445
LINKSTATE_EQUAL, 445
LINKSTATE_MAJOR, 445
LINKSTATE_MINOR, 445
LINKSTATE_STOP, 445
LINKSTATE_TL_GREEN_MAJOR, 445
LINKSTATE_TL_GREEN_MINOR, 445
LINKSTATE_TL_OFF_BLINKING, 445
LINKSTATE_TL_OFF_NOSIGNAL, 445
LINKSTATE_TL_RED, 445
LINKSTATE_TL_REDYELLOW, 445
LINKSTATE_TL_YELLOW_MAJOR, 445
LINKSTATE_TL_YELLOW_MINOR, 445
SUMO_ATTR_BEGIN, 445
SUMO_ATTR_COLOR, 446
SUMO_ATTR_CONT, 446
SUMO_ATTR_CUSTOMSHAPE, 445
SUMO_ATTR_DIR, 446
SUMO_ATTR_EDGES, 445
SUMO_ATTR_END, 445
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
483
SUMO_ATTR_FILL, 446
SUMO_ATTR_FOES, 446
SUMO_ATTR_LAYER, 446
SUMO_ATTR_MAXDURATION, 446
SUMO_ATTR_MINDURATION, 446
SUMO_ATTR_NODES, 446
SUMO_ATTR_NOTHING, 445
SUMO_ATTR_RADIUS, 445
SUMO_ATTR_SHAPE, 445
SUMO_ATTR_SPREADTYPE, 445
SUMO_ATTR_STATE, 446
SUMO_ATTR_TIME, 445
SUMO_ATTR_TLID, 445
SUMO_ATTR_TLLINKINDEX, 445
SUMO_ATTR_TLTYPE, 445
SUMO_ATTR_WEIGHT, 445
SUMO_TAG_BUS_STOP, 446
SUMO_TAG_CALIBRATOR, 446
SUMO_TAG_CONTAINER_STOP, 446
SUMO_TAG_DET_ENTRY, 446
SUMO_TAG_DET_EXIT, 446
SUMO_TAG_E1DETECTOR, 446
SUMO_TAG_E2DETECTOR, 446
SUMO_TAG_E3DETECTOR, 446
SUMO_TAG_EDGE, 446
SUMO_TAG_EDGEFOLLOWDETECTOR, 446
SUMO_TAG_FLOW, 447
SUMO_TAG_FROMEDGE, 447
SUMO_TAG_INSTANT_INDUCTION_LOOP, 446
SUMO_TAG_INTERVAL, 447
SUMO_TAG_JUNCTION, 446
SUMO_TAG_LANE, 446
SUMO_TAG_MEANDATA_EDGE, 446
SUMO_TAG_MEANDATA_LANE, 446
SUMO_TAG_NET, 446
SUMO_TAG_NOTHING, 446
SUMO_TAG_PHASE, 447
SUMO_TAG_POI, 446
SUMO_TAG_POLY, 446
SUMO_TAG_REQUEST, 447
SUMO_TAG_REROUTER, 446
SUMO_TAG_ROUTE, 447
SUMO_TAG_ROUTEPROBE, 446
SUMO_TAG_ROUTES, 446
SUMO_TAG_SINK, 447
SUMO_TAG_SOURCE, 447
SUMO_TAG_STEP, 447
SUMO_TAG_TAZ, 447
SUMO_TAG_TAZSINK, 447
SUMO_TAG_TAZSOURCE, 447
SUMO_TAG_TIMEDEVENT, 447
SUMO_TAG_TLLOGIC, 447
SUMO_TAG_TOEDGE, 447
SUMO_TAG_TRIP, 447
SUMO_TAG_VEHICLE, 447
SUMO_TAG_VSS, 446
SUMO_TAG_VTYPE, 447
SUMO_TAG_VTYPEPROBE, 446
484
SVC_ARMY
SUMOVehicleClass.h, 411
SVC_AUTHORITY
SUMOVehicleClass.h, 411
SVC_BICYCLE
SUMOVehicleClass.h, 412
SVC_BUS
SUMOVehicleClass.h, 411
SVC_COACH
SUMOVehicleClass.h, 411
SVC_CUSTOM1
SUMOVehicleClass.h, 412
SVC_CUSTOM2
SUMOVehicleClass.h, 412
SVC_DELIVERY
SUMOVehicleClass.h, 411
SVC_E_VEHICLE
SUMOVehicleClass.h, 412
SVC_EMERGENCY
SUMOVehicleClass.h, 411
SVC_HOV
SUMOVehicleClass.h, 411
SVC_IGNORING
SUMOVehicleClass.h, 411
SVC_MOPED
SUMOVehicleClass.h, 412
SVC_MOTORCYCLE
SUMOVehicleClass.h, 412
SVC_PASSENGER
SUMOVehicleClass.h, 411
SVC_PEDESTRIAN
SUMOVehicleClass.h, 412
SVC_PRIVATE
SUMOVehicleClass.h, 411
SVC_RAIL
SUMOVehicleClass.h, 412
SVC_RAIL_ELECTRIC
SUMOVehicleClass.h, 412
SVC_RAIL_URBAN
SUMOVehicleClass.h, 412
SVC_SHIP
SUMOVehicleClass.h, 412
SVC_TAXI
SUMOVehicleClass.h, 411
SVC_TRAILER
SUMOVehicleClass.h, 412
SVC_TRAM
SUMOVehicleClass.h, 412
SVC_TRUCK
SUMOVehicleClass.h, 411
SVC_VIP
SUMOVehicleClass.h, 411
SVS_ANT
SUMOVehicleClass.h, 412
SVS_BICYCLE
SUMOVehicleClass.h, 412
SVS_BUS
SUMOVehicleClass.h, 412
INDEX
SVS_BUS_COACH
SUMOVehicleClass.h, 412
SVS_BUS_FLEXIBLE
SUMOVehicleClass.h, 412
SVS_BUS_TROLLEY
SUMOVehicleClass.h, 412
SVS_DELIVERY
SUMOVehicleClass.h, 412
SVS_E_VEHICLE
SUMOVehicleClass.h, 412
SVS_MOPED
SUMOVehicleClass.h, 412
SVS_MOTORCYCLE
SUMOVehicleClass.h, 412
SVS_PASSENGER
SUMOVehicleClass.h, 412
SVS_PASSENGER_HATCHBACK
SUMOVehicleClass.h, 412
SVS_PASSENGER_SEDAN
SUMOVehicleClass.h, 412
SVS_PASSENGER_VAN
SUMOVehicleClass.h, 412
SVS_PASSENGER_WAGON
SUMOVehicleClass.h, 412
SVS_PEDESTRIAN
SUMOVehicleClass.h, 412
SVS_RAIL
SUMOVehicleClass.h, 412
SVS_RAIL_CAR
SUMOVehicleClass.h, 412
SVS_RAIL_CARGO
SUMOVehicleClass.h, 412
SVS_SHIP
SUMOVehicleClass.h, 412
SVS_TRUCK
SUMOVehicleClass.h, 412
SVS_TRUCK_1TRAILER
SUMOVehicleClass.h, 412
SVS_TRUCK_SEMITRAILER
SUMOVehicleClass.h, 412
SVS_UNKNOWN
SUMOVehicleClass.h, 412
SAXWeightsHandler, 220
buildErrorMessage, 221
characters, 222
endElement, 222
error, 222
fatalError, 222
getFileName, 223
myCharacters, 223
myEndElement, 223
myStartElement, 223
SAXWeightsHandler, 221
SAXWeightsHandler, 221
setFileName, 224
startElement, 224
warning, 224
SAXWeightsHandler::EdgeFloatTimeLineRetriever, 47
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
addEdgeWeight, 47
SAXWeightsHandler::ToRetrieveDefinition, 301
SUMO_CLIENT, 235
check_resultState, 238
connect, 239
send_commandGetVariable, 239
send_commandSetValue, 239
send_commandSubscribeObjectContext, 239
send_commandSubscribeObjectVariable, 240
SUMORouteHandler, 244
buildErrorMessage, 246
characters, 247
closeRoute, 247
endElement, 247
error, 247
fatalError, 248
getFileName, 248
myCharacters, 248
myEndElement, 248
myStartElement, 248
setFileName, 250
startElement, 250
warning, 250
SUMORouteLoader, 250
SUMORouteLoaderControl, 251
SUMOSAXAttributes, 252
get, 253
getBool, 254
getBoundary, 254
getColor, 254
getEdgeFunc, 254
getFloat, 255
getInt, 256
getLong, 256
getName, 256
getNodeType, 257
getOpt, 257
getOptSUMOTimeReporting, 257
getSUMOTimeReporting, 259
getShape, 258
getString, 258
getStringSecure, 258, 259
getStringVector, 259
hasAttribute, 260
parseStringSet, 260
parseStringVector, 260
serialize, 261
SUMOSAXAttributesImpl_Binary, 261
get, 263
getBool, 263
getBoundary, 264
getColor, 264
getEdgeFunc, 264
getFloat, 264, 265
getInt, 265
getLong, 266
getName, 266
getNodeType, 266
485
getOpt, 266
getOptSUMOTimeReporting, 267
getSUMOTimeReporting, 269
getShape, 267
getString, 267
getStringSecure, 268
getStringVector, 268
hasAttribute, 269
parseStringSet, 269
parseStringVector, 270
serialize, 270
SUMOSAXAttributesImpl_Binary, 263
SUMOSAXAttributesImpl_Xerces, 270
get, 272
getBool, 273
getBoundary, 273
getColor, 273
getEdgeFunc, 273
getFloat, 274
getInt, 274
getLong, 275
getName, 275
getNodeType, 275
getOpt, 276
getOptSUMOTimeReporting, 276
getSUMOTimeReporting, 278
getShape, 276
getString, 277
getStringSecure, 277
getStringVector, 278
hasAttribute, 278
parseStringSet, 278
parseStringVector, 279
serialize, 279
SUMOSAXAttributesImpl_Xerces, 272
SUMOSAXHandler, 279
buildErrorMessage, 281
characters, 281
endElement, 281
error, 281
fatalError, 282
getFileName, 282
myCharacters, 282
myEndElement, 282
myStartElement, 282
SUMOSAXHandler, 280
setFileName, 283
startElement, 283
SUMOSAXHandler, 280
warning, 283
SUMOSAXReader, 283
SUMOSAXReader, 284
setHandler, 284
SUMOSAXReader, 284
SUMOVehicleClass
SUMOVehicleClass.h, 411
SUMOVehicleClass.cpp
getVehicleClassCompoundID, 455
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
486
getVehicleClassID, 456
getVehicleClassNames, 456
getVehicleClassNamesList, 456
getVehicleShapeID, 456
getVehicleShapeName, 457
isForbidden, 457
isRailway, 457
isWaterway, 457
parseVehicleClasses, 457, 458
SUMOVehicleClass.h
getVehicleClassCompoundID, 412
getVehicleClassID, 413
getVehicleClassNames, 413
getVehicleClassNamesList, 413
getVehicleShapeID, 413
getVehicleShapeName, 414
isForbidden, 414
isRailway, 414
isWaterway, 414
parseVehicleClasses, 414, 415
SUMOVehicleClass, 411
SUMOVehicleShape, 412
SUMOVehicleParserHelper, 284
beginVTypeParsing, 285
closeVTypeParsing, 285
parseEmissionClass, 286
parseFlowAttributes, 286
parseGuiShape, 287
parseVTypeEmbedded, 288
parseVehicleAttributes, 287
parseVehicleClass, 288
SUMOVehicleShape
SUMOVehicleClass.h, 412
SUMOXMLDefinitions, 289
SUMOXMLDefinitions.h
LinkDirection, 444
LinkState, 444
SumoXMLAttr, 445
SumoXMLTag, 446
ScopedLocker
AbstractMutex::ScopedLocker, 225
Search
NamedRTree, 95
send_commandGetVariable
SUMO_CLIENT, 239
TraCIAPI, 307
send_commandSetValue
SUMO_CLIENT, 239
TraCIAPI, 307
send_commandSubscribeObjectContext
SUMO_CLIENT, 239
TraCIAPI, 307
send_commandSubscribeObjectVariable
SUMO_CLIENT, 240
TraCIAPI, 307
sensor_state_sub_operation
controller, 40
serialize
INDEX
SUMOSAXAttributes, 261
SUMOSAXAttributesImpl_Binary, 270
SUMOSAXAttributesImpl_Xerces, 279
set
Option, 103
Option_FileName, 115
Option_Float, 120
Option_Integer, 126
Option_IntVector, 131
Option_String, 136
OptionsCont, 149
RGBColor, 218
set_allocator
rapidxml::memory_pool, 77
rapidxml::xml_document, 360
set_is_periodic
Logger, 73
set_logs_to_file
Logger, 73
set_max_log_unit
Logger, 73
setAdditionalHelpMessage
OptionsCont, 149
setApplicationDescription
OptionsCont, 150
setApplicationName
OptionsCont, 150
setDescription
Option, 104
Option_Bool, 109
Option_FileName, 115
Option_Float, 120
Option_Integer, 126
Option_IntVector, 131
Option_String, 137
setFileName
GenericSAXHandler, 63
SAXWeightsHandler, 224
SUMORouteHandler, 250
SUMOSAXHandler, 283
setHandler
SUMOSAXReader, 284
XMLSubSys, 373
setID
Named, 91
setPrecision
MsgRetrievingFunction, 87
OutputDevice, 161
OutputDevice_CERR, 167
OutputDevice_COUT, 174
OutputDevice_File, 181
OutputDevice_Network, 188
OutputDevice_String, 195
setValidation
XMLSubSys, 373
size
NamedObjectCont, 93
rapidxml::file, 52
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
487
src/sumo/include/utils/common/StringBijection.h, 406
src/node/include/node/Component.hpp, 375
src/sumo/include/utils/common/StringTokenizer.h, 406
src/node/include/node/rapidxml.hpp, 375
src/sumo/include/utils/common/StringUtils.h, 407
src/node/include/node/rapidxml_utils.hpp, 377
src/sumo/include/utils/common/SysUtils.h, 416
src/node/src/node/Component.cpp, 378
src/sumo/include/utils/common/SystemFrame.h, 415
src/node/src/node/node_main.cpp, 378
src/sumo/include/utils/common/ToString.h, 416
src/pnp2/include/pnp2/NetworkProfile.hpp, 379
src/sumo/include/utils/common/TplConvert.h, 418
src/pnp2/include/pnp2/receiver.hpp, 379
src/sumo/include/utils/common/UtilExceptions.h, 418
src/pnp2/include/pnp2/sender.hpp, 380
src/sumo/include/utils/common/ValueRetriever.h, 419
src/sumo/include/traci-server/TraCIConstants.h, 380
src/sumo/include/utils/common/ValueSource.h, 420
src/sumo/include/traci-server/TraCIException.h, 386
src/sumo/include/utils/common/ValueTimeLine.h, 420
src/sumo/include/traci-server/TraCIServer.h, 387
src/sumo/include/utils/common/VectorHelper.h, 421
src/sumo/include/traci-server/TraCIServerAPI_Edge.h,
src/sumo/include/utils/common/WrappingCommand.h,
388
422
src/sumo/include/traci-server/TraCIServerAPI_Inductionsrc/sumo/include/utils/iodevices/BinaryFormatter.h, 422
Loop.h, 388
src/sumo/include/traci-server/TraCIServerAPI_Junction.- src/sumo/include/utils/iodevices/BinaryInputDevice.h,
423
h, 389
src/sumo/include/utils/iodevices/OutputDevice.h, 424
src/sumo/include/traci-server/TraCIServerAPI_Lane.h,
389
src/sumo/include/utils/iodevices/OutputDevice_CERR.h, 424
src/sumo/include/traci-server/TraCIServerAPI_MeMeDetector.h, 390
src/sumo/include/utils/iodevices/OutputDevice_COUT.h,
425
src/sumo/include/traci-server/TraCIServerAPI_POI.h,
src/sumo/include/utils/iodevices/OutputDevice_File.h,
391
425
src/sumo/include/traci-server/TraCIServerAPI_Person.src/sumo/include/utils/iodevices/OutputDevice_Network.h, 391
h, 426
src/sumo/include/traci-server/TraCIServerAPI_Polygon.src/sumo/include/utils/iodevices/OutputDevice_String.h,
h, 392
427
src/sumo/include/traci-server/TraCIServerAPI_Route.h,
src/sumo/include/utils/iodevices/OutputFormatter.h, 427
392
src/sumo/include/traci-server/TraCIServerAPI_Simulation.- src/sumo/include/utils/iodevices/PlainXMLFormatter.h,
428
h, 393
src/sumo/include/utils/options/Option.h,
428
src/sumo/include/traci-server/TraCIServerAPI_TLS.h,
394
src/sumo/include/utils/options/OptionsCont.h, 429
src/sumo/include/traci-server/TraCIServerAPI_Vehicle.src/sumo/include/utils/options/OptionsIO.h, 430
h, 394
src/sumo/include/utils/options/OptionsLoader.h, 430
src/sumo/include/traci-server/TraCIServerAPI_Vehiclesrc/sumo/include/utils/options/OptionsParser.h, 431
Type.h, 395
src/sumo/include/utils/traci/TraCIAPI.h, 431
src/sumo/include/utils/common/AbstractMutex.h, 395
src/sumo/include/utils/xml/GenericSAXHandler.h, 433
src/sumo/include/utils/common/Command.h, 396
src/sumo/include/utils/xml/SAXWeightsHandler.h, 434
src/sumo/include/utils/common/FileHelpers.h, 397
src/sumo/include/utils/xml/SUMORouteHandler.h, 435
src/sumo/include/utils/common/IDSupplier.h, 397
src/sumo/include/utils/xml/SUMORouteLoader.h, 435
src/sumo/include/utils/common/MsgHandler.h, 398
src/sumo/include/utils/xml/SUMORouteLoaderControl.src/sumo/include/utils/common/MsgRetrievingFunction.h, 436
h, 399
src/sumo/include/utils/xml/SUMOSAXAttributes.h, 436
src/sumo/include/utils/common/Named.h, 399
src/sumo/include/utils/xml/SUMOSAXAttributesImpl_src/sumo/include/utils/common/NamedObjectCont.h,
Binary.h, 437
400
src/sumo/include/utils/xml/SUMOSAXAttributesImpl_Xerces.h, 438
src/sumo/include/utils/common/NamedRTree.h, 401
src/sumo/include/utils/xml/SUMOSAXHandler.h, 438
src/sumo/include/utils/common/Parameterised.h, 401
src/sumo/include/utils/xml/SUMOSAXReader.h, 439
src/sumo/include/utils/common/RGBColor.h, 403
src/sumo/include/utils/xml/SUMOVehicleParserHelper.src/sumo/include/utils/common/RandHelper.h, 402
h, 440
src/sumo/include/utils/common/RandomDistributor.h,
src/sumo/include/utils/xml/SUMOXMLDefinitions.h, 440
403
src/sumo/include/utils/xml/XMLSubSys.h, 447
src/sumo/include/utils/common/SUMOTime.h, 407
src/sumo/src/utils/common/FileHelpers.cpp, 448
src/sumo/include/utils/common/SUMOVehicleClass.h,
409
src/sumo/src/utils/common/IDSupplier.cpp, 448
src/sumo/include/utils/common/StaticCommand.h, 404
src/sumo/src/utils/common/MsgHandler.cpp, 449
src/sumo/src/utils/common/Parameterised.cpp, 449
src/sumo/include/utils/common/StdDefs.h, 404
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
488
INDEX
src/sumo/src/utils/common/RGBColor.cpp, 450
src/sumo/src/utils/common/RandHelper.cpp, 450
src/sumo/src/utils/common/SUMOVehicleClass.cpp,
453
src/sumo/src/utils/common/StdDefs.cpp, 451
src/sumo/src/utils/common/StringTokenizer.cpp, 452
src/sumo/src/utils/common/StringUtils.cpp, 452
src/sumo/src/utils/common/SysUtils.cpp, 459
src/sumo/src/utils/common/SystemFrame.cpp, 458
src/tlc_package/include/tlc_package/control_stream_ddos.hpp, 459
src/tlc_package/include/tlc_package/controller.hpp, 460
src/tlc_package/include/tlc_package/e3_sensor.hpp,
460
src/tlc_package/include/tlc_package/e3_sensor_stream_ddos.hpp, 461
src/tlc_package/include/tlc_package/sumo_intf.hpp, 461
src/tlc_package/include/tlc_package/tl_actuator.hpp,
462
src/tlc_package/include/tlc_package/tl_sensor.hpp, 462
src/tlc_package/include/tlc_package/tl_sensor_stream_ddos.hpp, 463
src/tlc_package/src/tlc_package/control_stream_ddos.cpp, 463
src/tlc_package/src/tlc_package/controller.cpp, 463
src/tlc_package/src/tlc_package/e3_sensor.cpp, 464
src/tlc_package/src/tlc_package/e3_sensor_stream_ddos.cpp, 464
src/tlc_package/src/tlc_package/sumo_intf.cpp, 465
src/tlc_package/src/tlc_package/tl_actuator.cpp, 465
src/tlc_package/src/tlc_package/tl_sensor.cpp, 466
src/tlc_package/src/tlc_package/tl_sensor_stream_ddos.cpp, 466
startElement
GenericSAXHandler, 63
OptionsLoader, 153
SAXWeightsHandler, 224
SUMORouteHandler, 250
SUMOSAXHandler, 283
startUp
Component, 33
control_stream_ddos, 37
controller, 40
e3_sensor, 43
e3_sensor_stream_ddos, 46
sumo_intf, 242
tl_actuator, 294
tl_sensor, 296
tl_sensor_stream_ddos, 300
StaticCommand
deschedule, 229
execute, 229
StaticCommand, 229
StaticCommand, 229
StaticCommand< T >, 228
StringBijection< T >, 232
StringBijection< T >::Entry, 49
StringTokenizer, 232
next, 234
StringTokenizer, 234
StringTokenizer, 234
StringUtils, 234
escapeXML, 235
sumo_intf, 240
comp_queue, 243
comp_sync_pub, 243
comp_sync_sub, 243
component_sync_operation, 241
config, 243
e3_get_vehicle_number_server_operation, 241
init_timer, 243
init_timer_operation, 242
logger, 243
node_argc, 243
node_argv, 243
startUp, 242
sumo_intf, 241
sumo_step_timer_operation, 242
sumo_intf, 241
tlc_get_ryg_state_server_operation, 242
tlc_set_ryg_state_server_operation, 242
sumo_step_timer_operation
sumo_intf, 242
SumoXMLAttr
SUMOXMLDefinitions.h, 445
SumoXMLTag
SUMOXMLDefinitions.h, 446
SysUtils, 291
getCurrentMillis, 291
SystemFrame, 289
addConfigurationOptions, 290
addReportOptions, 290
close, 290
tcpip::Socket, 227
tcpip::SocketException, 228
tcpip::Storage, 230
tl_actuator, 291
comp_queue, 294
comp_sync_pub, 294
comp_sync_sub, 294
component_sync_operation, 293
config, 294
init_timer, 294
init_timer_operation, 294
logger, 295
node_argc, 295
node_argv, 295
ryg_control_sub_operation, 294
startUp, 294
tl_actuator, 292
tl_actuator, 292
tl_sensor, 295
comp_queue, 297
comp_sync_pub, 297
comp_sync_sub, 297
component_sync_operation, 296
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
config, 297
init_timer, 297
init_timer_operation, 296
logger, 297
node_argc, 297
node_argv, 297
startUp, 296
tl_sensor, 296
tl_update_timer_operation, 297
tl_sensor, 296
tl_sensor_stream_ddos, 298
comp_queue, 300
comp_sync_pub, 300
comp_sync_sub, 300
component_sync_operation, 300
config, 300
init_timer, 301
init_timer_operation, 300
logger, 301
node_argc, 301
node_argv, 301
startUp, 300
tl_sensor_stream_ddos, 299
tl_sensor_stream_ddos, 299
tl_update_timer_operation
tl_sensor, 297
tlc_get_ryg_state_server_operation
sumo_intf, 242
tlc_set_ryg_state_server_operation
sumo_intf, 242
TplConvert, 302
TraCIAPI, 303
check_resultState, 306
connect, 306
send_commandGetVariable, 307
send_commandSetValue, 307
send_commandSubscribeObjectContext, 307
send_commandSubscribeObjectVariable, 307
TraCIAPI::AreaScope, 18
TraCIAPI::EdgeScope, 48
TraCIAPI::GUIScope, 64
TraCIAPI::InductionLoopScope, 65
TraCIAPI::JunctionScope, 69
TraCIAPI::LaneScope, 70
TraCIAPI::MeMeScope, 73
TraCIAPI::POIScope, 206
TraCIAPI::PolygonScope, 207
TraCIAPI::RouteScope, 219
TraCIAPI::SimulationScope, 226
TraCIAPI::TraCIBoundary, 308
TraCIAPI::TraCIColor, 308
TraCIAPI::TraCILink, 309
TraCIAPI::TraCILogic, 309
TraCIAPI::TraCIPhase, 310
TraCIAPI::TraCIPosition, 310
TraCIAPI::TraCIScopeWrapper, 311
TraCIScopeWrapper, 312
TraCIAPI::TrafficLightScope, 335
489
TraCIAPI::VehicleTypeScope, 339
TraCIException, 309
TraCIPositionVector, 310
TraCIScopeWrapper
TraCIAPI::TraCIScopeWrapper, 312
TraCIServer, 312
openSocket, 313
readTypeCheckingBoundary, 313
readTypeCheckingByte, 314
readTypeCheckingColor, 314
readTypeCheckingDouble, 314
readTypeCheckingInt, 314
readTypeCheckingPolygon, 315
readTypeCheckingPosition2D, 315
readTypeCheckingString, 315
readTypeCheckingStringList, 315
readTypeCheckingUnsignedByte, 316
wasClosed, 316
writeErrorStatusCmd, 316
writeStatusCmd, 316, 317
TraCIServerAPI_AreaDetector, 317
TraCIServerAPI_ArealDetector, 317
processGet, 317
TraCIServerAPI_Edge, 318
getShape, 318
processGet, 318
processSet, 318
TraCIServerAPI_InductionLoop, 319
getPosition, 319
getTree, 319
processGet, 319
TraCIServerAPI_Junction, 321
getPosition, 321
getTree, 321
processGet, 321
TraCIServerAPI_Lane, 323
getShape, 323
processGet, 323
processSet, 324
TraCIServerAPI_Lane::StoringVisitor, 231
TraCIServerAPI_MeMeDetector, 324
processGet, 324
TraCIServerAPI_POI, 326
getPosition, 326
getTree, 326
processGet, 326
processSet, 328
TraCIServerAPI_Person, 325
getPosition, 325
processGet, 325
processSet, 325
TraCIServerAPI_Polygon, 328
getShape, 328
getTree, 329
processGet, 329
processSet, 329
TraCIServerAPI_Route, 329
processGet, 330
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
490
processSet, 330
TraCIServerAPI_Simulation, 330
convertCartesianToRoadMap, 331
getLaneChecking, 331
processGet, 331
processSet, 331
TraCIServerAPI_TLS, 332
processGet, 332
processSet, 332
TraCIServerAPI_Vehicle, 332
getPosition, 333
processGet, 333
processSet, 333
TraCIServerAPI_VehicleType, 334
getVariable, 334
processGet, 334
processSet, 334
type
rapidxml::xml_document, 360, 361
rapidxml::xml_node, 369
unSet
OptionsCont, 150
UnknownElement, 336
value
rapidxml::xml_attribute, 345, 346
rapidxml::xml_base, 349
rapidxml::xml_document, 361
rapidxml::xml_node, 369, 370
value_size
rapidxml::xml_attribute, 346
rapidxml::xml_base, 350
rapidxml::xml_document, 362
rapidxml::xml_node, 370
ValueRetriever< T >, 336
ValueSource< T >, 336
ValueTimeLine
add, 337
describesTime, 337
fillGaps, 338
getSplitTime, 338
getValue, 338
ValueTimeLine< T >, 337
VectorHelper< T >, 339
warning
GenericSAXHandler, 63
OptionsLoader, 153
SAXWeightsHandler, 224
SUMORouteHandler, 250
SUMOSAXHandler, 283
wasClosed
TraCIServer, 316
what
rapidxml::parse_error, 202
where
rapidxml::parse_error, 202
WrappingCommand
INDEX
deschedule, 341
execute, 341
WrappingCommand, 341
WrappingCommand, 341
WrappingCommand< T >, 340
writeAttr
BinaryFormatter, 22
MsgRetrievingFunction, 87
OutputDevice, 161
OutputDevice_CERR, 167
OutputDevice_COUT, 174
OutputDevice_File, 182
OutputDevice_Network, 188, 189
OutputDevice_String, 195
PlainXMLFormatter, 204
writeByte
FileHelpers, 55
writeConfiguration
OptionsCont, 150
writeEdgeVector
FileHelpers, 57
writeErrorStatusCmd
TraCIServer, 316
writeFloat
FileHelpers, 57
writeHeader
BinaryFormatter, 22
PlainXMLFormatter, 205
writeInt
FileHelpers, 57
writeNonEmptyAttr
MsgRetrievingFunction, 87
OutputDevice, 161
OutputDevice_CERR, 167
OutputDevice_COUT, 174
OutputDevice_File, 182
OutputDevice_Network, 189
OutputDevice_String, 195
writePreformattedTag
BinaryFormatter, 22
MsgRetrievingFunction, 88
OutputDevice, 161
OutputDevice_CERR, 169
OutputDevice_COUT, 176
OutputDevice_File, 182
OutputDevice_Network, 189
OutputDevice_String, 197
PlainXMLFormatter, 205
writeSchema
OptionsCont, 150
writeStatusCmd
TraCIServer, 316, 317
writeString
FileHelpers, 57
writeTime
FileHelpers, 58
writeUInt
FileHelpers, 58
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
INDEX
writeXMLHeader
BinaryFormatter, 22
MsgRetrievingFunction, 88
OptionsCont, 151
OutputDevice, 162
OutputDevice_CERR, 169
OutputDevice_COUT, 176
OutputDevice_File, 183
OutputDevice_Network, 189
OutputDevice_String, 197
OutputFormatter, 199
PlainXMLFormatter, 205
XMLParser, 371
XMLSubSys, 371
close, 372
getSAXReader, 372
init, 372
runParser, 372
setHandler, 373
setValidation, 373
xml_attribute
rapidxml::xml_attribute, 343
xml_node
rapidxml::xml_node, 364
Generated on Wed Apr 20 2016 18:16:52 for Traffic Light Controller by Doxygen
491