#include <DerivativeSignal.hpp>
◆ DerivativeSignal() [1/3]
geopm::DerivativeSignal::DerivativeSignal |
( |
std::shared_ptr< Signal > |
time_sig, |
|
|
std::shared_ptr< Signal > |
y_sig, |
|
|
int |
read_loops, |
|
|
double |
sleep_time |
|
) |
| |
◆ DerivativeSignal() [2/3]
geopm::DerivativeSignal::DerivativeSignal |
( |
std::shared_ptr< Signal > |
time_sig, |
|
|
std::shared_ptr< Signal > |
y_sig, |
|
|
int |
read_loops, |
|
|
double |
sleep_time, |
|
|
double |
nan_replace |
|
) |
| |
◆ DerivativeSignal() [3/3]
◆ ~DerivativeSignal()
virtual geopm::DerivativeSignal::~DerivativeSignal |
( |
| ) |
|
|
virtualdefault |
◆ operator=()
◆ read()
double geopm::DerivativeSignal::read |
( |
void |
| ) |
const |
|
overridevirtual |
Read directly the value of the signal without affecting any pushed batch signals.
Implements geopm::Signal.
◆ sample()
double geopm::DerivativeSignal::sample |
( |
void |
| ) |
|
|
overridevirtual |
Apply any conversions necessary to interpret the latest stored value as a double.
Implements geopm::Signal.
◆ setup_batch()
void geopm::DerivativeSignal::setup_batch |
( |
void |
| ) |
|
|
overridevirtual |
Prepare the signal for being updated through side effects by the owner's read_batch step. This method should not fail if called multiple times, and ideally only apply the side effects on the first call.
Implements geopm::Signal.
The documentation for this class was generated from the following files: