DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
CDCLVD110Node.cpp
Go to the documentation of this file.
1
10
11#include "logging/Logging.hpp"
12
13#include <string>
14#include <chrono>
15
16namespace dunedaq {
17namespace timing {
18
19UHAL_REGISTER_DERIVED_NODE(CDCLVD110Node)
20
21//-----------------------------------------------------------------------------
22CDCLVD110Node::CDCLVD110Node(const uhal::Node& node)
24{}
25//-----------------------------------------------------------------------------
26
27//-----------------------------------------------------------------------------
29//-----------------------------------------------------------------------------
30
31//-----------------------------------------------------------------------------
32std::string
33CDCLVD110Node::get_status(bool print_out) const
34{
35 std::stringstream status;
36 //auto subnodes = read_sub_nodes(getNode("csr.stat"));
37 //status << format_reg_table(subnodes, "CDCLVD110Node state");
38 status << "CDCLVD110Node state"; //TODO: implement
39 if (print_out)
40 TLOG() << status.str();
41 return status.str();
42}
43//-----------------------------------------------------------------------------
44
45//-----------------------------------------------------------------------------
46void // NOLINT(build/unsigned)
48{
49 mon_data.lol = false; // no monitoring of this in CDCLVD110
50 mon_data.los = false;
51}
52//-----------------------------------------------------------------------------
53
54} // namespace timing
55} // namespace dunedaq
uhal::Node implementing CDCLVD110 interface
std::string get_status(bool print_out=false) const override
Get status string, optionally print.
void get_info(timinghardwareinfo::TimingPLLMonitorData &mon_data) const override
Get status string, optionally print.
uhal::Node implementing clock gen. interface
#define TLOG(...)
Definition macro.hpp:22
Including Qt Headers.