Add is_receiving function to ZmqRecvModule

This commit is contained in:
2020-04-08 15:38:27 +02:00
parent c06310fe0e
commit 9512dd1522
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@ public:
void start_recv(const std::string& connect_address,
const uint8_t n_receiving_threads);
void stop_recv();
bool is_receiving();
void start_saving();
void stop_saving_and_clear_buffer();
+5
View File
@@ -84,6 +84,11 @@ void ZmqRecvModule::stop_recv()
receiving_threads_.clear();
}
bool ZmqRecvModule::is_receiving()
{
return is_receiving_;
}
void ZmqRecvModule::start_saving()
{
#ifdef DEBUG_OUTPUT