DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
ChronosDesign.hpp
Go to the documentation of this file.
1
12#ifndef TIMING_INCLUDE_TIMING_CHRONOSDESIGN_HPP_
13#define TIMING_INCLUDE_TIMING_CHRONOSDESIGN_HPP_
14
15// Timing Headers
16#include "timing/HSINode.hpp"
18#include "timing/TopDesign.hpp"
19
20// uHal Headers
21#include "uhal/DerivedNode.hpp"
22
23// C++ Headers
24#include <chrono>
25#include <sstream>
26#include <string>
27
28namespace dunedaq {
29namespace timing {
30
35{
36 UHAL_DERIVEDNODE(ChronosDesign)
37public:
38 explicit ChronosDesign(const uhal::Node& node);
39 virtual ~ChronosDesign();
40
44 std::string get_status(bool print_out = false) const override;
45
50 void configure(ClockSource clock_source) const override;
51
57 uint32_t read_firmware_version() const override { // NOLINT(build/unsigned)
58 // current chronos firmware does not store firmware version
59 return 0;
60 }
61
66 void validate_firmware_version() const override {} // current chronos firmware does not store firmware version
67
71 void get_info(timingfirmwareinfo::TimingDeviceInfo& mon_data) const override;
72};
73
74} // namespace timing
75} // namespace dunedaq
76
77#endif // TIMING_INCLUDE_TIMING_CHRONOSDESIGN_HPP_
Class for timing master with integrated HSI designs.
uint32_t read_firmware_version() const override
Read endpoint firmware version.
ChronosDesign(const uhal::Node &node)
std::string get_status(bool print_out=false) const override
Get status string, optionally print.
void configure(ClockSource clock_source) const override
Prepare the timing endpoint for data taking.
void validate_firmware_version() const override
Validate endpoint firmware version.
void get_info(timingfirmwareinfo::TimingDeviceInfo &mon_data) const override
Give info to collector.
Base class for timing hsi design nodes.
Base class for timing top design nodes with IO class.
Definition TopDesign.hpp:39
Including Qt Headers.