summaryrefslogtreecommitdiffstats
path: root/src/InputZeroMQReader.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-03-20 14:42:22 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-03-20 14:42:22 +0100
commit4422ab97c43e13735d274219a2957aae7ec60d76 (patch)
treef85e6899bb832f93060921cb06f45cd7eefa2ada /src/InputZeroMQReader.cpp
parent645b9e87fc5dab2cf87bfef1d5b2ba2ce2f85089 (diff)
downloaddabmod-4422ab97c43e13735d274219a2957aae7ec60d76.tar.gz
dabmod-4422ab97c43e13735d274219a2957aae7ec60d76.tar.bz2
dabmod-4422ab97c43e13735d274219a2957aae7ec60d76.zip
Stop using fprintf in input information
Diffstat (limited to 'src/InputZeroMQReader.cpp')
-rw-r--r--src/InputZeroMQReader.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/InputZeroMQReader.cpp b/src/InputZeroMQReader.cpp
index e1e1c6d..c7dfd84 100644
--- a/src/InputZeroMQReader.cpp
+++ b/src/InputZeroMQReader.cpp
@@ -134,10 +134,9 @@ int InputZeroMQReader::GetNextFrame(void* buffer)
return framesize;
}
-void InputZeroMQReader::PrintInfo() const
+std::string InputZeroMQReader::GetPrintableInfo() const
{
- fprintf(stderr, "Input ZeroMQ:\n");
- fprintf(stderr, " Receiving from %s\n\n", m_uri.c_str());
+ return "Input ZeroMQ: Receiving from " + m_uri;
}
void InputZeroMQReader::RecvProcess()