diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-06-03 17:38:02 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-06-03 17:38:02 +0200 |
commit | 23ad47277e73348bca32226d87274541e56bbebb (patch) | |
tree | 354e94ea4ae79821455410fa3a808b6c0b070485 /src/InputReader.h | |
parent | 5cfd2ac643e37605761685dbeafc99ec1fffd059 (diff) | |
parent | e3cc55d32281be5dd7b7017d6dfed42be24d3cda (diff) | |
download | dabmod-23ad47277e73348bca32226d87274541e56bbebb.tar.gz dabmod-23ad47277e73348bca32226d87274541e56bbebb.tar.bz2 dabmod-23ad47277e73348bca32226d87274541e56bbebb.zip |
Merge branch 'next' into tii
Diffstat (limited to 'src/InputReader.h')
-rw-r--r-- | src/InputReader.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/InputReader.h b/src/InputReader.h index 6156c94..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() { @@ -115,6 +115,9 @@ class InputFileReader : public InputReader } private: + InputFileReader(const InputFileReader& other); + InputFileReader& operator=(const InputFileReader& other); + int IdentifyType(); // Rewind the file, and replay anew @@ -125,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 @@ -181,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; @@ -200,8 +202,8 @@ class InputZeroMQReader : public InputReader void PrintInfo(); private: - InputZeroMQReader(const InputZeroMQReader& other) {} - Logger logger_; + InputZeroMQReader(const InputZeroMQReader& other); + InputZeroMQReader& operator=(const InputZeroMQReader& other); std::string uri_; InputZeroMQWorker worker_; |