DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
wibmod
src
WIBCommon.cpp
Go to the documentation of this file.
1
11
#include "
wibmod/WIBCommon.hpp
"
12
13
#include "
logging/Logging.hpp
"
14
15
#include <string>
16
17
namespace
dunedaq
{
18
namespace
wibmod {
19
20
WIBCommon::WIBCommon
(
const
std::string &wib_addr) :
21
context(1),
22
socket(context, ZMQ_REQ)
23
{
24
socket.connect(wib_addr);
// tcp://192.168.121.*:1234
25
TLOG_DEBUG
(0) << wib_addr <<
" Connected!"
;
26
}
27
28
WIBCommon::~WIBCommon
()
29
{
30
socket.close();
31
}
32
33
}
// namespace wibmod
34
}
// namespace dunedaq
WIBCommon.hpp
dunedaq::wibmod::WIBCommon::~WIBCommon
~WIBCommon()
Definition
WIBCommon.cpp:28
dunedaq::wibmod::WIBCommon::WIBCommon
WIBCommon(const std::string &wib_addr)
Definition
WIBCommon.cpp:20
Logging.hpp
TLOG_DEBUG
#define TLOG_DEBUG(lvl,...)
Definition
Logging.hpp:112
dunedaq
Including Qt Headers.
Definition
TimingController.hxx:1
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0