Template Class ProfileGenerator#

Inheritance Relationships#

Base Type#

Derived Types#

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.

Base(const Base &other)#

Copy constructor.

Parameters:

other – Base class to copy.

Base(Base &&other) noexcept#

Move constructor.

Parameters:

other – Base class to move.