aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-29 07:00:19 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-29 07:00:19 +0100
commit02c6e85a988149a2ee5d3f54e5120b664c5d6716 (patch)
tree34ee52f625deb2490cc47eef68c4645fbda8febc
parenta62e05c9564045044df734fd3723b3f665ad91ae (diff)
downloaddabmod-02c6e85a988149a2ee5d3f54e5120b664c5d6716.tar.gz
dabmod-02c6e85a988149a2ee5d3f54e5120b664c5d6716.tar.bz2
dabmod-02c6e85a988149a2ee5d3f54e5120b664c5d6716.zip
Shorten TII name() printout
-rw-r--r--src/TII.cpp12
-rw-r--r--src/TII.h4
2 files changed, 3 insertions, 13 deletions
diff --git a/src/TII.cpp b/src/TII.cpp
index 446d9c6..89cd6d0 100644
--- a/src/TII.cpp
+++ b/src/TII.cpp
@@ -160,20 +160,14 @@ TII::TII(unsigned int dabmode, const tii_config_t& tii_config, unsigned phase) :
prepare_pattern();
}
-
-TII::~TII()
-{
- PDEBUG("TII::~TII() @ %p\n", this);
-}
-
const char* TII::name()
{
// Calculate name on demand because comb and pattern are
// modifiable through RC
std::stringstream ss;
- ss << "TII(comb:" << m_conf.comb <<
- ", pattern:" << m_conf.pattern <<
- ", variant:" << (m_conf.old_variant ? "old" : "new") << ")";
+ ss << "TII(c:" << m_conf.comb <<
+ " p:" << m_conf.pattern <<
+ " vrnt:" << (m_conf.old_variant ? "old" : "new") << ")";
m_name = ss.str();
return m_name.c_str();
diff --git a/src/TII.h b/src/TII.h
index 4c5c605..b0ffdb3 100644
--- a/src/TII.h
+++ b/src/TII.h
@@ -84,9 +84,6 @@ class TII : public ModCodec, public RemoteControllable
{
public:
TII(unsigned int dabmode, const tii_config_t& tii_config, unsigned phase);
- virtual ~TII();
- TII(const TII&) = delete;
- TII& operator=(const TII&) = delete;
int process(Buffer* dataIn, Buffer* dataOut);
const char* name();
@@ -128,4 +125,3 @@ class TII : public ModCodec, public RemoteControllable
std::vector<bool> m_enabled_carriers;
};
-