Documentation
Tools for embedded systems
|
Delays the input by a specified amount of time. You can use this class to simulate a time delay. More...
#include <ltisys.hpp>
Public Member Functions | |
transportDelay (const real_t initValue=0.0_re) | |
Constructor for the transportDelay class. | |
real_t | operator() (const real_t xInput) noexcept |
Delays the input by a specified amount of time. | |
Delays the input by a specified amount of time. You can use this class to simulate a time delay.
numberOfDelay | The number of discrete delays to be used. Use the delayFromTime() function to determine the number of discrete delays required for a specified amount of time. Example : transportDelay<delayFromTime( 2.5f, dt )> myDelay1;
Delays the input by a specified amount of time. You can use this class to simulate a time delay. Definition ltisys.hpp:112 constexpr size_t delayFromTime(const real_t Time, const real_t dt) Computes the number of discrete delays required for a specified amount of time using a defined time-s... Definition ltisys.hpp:94 |
|
inline |
Constructor for the transportDelay class.
[in] | initValue | The output generated by the block between the start of the simulation and the Time delay. |
|
inlinenoexcept |
Delays the input by a specified amount of time.
[in] | xInput | The signal to be delayed. |