SETemporalInterpolator Class Reference

#include <SETemporalInterpolator.h>

Inherits SEProperty.

Public Member Functions

void Invalidate () override
 
bool IsValid () const override
 
double GetCurrent () const
 
void Set (double d)
 
void SetTarget (double target, double period_s)
 
void SetTransition (double initial, double target, double period_s)
 
bool Transition (double dt_s)
 
- Public Member Functions inherited from SEProperty
 SEProperty ()
 
virtual ~SEProperty ()
 
virtual void Invalidate ()=0
 
virtual bool IsValid () const =0
 

Protected Attributes

bool m_Complete = false
 
bool m_PositiveTransition = true
 
double m_Period_s
 
double m_Current = 1
 
double m_Target = 1
 
double m_Initial = 1
 

Friends

class PBProperty
 

Member Function Documentation

◆ GetCurrent()

double SETemporalInterpolator::GetCurrent ( ) const
inline

◆ Invalidate()

void SETemporalInterpolator::Invalidate ( )
overridevirtual

Implements SEProperty.

◆ IsValid()

bool SETemporalInterpolator::IsValid ( ) const
overridevirtual

Implements SEProperty.

◆ Set()

void SETemporalInterpolator::Set ( double  d)

◆ SetTarget()

void SETemporalInterpolator::SetTarget ( double  target,
double  period_s 
)

◆ SetTransition()

void SETemporalInterpolator::SetTransition ( double  initial,
double  target,
double  period_s 
)

◆ Transition()

bool SETemporalInterpolator::Transition ( double  dt_s)

Friends And Related Function Documentation

◆ PBProperty

friend class PBProperty
friend

Member Data Documentation

◆ m_Complete

bool SETemporalInterpolator::m_Complete = false
protected

◆ m_Current

double SETemporalInterpolator::m_Current = 1
protected

◆ m_Initial

double SETemporalInterpolator::m_Initial = 1
protected

◆ m_Period_s

double SETemporalInterpolator::m_Period_s
protected

◆ m_PositiveTransition

bool SETemporalInterpolator::m_PositiveTransition = true
protected

◆ m_Target

double SETemporalInterpolator::m_Target = 1
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.