diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-21 04:24:24 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-21 04:24:24 +0100 |
commit | 0cceefe1774263690dce352cf41c3fff3bf85135 (patch) | |
tree | 4b823a452a699e7f692b5c54bd06d3f643a0a29e /src/GuardIntervalInserter.h | |
parent | e6ea4d1a11f0ecda6f007a39930302688511632e (diff) | |
download | dabmod-0cceefe1774263690dce352cf41c3fff3bf85135.tar.gz dabmod-0cceefe1774263690dce352cf41c3fff3bf85135.tar.bz2 dabmod-0cceefe1774263690dce352cf41c3fff3bf85135.zip |
Simplify GuardIntervalInserter slightly
Diffstat (limited to 'src/GuardIntervalInserter.h')
-rw-r--r-- | src/GuardIntervalInserter.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/GuardIntervalInserter.h b/src/GuardIntervalInserter.h index 70a8fcd..e6b3b64 100644 --- a/src/GuardIntervalInserter.h +++ b/src/GuardIntervalInserter.h @@ -25,20 +25,19 @@ # include <config.h> #endif - #include "ModPlugin.h" +#include <stdint.h> -#include <sys/types.h> - - +/* The GuardIntervalInserter prepends the cyclic prefix to all + * symbols in the transmission frame. */ class GuardIntervalInserter : public ModCodec { public: - GuardIntervalInserter(size_t nbSymbols, size_t spacing, size_t nullSize, size_t symSize); - virtual ~GuardIntervalInserter(); - GuardIntervalInserter(const GuardIntervalInserter&); - GuardIntervalInserter& operator=(const GuardIntervalInserter&); - + GuardIntervalInserter( + size_t nbSymbols, + size_t spacing, + size_t nullSize, + size_t symSize); int process(Buffer* const dataIn, Buffer* dataOut); const char* name() { return "GuardIntervalInserter"; } @@ -48,6 +47,5 @@ protected: size_t d_spacing; size_t d_nullSize; size_t d_symSize; - bool myHasNull; }; |