Files
python-gpiozero/docs/images/gpio_device_hierarchy.svg
2016-04-03 20:16:06 +01:00

169 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.36.0 (20140111.2315)
-->
<!-- Title: classes Pages: 1 -->
<svg width="611pt" height="404pt"
viewBox="0.00 0.00 611.00 404.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 400)">
<title>classes</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-400 607,-400 607,4 -4,4"/>
<!-- Device -->
<g id="node1" class="node"><title>Device</title>
<polygon fill="#9ec6e0" stroke="#9ec6e0" points="395,-396 341,-396 341,-360 395,-360 395,-396"/>
<text text-anchor="middle" x="368" y="-375.5" font-family="Sans" font-size="10.00" fill="#000000">Device</text>
</g>
<!-- GPIODevice -->
<g id="node2" class="node"><title>GPIODevice</title>
<polygon fill="#9ec6e0" stroke="#9ec6e0" points="404,-324 332,-324 332,-288 404,-288 404,-324"/>
<text text-anchor="middle" x="368" y="-303.5" font-family="Sans" font-size="10.00" fill="#000000">GPIODevice</text>
</g>
<!-- GPIODevice&#45;&gt;Device -->
<g id="edge1" class="edge"><title>GPIODevice&#45;&gt;Device</title>
<path fill="none" stroke="black" d="M368,-324.303C368,-332.017 368,-341.288 368,-349.888"/>
<polygon fill="black" stroke="black" points="364.5,-349.896 368,-359.896 371.5,-349.896 364.5,-349.896"/>
</g>
<!-- WaitableInputDevice -->
<g id="node3" class="node"><title>WaitableInputDevice</title>
<polygon fill="#9ec6e0" stroke="#9ec6e0" points="350.5,-180 237.5,-180 237.5,-144 350.5,-144 350.5,-180"/>
<text text-anchor="middle" x="294" y="-159.5" font-family="Sans" font-size="10.00" fill="#000000">WaitableInputDevice</text>
</g>
<!-- InputDevice -->
<g id="node5" class="node"><title>InputDevice</title>
<polygon fill="#2980b9" stroke="#2980b9" points="348.5,-252 275.5,-252 275.5,-216 348.5,-216 348.5,-252"/>
<text text-anchor="middle" x="312" y="-231.5" font-family="Sans" font-size="10.00" fill="#ffffff">InputDevice</text>
</g>
<!-- WaitableInputDevice&#45;&gt;InputDevice -->
<g id="edge3" class="edge"><title>WaitableInputDevice&#45;&gt;InputDevice</title>
<path fill="none" stroke="black" d="M298.449,-180.303C300.455,-188.102 302.869,-197.491 305.101,-206.171"/>
<polygon fill="black" stroke="black" points="301.722,-207.082 307.602,-215.896 308.501,-205.339 301.722,-207.082"/>
</g>
<!-- SmoothedInputDevice -->
<g id="node4" class="node"><title>SmoothedInputDevice</title>
<polygon fill="#9ec6e0" stroke="#9ec6e0" points="209.5,-108 86.5,-108 86.5,-72 209.5,-72 209.5,-108"/>
<text text-anchor="middle" x="148" y="-87.5" font-family="Sans" font-size="10.00" fill="#000000">SmoothedInputDevice</text>
</g>
<!-- SmoothedInputDevice&#45;&gt;WaitableInputDevice -->
<g id="edge5" class="edge"><title>SmoothedInputDevice&#45;&gt;WaitableInputDevice</title>
<path fill="none" stroke="black" d="M183.716,-108.124C203.497,-117.608 228.272,-129.487 249.326,-139.581"/>
<polygon fill="black" stroke="black" points="247.87,-142.764 258.4,-143.932 250.896,-136.452 247.87,-142.764"/>
</g>
<!-- InputDevice&#45;&gt;GPIODevice -->
<g id="edge2" class="edge"><title>InputDevice&#45;&gt;GPIODevice</title>
<path fill="none" stroke="black" d="M325.843,-252.303C332.489,-260.611 340.578,-270.723 347.887,-279.859"/>
<polygon fill="black" stroke="black" points="345.336,-282.273 354.317,-287.896 350.803,-277.901 345.336,-282.273"/>
</g>
<!-- DigitalInputDevice -->
<g id="node6" class="node"><title>DigitalInputDevice</title>
<polygon fill="#2980b9" stroke="#2980b9" points="349.5,-108 246.5,-108 246.5,-72 349.5,-72 349.5,-108"/>
<text text-anchor="middle" x="298" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">DigitalInputDevice</text>
</g>
<!-- DigitalInputDevice&#45;&gt;WaitableInputDevice -->
<g id="edge4" class="edge"><title>DigitalInputDevice&#45;&gt;WaitableInputDevice</title>
<path fill="none" stroke="black" d="M297.011,-108.303C296.57,-116.017 296.041,-125.288 295.549,-133.888"/>
<polygon fill="black" stroke="black" points="292.054,-133.712 294.977,-143.896 299.042,-134.112 292.054,-133.712"/>
</g>
<!-- Button -->
<g id="node7" class="node"><title>Button</title>
<polygon fill="#2980b9" stroke="#2980b9" points="335,-36 281,-36 281,-0 335,-0 335,-36"/>
<text text-anchor="middle" x="308" y="-15.5" font-family="Sans" font-size="10.00" fill="#ffffff">Button</text>
</g>
<!-- Button&#45;&gt;DigitalInputDevice -->
<g id="edge6" class="edge"><title>Button&#45;&gt;DigitalInputDevice</title>
<path fill="none" stroke="black" d="M305.528,-36.3034C304.426,-44.0173 303.102,-53.2875 301.873,-61.8876"/>
<polygon fill="black" stroke="black" points="298.393,-61.5012 300.443,-71.8957 305.323,-62.4912 298.393,-61.5012"/>
</g>
<!-- MotionSensor -->
<g id="node8" class="node"><title>MotionSensor</title>
<polygon fill="#2980b9" stroke="#2980b9" points="82.5,-36 -0.5,-36 -0.5,-0 82.5,-0 82.5,-36"/>
<text text-anchor="middle" x="41" y="-15.5" font-family="Sans" font-size="10.00" fill="#ffffff">MotionSensor</text>
</g>
<!-- MotionSensor&#45;&gt;SmoothedInputDevice -->
<g id="edge7" class="edge"><title>MotionSensor&#45;&gt;SmoothedInputDevice</title>
<path fill="none" stroke="black" d="M67.1751,-36.1239C81.0359,-45.1917 98.2414,-56.4477 113.211,-66.2408"/>
<polygon fill="black" stroke="black" points="111.44,-69.2645 121.724,-71.8102 115.272,-63.4067 111.44,-69.2645"/>
</g>
<!-- LightSensor -->
<g id="node9" class="node"><title>LightSensor</title>
<polygon fill="#2980b9" stroke="#2980b9" points="175,-36 101,-36 101,-0 175,-0 175,-36"/>
<text text-anchor="middle" x="138" y="-15.5" font-family="Sans" font-size="10.00" fill="#ffffff">LightSensor</text>
</g>
<!-- LightSensor&#45;&gt;SmoothedInputDevice -->
<g id="edge8" class="edge"><title>LightSensor&#45;&gt;SmoothedInputDevice</title>
<path fill="none" stroke="black" d="M140.472,-36.3034C141.574,-44.0173 142.898,-53.2875 144.127,-61.8876"/>
<polygon fill="black" stroke="black" points="140.677,-62.4912 145.557,-71.8957 147.607,-61.5012 140.677,-62.4912"/>
</g>
<!-- LineSensor -->
<g id="node10" class="node"><title>LineSensor</title>
<polygon fill="#2980b9" stroke="#2980b9" points="263,-36 193,-36 193,-0 263,-0 263,-36"/>
<text text-anchor="middle" x="228" y="-15.5" font-family="Sans" font-size="10.00" fill="#ffffff">LineSensor</text>
</g>
<!-- LineSensor&#45;&gt;SmoothedInputDevice -->
<g id="edge9" class="edge"><title>LineSensor&#45;&gt;SmoothedInputDevice</title>
<path fill="none" stroke="black" d="M208.225,-36.3034C198.246,-45.0345 185.989,-55.7595 175.143,-65.2497"/>
<polygon fill="black" stroke="black" points="172.769,-62.6766 167.548,-71.8957 177.378,-67.9446 172.769,-62.6766"/>
</g>
<!-- OutputDevice -->
<g id="node11" class="node"><title>OutputDevice</title>
<polygon fill="#2980b9" stroke="#2980b9" points="466,-252 384,-252 384,-216 466,-216 466,-252"/>
<text text-anchor="middle" x="425" y="-231.5" font-family="Sans" font-size="10.00" fill="#ffffff">OutputDevice</text>
</g>
<!-- OutputDevice&#45;&gt;GPIODevice -->
<g id="edge10" class="edge"><title>OutputDevice&#45;&gt;GPIODevice</title>
<path fill="none" stroke="black" d="M410.91,-252.303C404.077,-260.695 395.743,-270.93 388.244,-280.139"/>
<polygon fill="black" stroke="black" points="385.528,-277.931 381.928,-287.896 390.956,-282.351 385.528,-277.931"/>
</g>
<!-- DigitalOutputDevice -->
<g id="node12" class="node"><title>DigitalOutputDevice</title>
<polygon fill="#2980b9" stroke="#2980b9" points="481,-180 369,-180 369,-144 481,-144 481,-180"/>
<text text-anchor="middle" x="425" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">DigitalOutputDevice</text>
</g>
<!-- DigitalOutputDevice&#45;&gt;OutputDevice -->
<g id="edge11" class="edge"><title>DigitalOutputDevice&#45;&gt;OutputDevice</title>
<path fill="none" stroke="black" d="M425,-180.303C425,-188.017 425,-197.288 425,-205.888"/>
<polygon fill="black" stroke="black" points="421.5,-205.896 425,-215.896 428.5,-205.896 421.5,-205.896"/>
</g>
<!-- LED -->
<g id="node13" class="node"><title>LED</title>
<polygon fill="#2980b9" stroke="#2980b9" points="429,-108 375,-108 375,-72 429,-72 429,-108"/>
<text text-anchor="middle" x="402" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">LED</text>
</g>
<!-- LED&#45;&gt;DigitalOutputDevice -->
<g id="edge12" class="edge"><title>LED&#45;&gt;DigitalOutputDevice</title>
<path fill="none" stroke="black" d="M407.685,-108.303C410.248,-116.102 413.333,-125.491 416.185,-134.171"/>
<polygon fill="black" stroke="black" points="412.933,-135.488 419.38,-143.896 419.584,-133.303 412.933,-135.488"/>
</g>
<!-- Buzzer -->
<g id="node14" class="node"><title>Buzzer</title>
<polygon fill="#2980b9" stroke="#2980b9" points="501,-108 447,-108 447,-72 501,-72 501,-108"/>
<text text-anchor="middle" x="474" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">Buzzer</text>
</g>
<!-- Buzzer&#45;&gt;DigitalOutputDevice -->
<g id="edge13" class="edge"><title>Buzzer&#45;&gt;DigitalOutputDevice</title>
<path fill="none" stroke="black" d="M461.888,-108.303C456.132,-116.526 449.138,-126.517 442.794,-135.579"/>
<polygon fill="black" stroke="black" points="439.84,-133.696 436.973,-143.896 445.575,-137.71 439.84,-133.696"/>
</g>
<!-- PWMOutputDevice -->
<g id="node15" class="node"><title>PWMOutputDevice</title>
<polygon fill="#2980b9" stroke="#2980b9" points="603,-180 499,-180 499,-144 603,-144 603,-180"/>
<text text-anchor="middle" x="551" y="-159.5" font-family="Sans" font-size="10.00" fill="#ffffff">PWMOutputDevice</text>
</g>
<!-- PWMOutputDevice&#45;&gt;OutputDevice -->
<g id="edge14" class="edge"><title>PWMOutputDevice&#45;&gt;OutputDevice</title>
<path fill="none" stroke="black" d="M520.177,-180.124C503.55,-189.361 482.835,-200.869 464.981,-210.788"/>
<polygon fill="black" stroke="black" points="462.983,-207.894 455.942,-215.81 466.383,-214.013 462.983,-207.894"/>
</g>
<!-- PWMLED -->
<g id="node16" class="node"><title>PWMLED</title>
<polygon fill="#2980b9" stroke="#2980b9" points="580,-108 522,-108 522,-72 580,-72 580,-108"/>
<text text-anchor="middle" x="551" y="-87.5" font-family="Sans" font-size="10.00" fill="#ffffff">PWMLED</text>
</g>
<!-- PWMLED&#45;&gt;PWMOutputDevice -->
<g id="edge15" class="edge"><title>PWMLED&#45;&gt;PWMOutputDevice</title>
<path fill="none" stroke="black" d="M551,-108.303C551,-116.017 551,-125.288 551,-133.888"/>
<polygon fill="black" stroke="black" points="547.5,-133.896 551,-143.896 554.5,-133.896 547.5,-133.896"/>
</g>
</g>
</svg>