summaryrefslogtreecommitdiffstats
path: root/src/OutputZeroMQ.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-25 21:34:03 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-25 21:34:03 +0100
commit2bba7d602744ccd6dab26940661f0fdfbf231af8 (patch)
tree590a5808497da3b621e29239cd56db6c89c2d6a9 /src/OutputZeroMQ.h
parentb5fd4a6ab6ac92af2141233f802e71c861cd89f4 (diff)
downloaddabmod-2bba7d602744ccd6dab26940661f0fdfbf231af8.tar.gz
dabmod-2bba7d602744ccd6dab26940661f0fdfbf231af8.tar.bz2
dabmod-2bba7d602744ccd6dab26940661f0fdfbf231af8.zip
Refactor flowgraph and puncturing rules
Diffstat (limited to 'src/OutputZeroMQ.h')
-rw-r--r--src/OutputZeroMQ.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/OutputZeroMQ.h b/src/OutputZeroMQ.h
index 85f85a7..3107225 100644
--- a/src/OutputZeroMQ.h
+++ b/src/OutputZeroMQ.h
@@ -2,7 +2,7 @@
Copyright (C) 2007, 2008, 2009, 2010, 2011 Her Majesty the Queen in
Right of Canada (Communications Research Center Canada)
- Copyright (C) 2014
+ Copyright (C) 2016
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -24,8 +24,7 @@
along with ODR-DabMod. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef OUTPUT_ZEROMQ_H
-#define OUTPUT_ZEROMQ_H
+#pragma once
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -33,7 +32,7 @@
#if defined(HAVE_ZEROMQ)
-#include "ModOutput.h"
+#include "ModPlugin.h"
#include "zmq.hpp"
class OutputZeroMQ : public ModOutput
@@ -41,7 +40,7 @@ class OutputZeroMQ : public ModOutput
public:
OutputZeroMQ(std::string endpoint, int type, Buffer* dataOut = NULL);
virtual ~OutputZeroMQ();
- virtual int process(Buffer* dataIn, Buffer* dataOut);
+ virtual int process(Buffer* dataIn);
const char* name() { return m_name.c_str(); }
protected:
@@ -57,5 +56,3 @@ class OutputZeroMQ : public ModOutput
#endif // HAVE_ZEROMQ
-#endif // OUTPUT_ZEROMQ_H
-