6 #ifndef SIGNAL_HPP_INCLUDE
7 #define SIGNAL_HPP_INCLUDE
30 virtual double read(
void)
const = 0;
Definition: Signal.hpp:16
virtual ~Signal()=default
virtual bool is_sampled(void) const
True if the signal has been sampled during this batch.
Definition: Signal.hpp:34
virtual double read(void) const =0
Read directly the value of the signal without affecting any pushed batch signals.
virtual void setup_batch(void)=0
Prepare the signal for being updated through side effects by the owner's read_batch step....
virtual void set_sample(double)
Set the value to be returned by sample()
Definition: Signal.hpp:32
virtual double sample(void)=0
Apply any conversions necessary to interpret the latest stored value as a double.