summaryrefslogtreecommitdiffstats
path: root/src/OutputFile.h
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2013-11-10 21:50:12 +0100
committerMatthias P. Braendli (think) <matthias@mpb.li>2013-11-10 21:50:12 +0100
commit5d965e80be2e6ab62bc82fb2e0d4d472153ad241 (patch)
tree5add36f337b0de524b3d098f0b1fcc8d68aba0d7 /src/OutputFile.h
parent4f9a01a80570437b86e69eb0542b13df9a20743d (diff)
downloaddabmod-5d965e80be2e6ab62bc82fb2e0d4d472153ad241.tar.gz
dabmod-5d965e80be2e6ab62bc82fb2e0d4d472153ad241.tar.bz2
dabmod-5d965e80be2e6ab62bc82fb2e0d4d472153ad241.zip
crc-dabmod: add ZeroMQ input module
Diffstat (limited to 'src/OutputFile.h')
-rw-r--r--src/OutputFile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/OutputFile.h b/src/OutputFile.h
index 1223aef..e4cd91f 100644
--- a/src/OutputFile.h
+++ b/src/OutputFile.h
@@ -29,6 +29,7 @@
#include "ModOutput.h"
+#include <string>
#include <stdio.h>
#include <sys/types.h>
@@ -36,14 +37,14 @@
class OutputFile : public ModOutput
{
public:
- OutputFile(const char* filename);
+ OutputFile(std::string filename);
virtual ~OutputFile();
virtual int process(Buffer* dataIn, Buffer* dataOut);
const char* name() { return "OutputFile"; }
protected:
- const char* myFilename;
+ std::string myFilename;
FILE* myFile;
};