Line data Source code
1 : /**
2 : * @file ClockGeneratorInterface.hpp
3 : *
4 : * ClockGeneratorInterface is a class providing an interface
5 : * to the physical CDCLVD110 IC.
6 : *
7 : * This is part of the DUNE DAQ Software Suite, copyright 2020.
8 : * Licensing/copyright details are in the COPYING file that you should have
9 : * received with this code.
10 : */
11 :
12 : #ifndef TIMING_INCLUDE_TIMING_CLOCKGENERATORINTERFACE_HPP_
13 : #define TIMING_INCLUDE_TIMING_CLOCKGENERATORINTERFACE_HPP_
14 :
15 : #include "timing/TimingNode.hpp"
16 :
17 : #include "timing/timinghardwareinfo/Structs.hpp"
18 : #include "timing/timinghardwareinfo/Nljs.hpp"
19 :
20 : #include "ers/Issue.hpp"
21 :
22 : #include <string>
23 :
24 : namespace dunedaq {
25 : namespace timing {
26 :
27 : /**
28 : * @class ClockGeneratorInterface
29 : *
30 : * @brief uhal::Node implementing clock gen. interface
31 : */
32 : class ClockGeneratorInterface : public TimingNode
33 : {
34 : public:
35 0 : explicit ClockGeneratorInterface(const uhal::Node& node) : TimingNode(node) {}
36 0 : virtual ~ClockGeneratorInterface() {}
37 :
38 : /**
39 : * @brief Get status string, optionally print.
40 : */
41 : virtual void get_info(timinghardwareinfo::TimingPLLMonitorData& mon_data) const = 0;
42 : };
43 :
44 : } // namespace timing
45 : } // namespace dunedaq
46 :
47 : #endif // TIMING_INCLUDE_TIMING_CLOCKGENERATORINTERFACE_HPP_
|