| helics 3.6.1

Public Member Functions | List of all members
helics::apps::RampGenerator Class Reference

`#include <SignalGenerators.hpp>`

Inheritance diagram for helics::apps::RampGenerator:

## Public Member Functions
| RampGenerator (std::string_view name)
virtual void | set (std::string_view parameter, double val) override
virtual defV | generate (Time signalTime) override
Public Member Functions inherited from helics::apps::SignalGenerator
| SignalGenerator (std::string_view name)
virtual void | setString (std::string_view parameter, std::string_view val)
void | setTime (Time indexTime)
const std::string & | getName ()

## Additional Inherited Members
Protected Attributes inherited from helics::apps::SignalGenerator
Time | lastTime {timeZero}
Time | keyTime {timeZero}
std::string | mName

## Detailed Description

generate a ramp function

## Member Function Documentation

## ◆ generate()

defV helics::apps::RampGenerator::generate | ( | Time | signalTime | ) |
| override virtual

generate a new value at time signalTime

Returns
  a value and a defV object

Implements helics::apps::SignalGenerator.

## ◆ set()

void helics::apps::RampGenerator::set | ( | std::string_view | parameter,
|  | double | val
| ) |  |
| override virtual

set a numerical parameter

Reimplemented from helics::apps::SignalGenerator.

References helics::apps::SignalGenerator::set().

The documentation for this class was generated from the following files:

- SignalGenerators.hpp
- SignalGenerators.cpp