diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-01-06 17:08:17 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-01-06 17:08:17 +0100 |
commit | f81473031810253f5b78fd02c2df04a5a204099b (patch) | |
tree | 720cb055951f1351412ac5a838d8b136bcca09a4 /src/EtiReader.h | |
parent | 2dac8f5fa6d63a71a726ec373af9bf45f22de8b7 (diff) | |
download | dabmod-f81473031810253f5b78fd02c2df04a5a204099b.tar.gz dabmod-f81473031810253f5b78fd02c2df04a5a204099b.tar.bz2 dabmod-f81473031810253f5b78fd02c2df04a5a204099b.zip |
Fix ETI-over-TCP and ZeroMQ inputs
Diffstat (limited to 'src/EtiReader.h')
-rw-r--r-- | src/EtiReader.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/EtiReader.h b/src/EtiReader.h index 78f0d3d..cd04a16 100644 --- a/src/EtiReader.h +++ b/src/EtiReader.h @@ -70,7 +70,11 @@ public: virtual unsigned getMode(); virtual unsigned getFp(); - int process(const Buffer* dataIn); + + /* Read ETI data from dataIn. Returns the number of bytes + * read from the buffer + */ + int loadEtiData(const Buffer& dataIn); virtual void calculateTimestamp(struct frame_timestamp& ts) { |