#include <Modifiers.hpp>
Inherits AbstractModifier.
Public Member Functions | |
FixedModifier (double value) | |
virtual double | Calc (double param, double time) |
Private Attributes | |
double | mValue |
This class just returns a fixed value, regardless of the parameter's default or the time.
Definition at line 96 of file Modifiers.hpp.
FixedModifier::FixedModifier | ( | double | value | ) | [inline] |
Perform the modification.
param | the current value of the quantity which is being modified | |
time | the current simulation time |
Implements AbstractModifier.
Definition at line 119 of file Modifiers.hpp.
References mValue.
double FixedModifier::mValue [private] |
Fixed value to clamp parameter at
Definition at line 100 of file Modifiers.hpp.
Referenced by Calc().