summaryrefslogtreecommitdiff
path: root/doc/design
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2020-05-11 22:18:20 +0200
committerChristoph Berg <myon@debian.org>2020-05-11 22:18:20 +0200
commita8edac06b534058e52126c4d55e23b217df2df91 (patch)
treef2c3567fae58aad676d544ee8f07ac78dd2eb1ec /doc/design
parent4f6c0156a70e8f2ff70fe5a1a39f5e9b22ffd026 (diff)
parent32a41b1abe1a4aab0892c9c2051be6ba5b379f1e (diff)
Update upstream source from tag 'upstream/2.2.0_rc1+repack'
Update to upstream version '2.2.0~rc1+repack' with Debian dir fe177bc6cd2d4c1256a3775504f6010be54e7463
Diffstat (limited to 'doc/design')
-rw-r--r--doc/design/DecoderRefactor.puml17
-rw-r--r--doc/design/JT9ReceiveDatapath.puml31
2 files changed, 48 insertions, 0 deletions
diff --git a/doc/design/DecoderRefactor.puml b/doc/design/DecoderRefactor.puml
new file mode 100644
index 00000000..acdf946b
--- /dev/null
+++ b/doc/design/DecoderRefactor.puml
@@ -0,0 +1,17 @@
+@startuml
+
+interface IProtocol {
+ encode()
+ decode()
+}
+interface IDecoder
+interface IEncoder
+interface IDecode
+
+IDecoder <-- IProtocol
+IEncoder <-- IProtocol
+
+class FT8
+IProtocol <|-- FT8
+
+@enduml
diff --git a/doc/design/JT9ReceiveDatapath.puml b/doc/design/JT9ReceiveDatapath.puml
new file mode 100644
index 00000000..c6b367b1
--- /dev/null
+++ b/doc/design/JT9ReceiveDatapath.puml
@@ -0,0 +1,31 @@
+@startuml
+
+hide footbox
+
+participant Detector
+participant MainWindow
+participant SHM
+participant jt9.f90
+participant decoder.f90
+participant ft8_decode.f90
+
+Detector -> MainWindow : dataSink()
+
+activate MainWindow
+MainWindow -> MainWindow : decode()
+MainWindow -> MainWindow : decodeBusy()
+
+MainWindow -> SHM : memcpy()
+MainWindow -> jt9.f90 : doorbell
+deactivate MainWindow
+
+activate jt9.f90
+jt9.f90 -> decoder.f90 : multimode_decoder()
+
+decoder.f90 -> ft8_decode.f90 : decode()
+ft8_decode.f90 -> decoder.f90 : ft8_decoded()
+decoder.f90 -> jt9.f90
+
+jt9.f90 -> MainWindow : readFromStdout()
+
+@enduml