DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
VLCmdGeneratorNode.hpp
Go to the documentation of this file.
1
12#ifndef TIMING_INCLUDE_TIMING_VLCMDGENERATORNODE_HPP_
13#define TIMING_INCLUDE_TIMING_VLCMDGENERATORNODE_HPP_
14
15// PDT Headers
16#include "timing/TimingNode.hpp"
17
18// uHal Headers
19#include "uhal/DerivedNode.hpp"
20
21#include <string>
22
23namespace dunedaq {
24namespace timing {
25
30{
31 UHAL_DERIVEDNODE(VLCmdGeneratorNode)
32public:
33 explicit VLCmdGeneratorNode(const uhal::Node& node);
34 virtual ~VLCmdGeneratorNode();
35
39 std::string get_status(bool print_out = false) const override;
40
44 void switch_endpoint_sfp(uint32_t address, bool enable = false) const; // NOLINT(build/unsigned)
45
49 void apply_endpoint_delay(uint32_t address, // NOLINT(build/unsigned)
50 uint32_t coarse_delay, // NOLINT(build/unsigned)
51 uint32_t fine_delay, // NOLINT(build/unsigned)
52 uint32_t phase_delay) const; // NOLINT(build/unsigned)
53};
54
55} // namespace timing
56} // namespace dunedaq
57
58#endif // TIMING_INCLUDE_TIMING_VLCMDGENERATORNODE_HPP_
Base class for timing nodes.
Class for master global node.
void switch_endpoint_sfp(uint32_t address, bool enable=false) const
Control the endpoint sfp tx laser.
std::string get_status(bool print_out=false) const override
Print the status of the timing node.
void apply_endpoint_delay(uint32_t address, uint32_t coarse_delay, uint32_t fine_delay, uint32_t phase_delay) const
Adjust endpoint delay.
Including Qt Headers.