DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Class for timestamp generator node. More...
#include <IRIGTimestampNode.hpp>
Public Member Functions | |
IRIGTimestampNode (const uhal::Node &node) | |
virtual | ~IRIGTimestampNode () |
std::string | get_status (bool print_out=false) const override |
Print the status of the timing node. | |
uhal::ValVector< uint32_t > | read_raw_timestamp (bool dispatch=true) const |
Read the current timestamp words. | |
uint64_t | read_timestamp () const |
Read the current timestamp words. | |
void | set_irig_epoch (IRIGEpoch irig_epoch) const |
Set IRIG epoch: TAI/UNIX. | |
uint32_t | read_pps_counter () const |
Read the current pps ctr word. | |
uint64_t | read_seconds_since_epoch () const |
Read the current seconds since epoch words. | |
![]() | |
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. | |
Class for timestamp generator node.
Definition at line 33 of file IRIGTimestampNode.hpp.
|
explicit |
Definition at line 22 of file IRIGTimestampNode.cpp.
|
virtual |
Definition at line 28 of file IRIGTimestampNode.cpp.
|
overridevirtual |
Print the status of the timing node.
Implements dunedaq::timing::TimingNode.
Definition at line 33 of file IRIGTimestampNode.cpp.
uint32_t dunedaq::timing::IRIGTimestampNode::read_pps_counter | ( | ) | const |
Read the current pps ctr word.
Definition at line 92 of file IRIGTimestampNode.cpp.
uhal::ValVector< uint32_t > dunedaq::timing::IRIGTimestampNode::read_raw_timestamp | ( | bool | dispatch = true | ) | const |
Read the current timestamp words.
Definition at line 62 of file IRIGTimestampNode.cpp.
uint64_t dunedaq::timing::IRIGTimestampNode::read_seconds_since_epoch | ( | ) | const |
Read the current seconds since epoch words.
Definition at line 102 of file IRIGTimestampNode.cpp.
uint64_t dunedaq::timing::IRIGTimestampNode::read_timestamp | ( | ) | const |
Read the current timestamp words.
Definition at line 73 of file IRIGTimestampNode.cpp.
void dunedaq::timing::IRIGTimestampNode::set_irig_epoch | ( | IRIGEpoch | irig_epoch | ) | const |
Set IRIG epoch: TAI/UNIX.
Definition at line 81 of file IRIGTimestampNode.cpp.