12#ifndef TIMING_INCLUDE_TIMING_IRIGTIMESTAMPNODE_HPP_
13#define TIMING_INCLUDE_TIMING_IRIGTIMESTAMPNODE_HPP_
21#include "uhal/DerivedNode.hpp"
43 std::string
get_status(
bool print_out =
false)
const override;
Class for timestamp generator node.
std::string get_status(bool print_out=false) const override
Print the status of the timing node.
uint64_t read_timestamp() const
Read the current timestamp words.
virtual ~IRIGTimestampNode()
IRIGTimestampNode(const uhal::Node &node)
uint64_t read_seconds_since_epoch() const
Read the current seconds since epoch words.
void set_irig_epoch(IRIGEpoch irig_epoch) const
Set IRIG epoch: TAI/UNIX.
uhal::ValVector< uint32_t > read_raw_timestamp(bool dispatch=true) const
Read the current timestamp words.
uint32_t read_pps_counter() const
Read the current pps ctr word.
Base class for timing nodes.