diff options
Diffstat (limited to 'doc/design')
| -rw-r--r-- | doc/design/DecoderRefactor.puml | 17 | ||||
| -rw-r--r-- | doc/design/JT9ReceiveDatapath.puml | 31 |
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 |
