summaryrefslogtreecommitdiffstats
path: root/src/GuardIntervalInserter.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-21 04:24:24 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-21 04:24:24 +0100
commit0cceefe1774263690dce352cf41c3fff3bf85135 (patch)
tree4b823a452a699e7f692b5c54bd06d3f643a0a29e /src/GuardIntervalInserter.h
parente6ea4d1a11f0ecda6f007a39930302688511632e (diff)
downloaddabmod-0cceefe1774263690dce352cf41c3fff3bf85135.tar.gz
dabmod-0cceefe1774263690dce352cf41c3fff3bf85135.tar.bz2
dabmod-0cceefe1774263690dce352cf41c3fff3bf85135.zip
Simplify GuardIntervalInserter slightly
Diffstat (limited to 'src/GuardIntervalInserter.h')
-rw-r--r--src/GuardIntervalInserter.h18
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;
};