diff options
Diffstat (limited to 'FastDecode.hpp')
| -rw-r--r-- | FastDecode.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/FastDecode.hpp b/FastDecode.hpp new file mode 100644 index 00000000..124dcfaa --- /dev/null +++ b/FastDecode.hpp @@ -0,0 +1,18 @@ +#ifndef FAST_DECODE_HPP +#define FAST_DECODE_HPP + +#include <QFuture> +#include <array> + +struct FastDecodeResult +{ + std::array<int, 15> arguments {}; + std::array<char, 8000> messages {}; +}; + +// Capture all inputs before returning; retrieve outputs only after completion. +QFuture<FastDecodeResult> startFastDecode (short const samples[], int const arguments[], + double period, char const myCall[], + char const hisCall[]); + +#endif |
