Template Class ProfileGenerator#
Defined in File ProfileGenerator.h
Inheritance Relationships#
Base Type#
public Karana::Core::Base(Class Base)
Derived Types#
public Karana::Models::ConstantProfileGenerator< T >(Template Class ConstantProfileGenerator)public Karana::Models::LinearProfileGenerator< T >(Template Class LinearProfileGenerator)
Class Documentation#
-
template<typename T>
class ProfileGenerator : public Karana::Core::Base# ProfileGenerator base class.
- Template Parameters:
T – The type that the ProfileGenerator produces, e.g., double, UnitQuaternion, etc.
Subclassed by Karana::Models::ConstantProfileGenerator< T >, Karana::Models::LinearProfileGenerator< T >
Public Functions
-
virtual const T &getValue(const Karana::Math::Ktime &t) = 0#
Get the profile value for the provided time.
- Parameters:
t – The current time
- Returns:
The profile value at the provided time.
-
Base(std::string_view name, const ks_ptr<BaseContainer> &container = nullptr)#
Base class constructor.
- Parameters:
name – Name for the base class.
container – The container to add the Base too. If none is specified, the default singleton container will be used.