Class constant_waveform

Inheritance Relationships

Base Type

Class Documentation

class constant_waveform : public rcppsw::control::base_waveform

A special waveform that always returns a constant value: the amplitude of the waveform config it was passed during construction. All other parameters are ignored.

Public Functions

inline explicit constant_waveform(const struct config::waveform_config *const config)
inline virtual double value(double) override

Get the current value of the waveform at time t.