File: modules_cpp_peripheral_lifetime_diagram_1.dox

package info (click to toggle)
kodi 2%3A21.2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 143,076 kB
  • sloc: cpp: 694,471; xml: 52,618; ansic: 38,300; python: 7,161; sh: 4,289; javascript: 2,325; makefile: 1,791; perl: 969; java: 513; cs: 390; objc: 340
file content (294 lines) | stat: -rw-r--r-- 7,695 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
@dot
digraph D {
  graph [label="Orthogonal edges", splines=ortho, nodesep=1.0];
  node [shape=box fontname=Arial];

  rankdir=LR;
  color = "white"
  bgcolor = "white"
  fillcolor = "white"
  fontcolor = "white"
  pencolor = "white"

  _1 [
    label = <<b>Joystick</b>>
  ];
  _2 [
    label =  <<b>Joystick<br/>Event</b>>
  ];
  _3 [
    label =  <<b>Keyboard</b>>
  ];
  _4 [
    label =  <<b>Keyboard<br/>Event</b>>
  ];

  _5 [
    label = <<b>Joystick</b><br/><font color="#777777"><i>CJoystick</i></font>>;
  ]
  _6 [
    label = <<b>Peripheral Event</b><br/><font color="#777777"><i>kodi::addon::PeripheralEvent</i></font>>;
  ]
  _7 [
    label = <<b>ButtonMap</b><br/><font color="#777777"><i>kodi::addon::JoystickFeatures*</i></font>>;
  ]

  _8 [
    label = <<b>C struct</b><br/><font color="#777777"><i>JOYSTICK_INFO</i></font>>;
  ]
  _9 [
    label = <<b>C struct</b><br/><font color="#777777"><i>PERIPHERAL_EVENT</i></font>>;
  ]
  _10 [
    label = <<b>C structs</b><br/><font color="#777777"><i>JOYSTICK_FEATURE*</i></font>>;
  ]

  _11 [
    label = <<b>Joystick Peripheral</b><br/><font color="#777777"><i>CPeripheralJoystick</i></font>>
  ]

  _12 [
    label = <<b>Event Handling</b><br/><font color="#777777"><i>IJoystickDriverHandler</i></font>>
  ]

  _13 [
    label = <<b>Keyboard Peripheral</b><br/><font color="#777777"><i>CPeripheralKeyboard</i></font>>
  ]

  _14 [
    label = <<b>Keyboard Handling</b><br/><font color="#777777"><i>IKeyboardHandler</i></font>>
  ]

  _15 [
    label = <<b>Input Handling</b><br/><font color="#777777"><i>CGenericJoystickInputHandling</i></font>>
  ]

  _16 [
    label = <<b>Button Mapping</b><br/><font color="#777777"><i>CGenericJoystickButtonMapping</i></font>>
  ]

  _19 [
    label = <<b>Joystick Imitation</b><br/><font color="#777777"><i>CGenericKeyboadHandler</i></font>>
  ]

  _20 [
    label = <<b>Button Map</b><br/><font color="#777777"><i>CAddonJoystickButtonMap</i></font>>
  ]

  _21 [
    label = <<b>Game Controller</b><br/><font color="#777777"><i>CControllerInput</i></font>>
  ]

  _22 [
    label = <<b>Game Add-on</b><br/><font color="#777777"><i>CGameClient</i></font>>
  ]

  _23 [
    label = <<b>Button Dialog</b><br/><font color="#777777"><i>CGUIDialogControllerInput</i></font>>
  ]

  _24 [
    label = <<b>Game Controller Add-ons</b><br/><font color="#777777"><i>CGameController</i></font>>
  ]

  _25 [
    label = <<b>Default Controller</b><br/><font color="#777777"><i>CDefaultController</i></font>>
  ]

  _26 [
    label = <<b>Kodi Input Handler</b><br/><font color="#777777"><i>CButtonKeyHandler</i></font>>
  ]

  _27 [
    label = <<b>Button Mapper</b><br/><font color="#777777"><i>CButtonMapper</i></font>>
  ]

  _28 [
    label = <<b>Libretro Device</b><br/><font color="#777777"><i>CLibretroDevice</i></font>>
  ]

  _29 [
    label = <<b>Libretro Core</b><br/><font color="#777777"><i>CLibretroDll</i></font>>
  ]

  _1 -> _5 [penwidth=3, weight=25];
  _2 -> _6 [penwidth=3, weight=2];
  _3 -> _13 [penwidth=3, weight=100];
  _4 -> _14 [penwidth=3, weight=15];

  _5 -> _8 [penwidth=3, weight=50];
  _6 -> _9 [penwidth=3, weight=50];
  _7 -> _10 [dir=both, penwidth=3, weight=100];
  _10 -> _20 [dir=both, penwidth=3, weight=2];

  _8 -> _11 [penwidth=3];
  _9 -> _12 [penwidth=3, weight=21];

  _14 -> _19 [penwidth=3];
  _19 -> _12 [penwidth=3];

  _12 -> _15 [penwidth=3];
  _12 -> _16 [penwidth=3];

  _15 -> { _21, _25 } [penwidth=3];
  _16 -> _23 [penwidth=3, dir=both, weight=0];
  _23 -> _24 [penwidth=3, dir=back, weight=0];
  _21 -> _22 [penwidth=3, weight=5];
  _25 -> _26 [penwidth=3, weight=4];
  _27 -> _28 -> _29 [penwidth=3, dir=forward, constraint=false, weight=0];
  _22 -> _28 [penwidth=3, weight=0];
  _24 -> _21 [penwidth=3, weight=0];
  edge[constraint=false];
  _20 -> { _15, _16 } [penwidth=3, weight=5];


  subgraph cluster_1 {
    graph [nodesep=6, ranksep=4];
    label = <<b><font point-size='20'>OS</font></b>>;
    fontcolor = "white";
    bgcolor = "red";

    _1 [style=filled, fillcolor=white];
    _2 [style=filled, fillcolor=white];
    _3 [style=filled, fillcolor=white];
    _4 [style=filled, fillcolor=white];
  }

  subgraph cluster_2 {
    graph [nodesep=6, ranksep=4];
    label = <<b><font point-size='20'>Peripheral Add-on</font></b>>;
    fontcolor = "white";
    bgcolor = "red";

    _5 [style=filled, fillcolor=white];
    _6 [style=filled, fillcolor=white];
    _7 [style=filled, fillcolor=white];
  }

  subgraph cluster_3 {
    graph [nodesep=6, ranksep=4];
    label = <<b><font point-size='20'>Peripheral API</font></b>>;
    fontcolor = "white";
    bgcolor = "red";

    _8 [style=filled, fillcolor=white];
    _9 [style=filled, fillcolor=white];
    _10 [style=filled, fillcolor=white];
  }

  subgraph cluster_4 {
    graph [nodesep=6, ranksep=4];
    label = <<b><font point-size='20'>Peripheral Busses</font></b>>;
    fontcolor = "white";
    bgcolor = "red";

    subgraph cluster_4_1 {
      graph [nodesep=6, ranksep=4];
      label = <<font point-size='18'><b>Virtual Add-on Bus</b></font><br/><font color="#777777"><i>CPeripheralBusAddon</i></font>>;
      fontcolor = "black";
      bgcolor = "white";

      _11 [style=filled, fillcolor=white];
      _12 [style=filled, fillcolor=white];

    }

    subgraph cluster_4_2 {
      graph [nodesep=6, ranksep=4];
        label = "";
      ""  [
        color="red"
        bgcolor = "red";
      ];
      pencolor = "red";
    }

    subgraph cluster_4_3 {
      graph [nodesep=6, ranksep=4];
      label = <<font point-size='18'><b>Virtual Application Bus</b></font><br/><font color="#777777"><i>CPeripheralBusApplication</i></font>>;
      fontcolor = "black";
      bgcolor = "white";

      _13 [style=filled, fillcolor=white];
      _14 [style=filled, fillcolor=white];
    }
  }

  subgraph cluster_7 {
    graph [nodesep=6, ranksep=4];
    label = <<b><font point-size='20'>Input Library</font></b>>;
    fontcolor = "white";
    bgcolor = "red";
    rank=same;

    subgraph cluster_7_1 {
      graph [nodesep=6, ranksep=4];
      label = ""
      pencolor = "red";
      _15 [style=filled, fillcolor=white];
      _16 [style=filled, fillcolor=white];
    }

    subgraph cluster_7_2 {
        graph [nodesep=6, ranksep=4];
        label = "";
      "-"  [
        color="red"
        fontcolor="red"
        bgcolor = "red";
      ];
      pencolor = "red";
    }

    subgraph cluster_7_3 {
      graph [nodesep=6, ranksep=4];
      label = ""
      pencolor = "red";
      _19 [style=filled, fillcolor=white];
      _20 [style=filled, fillcolor=white];
    }
  }

  subgraph cluster_8 {
    graph [nodesep=6, ranksep=4];
    label = <<b><font point-size='20'>Game API</font></b>>;
    fontcolor = "white";
    bgcolor = "red";

    _21 [style=filled, fillcolor=white];
    _22 [style=filled, fillcolor=white];
  }

  subgraph cluster_9 {
    graph [nodesep=6, ranksep=4];
    label = <<b><font point-size='20'>Configuration GUI</font></b>>;
    fontcolor = "white";
    bgcolor = "red";

    _23 [style=filled, fillcolor=white];
    _24 [style=filled, fillcolor=white];
  }

  subgraph cluster_10 {
    graph [nodesep=6, ranksep=4];
    label = <<b><font point-size='20'>Kodi Input</font></b>>;
    fontcolor = "white";
    bgcolor = "red";

    _25 [style=filled, fillcolor=white];
    _26 [style=filled, fillcolor=white];
  }

  subgraph cluster_11 {
    graph [nodesep=6, ranksep=4];
    label = <<b><font point-size='20'>Libretro API Wrapper</font></b>>;
    fontcolor = "white";
    bgcolor = "red";
    rank=same;

    _27 [style=filled, fillcolor=white];
    _28 [style=filled, fillcolor=white];
    _29 [style=filled, fillcolor=white];
  }
}
@enddot