LimitIntegral
-
template<fgc4::utils::NumericScalar T, size_t time_window_length = 16>
class LimitIntegral : public vslib::Component Public Functions
-
inline LimitIntegral(std::string_view name, Component &parent)
Constructor of the LimitIntegral Component, initializes limit and window length Parameters.
-
inline bool limit(const T input) noexcept
Checks for the cumulative (integral) limit.
- Parameters:
input – Numerical input to be checked
- Returns:
True if the provided value does not violate the integral limit threshold, false otherwise
-
inline void reset() noexcept
Resets the component to the initial state of buffers, buffer pointers, and the cumulative value.
-
inline LimitIntegral(std::string_view name, Component &parent)