diff options
author | Matthias Braendli <matthias.braendli@u-blox.com> | 2015-06-02 12:25:40 +0200 |
---|---|---|
committer | Matthias Braendli <matthias.braendli@u-blox.com> | 2015-06-02 12:27:42 +0200 |
commit | e3cc55d32281be5dd7b7017d6dfed42be24d3cda (patch) | |
tree | c589cedc7bd1cabfdf1aee9a65f00037006e7c22 /src/InputReader.h | |
parent | 7eaba8024b95bb346247c828748d2292c226d19f (diff) | |
download | dabmod-e3cc55d32281be5dd7b7017d6dfed42be24d3cda.tar.gz dabmod-e3cc55d32281be5dd7b7017d6dfed42be24d3cda.tar.bz2 dabmod-e3cc55d32281be5dd7b7017d6dfed42be24d3cda.zip |
Logging: use etiLog instead of stderr
Diffstat (limited to 'src/InputReader.h')
-rw-r--r-- | src/InputReader.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/InputReader.h b/src/InputReader.h index c4e778b..37aa523 100644 --- a/src/InputReader.h +++ b/src/InputReader.h @@ -87,9 +87,9 @@ class InputReader class InputFileReader : public InputReader { public: - InputFileReader(Logger logger) : + InputFileReader() : streamtype_(ETI_STREAM_TYPE_NONE), - inputfile_(NULL), logger_(logger) {}; + inputfile_(NULL) { } ~InputFileReader() { @@ -128,7 +128,6 @@ class InputFileReader : public InputReader std::string filename_; EtiStreamType streamtype_; FILE* inputfile_; - Logger logger_; size_t inputfilelength_; uint64_t nbframes_; // 64-bit because 32-bit overflow is @@ -184,8 +183,8 @@ class InputZeroMQWorker class InputZeroMQReader : public InputReader { public: - InputZeroMQReader(Logger logger) : - logger_(logger), in_messages_(10) + InputZeroMQReader() : + in_messages_(10) { workerdata_.in_messages = &in_messages_; workerdata_.running = false; @@ -203,7 +202,6 @@ class InputZeroMQReader : public InputReader void PrintInfo(); private: - Logger logger_; InputZeroMQReader(const InputZeroMQReader& other); InputZeroMQReader& operator=(const InputZeroMQReader& other); std::string uri_; |