Browse Source

chapters/sandbox_pattern_libvlccore: ajout schema proxy

Alexandre Janniaux 7 years ago
parent
commit
f49c18a716
3 changed files with 84 additions and 2 deletions
  1. 6 2
      chapters/sandbox_pattern_libvlccore.tex
  2. BIN
      schemas/decoder_proxy.dia
  3. 78 0
      schemas/decoder_proxy.svg

+ 6 - 2
chapters/sandbox_pattern_libvlccore.tex

@@ -49,10 +49,14 @@ au décodeur. En particulier, on a par exemple l'input et le décodeur proxy dan
 un processus, puis l'input proxy et le décodeur dans un autre, donnant lieu à la
 situation suivante.
 
-% TODO schéma croisé
+\begin{figure}[htbp]
+    \centering
+    \includesvg[width = 250pt]{schemas/decoder_proxy}
+    \caption{Proxy input et décodeur avec le modèle}
+\end{figure}
 
 Les paragraphes précédents décrivent la création d'un décodeur depuis le
-processus de l'input, mais on voit au grpahe précédent qu'il faut également
+processus de l'input, mais on voit au graphe précédent qu'il faut également
 pouvoir faire un proxy de l'input dans le processus du décodeur, c'est-à-dire
 pouvoir «transmettre» l'input d'un processus à l'autre. Nous allons donc
 reprendre le concept de jeton d'accès et permettre l'envoi d'objet proxy à

BIN
schemas/decoder_proxy.dia


+ 78 - 0
schemas/decoder_proxy.svg

@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/DTD/svg10.dtd">
+<svg width="32cm" height="24cm" viewBox="165 117 623 473" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+  <g>
+    <rect style="fill: #ffffff" x="528.35" y="118.2" width="258" height="471"/>
+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="528.35" y="118.2" width="258" height="471"/>
+    <text font-size="12.7998" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="657.35" y="357.6">
+      <tspan x="657.35" y="357.6"></tspan>
+    </text>
+  </g>
+  <g>
+    <rect style="fill: #ffffff" x="166" y="118.2" width="258" height="471"/>
+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="166" y="118.2" width="258" height="471"/>
+    <text font-size="12.7998" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="295" y="357.6">
+      <tspan x="295" y="357.6"></tspan>
+    </text>
+  </g>
+  <g>
+    <rect style="fill: #ffffff" x="562.7" y="142.4" width="180" height="125"/>
+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="562.7" y="142.4" width="180" height="125"/>
+    <text font-size="16.9331" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="652.7" y="210.067">
+      <tspan x="652.7" y="210.067">Input proxy</tspan>
+    </text>
+  </g>
+  <g>
+    <rect style="fill: #ffffff" x="562.7" y="360.2" width="180" height="125"/>
+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="562.7" y="360.2" width="180" height="125"/>
+    <text font-size="16.9331" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="652.7" y="427.867">
+      <tspan x="652.7" y="427.867">Decoder object</tspan>
+    </text>
+  </g>
+  <g>
+    <rect style="fill: #ffffff" x="202.35" y="142.4" width="180" height="125"/>
+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="202.35" y="142.4" width="180" height="125"/>
+    <text font-size="16.9331" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="292.35" y="210.067">
+      <tspan x="292.35" y="210.067">Input object</tspan>
+    </text>
+  </g>
+  <g>
+    <rect style="fill: #ffffff" x="202.35" y="360.2" width="180" height="125"/>
+    <rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="202.35" y="360.2" width="180" height="125"/>
+    <text font-size="16.9331" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:normal" x="292.35" y="427.867">
+      <tspan x="292.35" y="427.867">Decoder proxy</tspan>
+    </text>
+  </g>
+  <g>
+    <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="382.35" y1="422.7" x2="552.964" y2="422.7"/>
+    <polygon style="fill: #000000" points="560.464,422.7 550.464,427.7 552.964,422.7 550.464,417.7 "/>
+    <polygon style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" points="560.464,422.7 550.464,427.7 552.964,422.7 550.464,417.7 "/>
+  </g>
+  <g>
+    <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="292.35" y1="267.4" x2="292.35" y2="350.464"/>
+    <polygon style="fill: #000000" points="292.35,357.964 287.35,347.964 292.35,350.464 297.35,347.964 "/>
+    <polygon style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" points="292.35,357.964 287.35,347.964 292.35,350.464 297.35,347.964 "/>
+  </g>
+  <g>
+    <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="558" y1="206" x2="392.086" y2="204.961"/>
+    <polygon style="fill: #000000" points="384.586,204.914 394.617,199.977 392.086,204.961 394.555,209.977 "/>
+    <polygon style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" points="384.586,204.914 394.617,199.977 392.086,204.961 394.555,209.977 "/>
+  </g>
+  <g>
+    <line style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x1="652.7" y1="359.211" x2="652.7" y2="277.136"/>
+    <polygon style="fill: #000000" points="652.7,269.636 657.7,279.636 652.7,277.136 647.7,279.636 "/>
+    <polygon style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" points="652.7,269.636 657.7,279.636 652.7,277.136 647.7,279.636 "/>
+  </g>
+  <text font-size="19.7553" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="229" y="555.7">
+    <tspan x="229" y="555.7">Input process</tspan>
+  </text>
+  <text font-size="19.7553" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="572.7" y="555.15">
+    <tspan x="572.7" y="555.15">Decoder process</tspan>
+  </text>
+  <text font-size="12.7998" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="452.663" y="409">
+    <tspan x="452.663" y="409">IPC</tspan>
+  </text>
+  <text font-size="12.7998" style="fill: #000000;text-anchor:start;font-family:sans-serif;font-style:normal;font-weight:normal" x="453.037" y="197.7">
+    <tspan x="453.037" y="197.7">IPC</tspan>
+  </text>
+</svg>