diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-07-24 16:29:18 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-07-24 16:29:18 +0200 |
commit | bdde4ddf6963eed59d6830ca648edf3548ed7d7d (patch) | |
tree | 5afb7d31ed8a407f2e4fc5e9b09ca5e04afe6147 /src/fig/FIG1.h | |
parent | c336362fab1711126d1b548486105e09de9d69a0 (diff) | |
download | dabmux-bdde4ddf6963eed59d6830ca648edf3548ed7d7d.tar.gz dabmux-bdde4ddf6963eed59d6830ca648edf3548ed7d7d.tar.bz2 dabmux-bdde4ddf6963eed59d6830ca648edf3548ed7d7d.zip |
Change FIG interface function signatures
Diffstat (limited to 'src/fig/FIG1.h')
-rw-r--r-- | src/fig/FIG1.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/fig/FIG1.h b/src/fig/FIG1.h index 2ae0bfb..2cca8d5 100644 --- a/src/fig/FIG1.h +++ b/src/fig/FIG1.h @@ -40,10 +40,10 @@ class FIG1_0 : public IFIG FIG1_0(FIGRuntimeInformation* rti) : m_rti(rti) {} virtual FillStatus fill(uint8_t *buf, size_t max_size); - virtual FIG_rate repetition_rate(void) { return FIG_rate::B; } + virtual FIG_rate repetition_rate() const { return FIG_rate::B; } - virtual const int figtype(void) const { return 1; } - virtual const int figextension(void) const { return 0; } + virtual int figtype() const { return 1; } + virtual int figextension() const { return 0; } private: FIGRuntimeInformation *m_rti; @@ -56,10 +56,10 @@ class FIG1_1 : public IFIG FIG1_1(FIGRuntimeInformation* rti) : m_rti(rti), m_initialised(false) {} virtual FillStatus fill(uint8_t *buf, size_t max_size); - virtual FIG_rate repetition_rate(void) { return FIG_rate::B; } + virtual FIG_rate repetition_rate() const { return FIG_rate::B; } - virtual const int figtype(void) const { return 1; } - virtual const int figextension(void) const { return 1; } + virtual int figtype() const { return 1; } + virtual int figextension() const { return 1; } private: FIGRuntimeInformation *m_rti; @@ -74,10 +74,10 @@ class FIG1_4 : public IFIG FIG1_4(FIGRuntimeInformation* rti) : m_rti(rti), m_initialised(false) {} virtual FillStatus fill(uint8_t *buf, size_t max_size); - virtual FIG_rate repetition_rate(void) { return FIG_rate::B; } + virtual FIG_rate repetition_rate() const { return FIG_rate::B; } - virtual const int figtype(void) const { return 1; } - virtual const int figextension(void) const { return 4; } + virtual int figtype() const { return 1; } + virtual int figextension() const { return 4; } private: FIGRuntimeInformation *m_rti; @@ -92,10 +92,10 @@ class FIG1_5 : public IFIG FIG1_5(FIGRuntimeInformation* rti) : m_rti(rti), m_initialised(false) {} virtual FillStatus fill(uint8_t *buf, size_t max_size); - virtual FIG_rate repetition_rate(void) { return FIG_rate::B; } + virtual FIG_rate repetition_rate() const { return FIG_rate::B; } - virtual const int figtype(void) const { return 1; } - virtual const int figextension(void) const { return 5; } + virtual int figtype() const { return 1; } + virtual int figextension() const { return 5; } private: FIGRuntimeInformation *m_rti; |