aboutsummaryrefslogtreecommitdiff
path: root/doc/resources/signals.svg
diff options
context:
space:
mode:
Diffstat (limited to 'doc/resources/signals.svg')
-rw-r--r--doc/resources/signals.svg35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/resources/signals.svg b/doc/resources/signals.svg
new file mode 100644
index 0000000..3671d35
--- /dev/null
+++ b/doc/resources/signals.svg
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="212px" preserveAspectRatio="none" style="width:479px;height:212px;" version="1.1" viewBox="0 0 479 212" width="479px" zoomAndPan="magnify"><defs><filter height="300%" id="f1ah9w5ca8awd5" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><!--cluster Signals--><polygon fill="#FFFFFF" filter="url(#f1ah9w5ca8awd5)" points="22,24,84,24,91,46.2969,457,46.2969,457,200,22,200,22,24" style="stroke: #000000; stroke-width: 1.5;"/><line style="stroke: #000000; stroke-width: 1.5;" x1="22" x2="91" y1="46.2969" y2="46.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="56" x="26" y="38.9951">Signals</text><!--class OpticalSignal::Type--><rect fill="#FEFECE" filter="url(#f1ah9w5ca8awd5)" height="99.2188" id="OpticalSignal::Type" style="stroke: #A80036; stroke-width: 1.5;" width="150" x="38" y="72"/><ellipse cx="53" cy="88" fill="#EB937F" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M57.1094,94 L49.3906,94 L49.3906,81.6094 L57.1094,81.6094 L57.1094,83.7656 L51.8438,83.7656 L51.8438,86.4375 L56.6094,86.4375 L56.6094,88.5938 L51.8438,88.5938 L51.8438,91.8438 L57.1094,91.8438 L57.1094,94 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="118" x="67" y="92.1543">OpticalSignal::Type</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="39" x2="187" y1="104" y2="104"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="32" x="44" y="118.2104">NONE</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="33" x="44" y="131.0151">WRITE</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="36" x="44" y="143.8198">ERASE</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="53" x="44" y="156.6245">READOUT</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="39" x2="187" y1="163.2188" y2="163.2188"/><!--class OpticalSignal--><rect fill="#FEFECE" filter="url(#f1ah9w5ca8awd5)" height="124.8281" id="OpticalSignal" style="stroke: #A80036; stroke-width: 1.5;" width="218" x="223" y="59"/><ellipse cx="287.25" cy="75" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M290.2188,80.6406 Q289.6406,80.9375 289,81.0781 Q288.3594,81.2344 287.6563,81.2344 Q285.1563,81.2344 283.8281,79.5938 Q282.5156,77.9375 282.5156,74.8125 Q282.5156,71.6875 283.8281,70.0313 Q285.1563,68.375 287.6563,68.375 Q288.3594,68.375 289,68.5313 Q289.6563,68.6875 290.2188,68.9844 L290.2188,71.7031 Q289.5938,71.125 289,70.8594 Q288.4063,70.5781 287.7813,70.5781 Q286.4375,70.5781 285.75,71.6563 Q285.0625,72.7188 285.0625,74.8125 Q285.0625,76.9063 285.75,77.9844 Q286.4375,79.0469 287.7813,79.0469 Q288.4063,79.0469 289,78.7813 Q289.5938,78.5 290.2188,77.9219 L290.2188,80.6406 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="81" x="307.75" y="79.1543">OpticalSignal</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="224" x2="440" y1="91" y2="91"/><ellipse cx="234" cy="102.9023" fill="none" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="36" x="243" y="105.2104">id : int</text><ellipse cx="234" cy="115.707" fill="none" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="63" x="243" y="118.0151">type : Type</text><ellipse cx="234" cy="128.5117" fill="none" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="192" x="243" y="130.8198">parameter : union{double, void*}</text><ellipse cx="234" cy="141.3164" fill="none" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="114" x="243" y="143.6245">wavelength : double</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="224" x2="440" y1="150.2188" y2="150.2188"/><ellipse cx="234" cy="162.1211" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="86" x="243" y="164.4292">getNewId() : int</text><ellipse cx="234" cy="174.9258" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="135" x="243" y="177.2339">attenuate(double) : void</text><!--link OpticalSignal::Type to OpticalSignal--><path d="M203.39,121.5 C209.86,121.5 216.33,121.5 222.81,121.5 " fill="none" id="OpticalSignal::Type-OpticalSignal" style="stroke: #A80036; stroke-width: 1.0;"/><ellipse cx="196.28" cy="121.5" fill="#FFFFFF" rx="8" ry="8" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="204.28" x2="188.28" y1="121.5" y2="121.5"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="196.28" x2="196.28" y1="129.5" y2="113.5"/><!--
+@startuml signals
+package Signals {
+
+ enum OpticalSignal::Type {
+ NONE
+ WRITE
+ ERASE
+ READOUT
+ }
+
+ class OpticalSignal {
+ + id : int
+ + type : Type
+ + parameter : union{double, void*}
+ + wavelength : double
+ - -
+ + getNewId() : int
+ + attenuate(double) : void
+ }
+ OpticalSignal::Type +- OpticalSignal
+}
+@enduml
+
+PlantUML version 1.2018.01(Sun Jan 28 19:08:22 CET 2018)
+(GPL source distribution)
+Java Runtime: OpenJDK Runtime Environment
+JVM: OpenJDK 64-Bit Server VM
+Java Version: 13.0.1+9
+Operating System: Linux
+OS Version: 4.19.95-1-lts
+Default Encoding: UTF-8
+Language: en
+Country: US
+--></g></svg> \ No newline at end of file