Browse Source
add figure visualizing public interface of cachedata and cache to chapter 4 design
master
add figure visualizing public interface of cachedata and cache to chapter 4 design
master
Constantin Fürst
11 months ago
4 changed files with 94 additions and 2 deletions
-
BINthesis/bachelor.pdf
-
14thesis/content/40_design.tex
-
BINthesis/images/design-classdiagram.png
-
82thesis/images/design-classdiagram.xml
After Width: 524 | Height: 294 | Size: 47 KiB |
@ -0,0 +1,82 @@ |
|||
<mxfile host="app.diagrams.net" modified="2024-01-21T16:38:15.391Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" etag="9bOtjw8dTkath-EdKy1I" version="22.1.21" type="device"> |
|||
<diagram name="Page-1" id="xBjmK5o3fU9FCVY3KYoo"> |
|||
<mxGraphModel dx="1434" dy="803" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="369" math="0" shadow="0"> |
|||
<root> |
|||
<mxCell id="0" /> |
|||
<mxCell id="1" parent="0" /> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-23" value="" style="group" vertex="1" connectable="0" parent="1"> |
|||
<mxGeometry x="170" y="40" width="230" height="190" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-1" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-23"> |
|||
<mxGeometry width="230" height="190" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-2" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=4;fillColor=none;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-23"> |
|||
<mxGeometry width="230" height="190" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-3" value="<b>CacheData</b>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=default;strokeColor=default;strokeWidth=2;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-23"> |
|||
<mxGeometry width="230" height="40" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-5" value="CacheData(uint8_t* data, size_t size)" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-23"> |
|||
<mxGeometry y="40" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-6" value="CacheData(const CacheData&amp; other)" style="text;html=1;strokeColor=#82b366;fillColor=#d5e8d4;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-23"> |
|||
<mxGeometry y="70" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-7" value="~CacheData()" style="text;html=1;strokeColor=#82b366;fillColor=#d5e8d4;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-23"> |
|||
<mxGeometry y="100" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-8" value="void WaitOnCompletion()" style="text;html=1;strokeColor=#82b366;fillColor=#d5e8d4;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-23"> |
|||
<mxGeometry y="130" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-9" value="" style="endArrow=none;html=1;rounded=0;exitX=1;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;strokeWidth=2;strokeColor=none;" edge="1" parent="tB5LUjmhD6zCi5oJ_og_-23" source="tB5LUjmhD6zCi5oJ_og_-8" target="tB5LUjmhD6zCi5oJ_og_-8"> |
|||
<mxGeometry width="50" height="50" relative="1" as="geometry"> |
|||
<mxPoint x="530" y="370" as="sourcePoint" /> |
|||
<mxPoint x="580" y="320" as="targetPoint" /> |
|||
</mxGeometry> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-11" value="uint8_t* GetDataLocation() const" style="text;html=1;strokeColor=#d6b656;fillColor=#fff2cc;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-23"> |
|||
<mxGeometry y="160" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-26" value="" style="group;fillColor=#fad9d5;strokeColor=#ae4132;" vertex="1" connectable="0" parent="1"> |
|||
<mxGeometry x="440" y="40" width="230" height="270" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-14" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-26"> |
|||
<mxGeometry width="230" height="190" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-15" value="" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=4;fillColor=none;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-26"> |
|||
<mxGeometry width="230" height="270" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-16" value="<b>Cache<br></b>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=default;strokeColor=default;strokeWidth=2;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-26"> |
|||
<mxGeometry width="230" height="40" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-17" value="Cache() = default" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-26"> |
|||
<mxGeometry y="40" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-18" value="void Flush(int node = -1)" style="text;html=1;strokeColor=#0e8088;fillColor=#b0e3e6;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-26"> |
|||
<mxGeometry y="180" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-19" value="~Cache()" style="text;html=1;strokeColor=#b85450;fillColor=#f8cecc;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-26"> |
|||
<mxGeometry y="70" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-20" value="void Init(CachePolicy*, CopyPolicy*)" style="text;html=1;strokeColor=#b85450;fillColor=#f8cecc;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-26"> |
|||
<mxGeometry y="100" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-21" value="" style="endArrow=none;html=1;rounded=0;exitX=1;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=0;entryDy=0;strokeWidth=2;strokeColor=none;" edge="1" parent="tB5LUjmhD6zCi5oJ_og_-26" source="tB5LUjmhD6zCi5oJ_og_-20" target="tB5LUjmhD6zCi5oJ_og_-20"> |
|||
<mxGeometry width="50" height="50" relative="1" as="geometry"> |
|||
<mxPoint x="530" y="370" as="sourcePoint" /> |
|||
<mxPoint x="580" y="320" as="targetPoint" /> |
|||
</mxGeometry> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-22" value="std::unique_ptr&lt;CacheData&gt; Access(uint8_t* data, size_t size)" style="text;html=1;strokeColor=#0e8088;fillColor=#b0e3e6;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-26"> |
|||
<mxGeometry y="130" width="230" height="50" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-24" value="void Clear()" style="text;html=1;strokeColor=#0e8088;fillColor=#b0e3e6;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-26"> |
|||
<mxGeometry y="210" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
<mxCell id="tB5LUjmhD6zCi5oJ_og_-25" value="void Invalidate()" style="text;html=1;strokeColor=#0e8088;fillColor=#b0e3e6;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="tB5LUjmhD6zCi5oJ_og_-26"> |
|||
<mxGeometry y="240" width="230" height="30" as="geometry" /> |
|||
</mxCell> |
|||
</root> |
|||
</mxGraphModel> |
|||
</diagram> |
|||
</mxfile> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue