DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
EndpointDesign.hpp
Go to the documentation of this file.
1
12#ifndef TIMING_INCLUDE_TIMING_ENDPOINTDESIGN_HPP_
13#define TIMING_INCLUDE_TIMING_ENDPOINTDESIGN_HPP_
14
15// PDT Headers
16#include "TimingIssues.hpp"
17#include "timing/FMCIONode.hpp"
18#include "timing/TopDesign.hpp"
20
21// uHal Headers
22#include "uhal/DerivedNode.hpp"
23
24// C++ Headers
25#include <chrono>
26#include <sstream>
27#include <string>
28
29namespace dunedaq {
30namespace timing {
31
36{
37 UHAL_DERIVEDNODE(EndpointDesign)
38public:
39 explicit EndpointDesign(const uhal::Node& node);
40 virtual ~EndpointDesign();
41
45 std::string get_status(bool print_out = false) const override;
46
47 // /**
48 // * @brief Give info to collector.
49 // */
50 // void get_info(opmonlib::InfoCollector& ci, int level) const override;
51
57 uint32_t read_firmware_version() const override; // NOLINT(build/unsigned)
58
63 void validate_firmware_version() const override;
64
69 void configure(ClockSource clock_source) const override;
70
74 void get_info(timingfirmwareinfo::TimingDeviceInfo& mon_data) const override;
75
76};
77
78} // namespace timing
79} // namespace dunedaq
80
81#endif // TIMING_INCLUDE_TIMING_ENDPOINTDESIGN_HPP_
Base class for timing endpoint design nodes.
Base class for timing endpoint design nodes.
uint32_t read_firmware_version() const override
Give info to collector.
void configure(ClockSource clock_source) const override
Prepare the timing endpoint for data taking.
void get_info(timingfirmwareinfo::TimingDeviceInfo &mon_data) const override
Give info to collector.
std::string get_status(bool print_out=false) const override
Get status string, optionally print.
void validate_firmware_version() const override
Validate endpoint firmware version.
EndpointDesign(const uhal::Node &node)
Base class for timing top design nodes with IO class.
Definition TopDesign.hpp:39
Including Qt Headers.