summaryrefslogtreecommitdiffstats
path: root/src/PhaseReference.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-26 10:56:37 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-26 10:56:37 +0100
commite6fb51ebaec9a28dfffe47d0947226d9dd3b1fbf (patch)
tree18df7eabe464c83a8952552849bde9f6287ec555 /src/PhaseReference.h
parentecc9f35493ebdff9e98bf58a47328a8c2e7fac3e (diff)
downloaddabmod-e6fb51ebaec9a28dfffe47d0947226d9dd3b1fbf.tar.gz
dabmod-e6fb51ebaec9a28dfffe47d0947226d9dd3b1fbf.tar.bz2
dabmod-e6fb51ebaec9a28dfffe47d0947226d9dd3b1fbf.zip
PhaseReference cosmetics
Diffstat (limited to 'src/PhaseReference.h')
-rw-r--r--src/PhaseReference.h36
1 files changed, 16 insertions, 20 deletions
diff --git a/src/PhaseReference.h b/src/PhaseReference.h
index f7a5cdc..6ecdc4e 100644
--- a/src/PhaseReference.h
+++ b/src/PhaseReference.h
@@ -2,7 +2,7 @@
Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011 Her Majesty
the Queen in Right of Canada (Communications Research Center Canada)
- Copyright (C) 2016
+ Copyright (C) 2018
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -32,29 +32,25 @@
#include "ModPlugin.h"
-#include <sys/types.h>
+#include <cstddef>
#include <complex>
#include <vector>
-
class PhaseReference : public ModInput
{
-public:
- PhaseReference(unsigned int dabmode);
- virtual ~PhaseReference();
- PhaseReference(const PhaseReference&);
- PhaseReference& operator=(const PhaseReference&);
-
- int process(Buffer* dataOut);
- const char* name() { return "PhaseReference"; }
-
-protected:
- unsigned int d_dabmode;
- size_t d_carriers;
- size_t d_num;
- const static unsigned char d_h[4][32];
- std::vector<std::complex<float> > d_dataIn;
-
- void fillData();
+ public:
+ PhaseReference(unsigned int dabmode);
+
+ int process(Buffer* dataOut) override;
+ const char* name() override { return "PhaseReference"; }
+
+ protected:
+ unsigned int d_dabmode;
+ size_t d_carriers;
+ size_t d_num;
+ const static uint8_t d_h[4][32];
+ std::vector<std::complex<float> > d_dataIn;
+
+ void fillData();
};