mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-12-01 01:27:48 +01:00
Add destructor to Recv Module
This commit is contained in:
1 parent
d5258f546e
commit
b75596e8a0
2 files changed
+7
No files matched your search
@@ -24,6 +24,8 @@ public:
|
||||
RingBuffer& ring_buffer,
|
||||
const header_map& header_values);
|
||||
|
||||
virtual ~ZmqRecvModule();
|
||||
|
||||
void start_recv(const std::string& connect_address,
|
||||
const uint8_t n_receiving_threads);
|
||||
void stop_recv();
|
||||
|
||||
@@ -15,6 +15,11 @@ ZmqRecvModule::ZmqRecvModule(
|
||||
is_saving_(false)
|
||||
{}
|
||||
|
||||
ZmqRecvModule::~ZmqRecvModule()
|
||||
{
|
||||
stop_recv();
|
||||
}
|
||||
|
||||
void ZmqRecvModule::start_recv(
|
||||
const string& connect_address,
|
||||
const uint8_t n_receiving_threads)
|
||||
|
||||
Reference in new issue
Block a user