aboutsummaryrefslogtreecommitdiffstats
path: root/src/PuncturingRule.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-25 21:34:03 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-25 21:34:03 +0100
commit2bba7d602744ccd6dab26940661f0fdfbf231af8 (patch)
tree590a5808497da3b621e29239cd56db6c89c2d6a9 /src/PuncturingRule.h
parentb5fd4a6ab6ac92af2141233f802e71c861cd89f4 (diff)
downloaddabmod-2bba7d602744ccd6dab26940661f0fdfbf231af8.tar.gz
dabmod-2bba7d602744ccd6dab26940661f0fdfbf231af8.tar.bz2
dabmod-2bba7d602744ccd6dab26940661f0fdfbf231af8.zip
Refactor flowgraph and puncturing rules
Diffstat (limited to 'src/PuncturingRule.h')
-rw-r--r--src/PuncturingRule.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/PuncturingRule.h b/src/PuncturingRule.h
index d600b95..c91acf1 100644
--- a/src/PuncturingRule.h
+++ b/src/PuncturingRule.h
@@ -19,38 +19,28 @@
along with ODR-DabMod. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef PUNCTURING_RULE_H
-#define PUNCTURING_RULE_H
+#pragma once
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
-
#include <sys/types.h>
#include <stdint.h>
-
class PuncturingRule
{
-private:
- size_t d_length;
- uint32_t d_pattern;
-
-protected:
-
public:
PuncturingRule(
const size_t length,
const uint32_t pattern);
- virtual ~PuncturingRule();
-// PuncturingRule(const PuncturingRule& rule);
- PuncturingRule& operator=(const PuncturingRule&);
size_t length() const { return d_length; }
size_t bit_size() const;
const uint32_t pattern() const { return d_pattern; }
-};
+private:
+ size_t d_length;
+ uint32_t d_pattern;
+};
-#endif // PUNCTURING_RULE_H