DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Base class for timing IO nodes. More...
#include <EndpointNode.hpp>
Public Member Functions | |
EndpointNode (const uhal::Node &node) | |
virtual | ~EndpointNode () |
std::string | get_status (bool print_out=false) const override |
Print the status of the timing node. | |
void | enable (uint32_t address=0, uint32_t partition=0) const override |
Enable the endpoint. | |
void | disable () const override |
Disable the endpoint. | |
void | reset (uint32_t address=0, uint32_t partition=0) const override |
Reset the endpoint. | |
virtual uint64_t | read_timestamp () const |
Read the current timestamp word. | |
void | get_info (timingendpointinfo::TimingEndpointInfo &mon_data) const override |
Read the endpoint clock frequency. | |
![]() | |
EndpointNodeInterface (const uhal::Node &node) | |
virtual | ~EndpointNodeInterface () |
virtual bool | endpoint_ready () const |
Get endpoint ready flag. | |
virtual uint32_t | read_endpoint_state () const |
Get endpoint state. | |
![]() | |
TimingNode (const uhal::Node &node) | |
virtual | ~TimingNode () |
std::map< std::string, uhal::ValWord< uint32_t > > | read_sub_nodes (const uhal::Node &node, bool dispatch=true) const |
Read subnodes. | |
void | reset_sub_nodes (const uhal::Node &node, uint32_t aValue=0x0, bool dispatch=true) const |
Reset subnodes. | |
Static Public Member Functions | |
static std::map< uint8_t, std::string > | get_endpoint_state_map () |
Get the states map. | |
Static Protected Attributes | |
static const std::map< uint8_t, std::string > | endpoint_state_map |
Base class for timing IO nodes.
Definition at line 35 of file EndpointNode.hpp.
|
explicit |
Definition at line 24 of file EndpointNode.cpp.
|
virtual |
Definition at line 30 of file EndpointNode.cpp.
|
overridevirtual |
Disable the endpoint.
Implements dunedaq::timing::EndpointNodeInterface.
Definition at line 73 of file EndpointNode.cpp.
|
overridevirtual |
Enable the endpoint.
Implements dunedaq::timing::EndpointNodeInterface.
Definition at line 35 of file EndpointNode.cpp.
|
inlinestatic |
Get the states map.
Definition at line 91 of file EndpointNode.hpp.
|
overridevirtual |
Read the endpoint clock frequency.
Collect monitoring information for timing endpoint
Reimplemented from dunedaq::timing::EndpointNodeInterface.
Definition at line 158 of file EndpointNode.cpp.
|
overridevirtual |
Print the status of the timing node.
Implements dunedaq::timing::TimingNode.
Definition at line 99 of file EndpointNode.cpp.
|
virtual |
Read the current timestamp word.
Definition at line 148 of file EndpointNode.cpp.
|
overridevirtual |
Reset the endpoint.
Implements dunedaq::timing::EndpointNodeInterface.
Definition at line 83 of file EndpointNode.cpp.
|
inlinestaticprotected |
Definition at line 94 of file EndpointNode.hpp.