DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
SwitchyardNode.hpp
Go to the documentation of this file.
1
12#ifndef TIMING_INCLUDE_TIMING_SWITCHYARDNODE_HPP_
13#define TIMING_INCLUDE_TIMING_SWITCHYARDNODE_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(SwitchyardNode)
32public:
33 explicit SwitchyardNode(const uhal::Node& node);
34 virtual ~SwitchyardNode();
35
39 std::string get_status(bool print_out = false) const override;
40
44 void configure_master_source(uint8_t master_source, bool dispatch=true) const; // NOLINT(build/unsigned)
45
49 void configure_endpoint_source(uint8_t endpoint_source, bool dispatch=true) const; // NOLINT(build/unsigned)
50
51};
52
53} // namespace timing
54} // namespace dunedaq
55
56#endif // TIMING_INCLUDE_TIMING_SWITCHYARDNODE_HPP_
Class for master global node.
void configure_endpoint_source(uint8_t endpoint_source, bool dispatch=true) const
Configure endpoint source.
SwitchyardNode(const uhal::Node &node)
void configure_master_source(uint8_t master_source, bool dispatch=true) const
Configure master source.
std::string get_status(bool print_out=false) const override
Print the status of the timing node.
Base class for timing nodes.
Including Qt Headers.