Used by PlatformIO to define a signal as a function of other signals.
More...
#include <CombinedSignal.hpp>
Used by PlatformIO to define a signal as a function of other signals.
◆ CombinedSignal() [1/2]
geopm::CombinedSignal::CombinedSignal |
( |
| ) |
|
◆ CombinedSignal() [2/2]
geopm::CombinedSignal::CombinedSignal |
( |
std::function< double(const std::vector< double > &)> |
func | ) |
|
◆ ~CombinedSignal()
virtual geopm::CombinedSignal::~CombinedSignal |
( |
| ) |
|
|
virtualdefault |
◆ sample()
double geopm::CombinedSignal::sample |
( |
const std::vector< double > & |
values | ) |
|
|
virtual |
Sample all required signals and aggregate values to produce the combined signal.
◆ m_agg_function
std::function<double(const std::vector<double> &)> geopm::CombinedSignal::m_agg_function |
The documentation for this class was generated from the following files: