WSF
WsfL16::IntervalUpdater Class Reference

#include <IntervalUpdater.hpp>

Public Member Functions

 IntervalUpdater ()
 IntervalUpdater (double aTimeInterval)
 IntervalUpdater (const IntervalUpdater &aSrc)
virtual ~IntervalUpdater ()
IntervalUpdateroperator= (const IntervalUpdater &aRhs)=delete
double GetUpdateInterval () const
void SetUpdateInterval (double aUpdateInterval)
double GetLastUpdateTime ()
virtual void Update (double aSimTime)
void Initialize (double aSimTime, WsfSimulation &aSimulation, bool aAutoStart=true)
 Begins creating the update events.
bool ProcessInput (UtInput &aInput)
double UpdatePrivate (double aSimTime)
void TurnOn (double aSimTime)
void TurnOff (double aSimTime)

Public Attributes

UtCallbackListN< void(double)> OnUpdate

Constructor & Destructor Documentation

◆ IntervalUpdater() [1/3]

WsfL16::IntervalUpdater::IntervalUpdater ( )

Referenced by IntervalUpdater(), and operator=().

◆ IntervalUpdater() [2/3]

WsfL16::IntervalUpdater::IntervalUpdater ( double aTimeInterval)
explicit

◆ IntervalUpdater() [3/3]

WsfL16::IntervalUpdater::IntervalUpdater ( const IntervalUpdater & aSrc)

References IntervalUpdater().

◆ ~IntervalUpdater()

WsfL16::IntervalUpdater::~IntervalUpdater ( )
virtual

Member Function Documentation

◆ GetLastUpdateTime()

double WsfL16::IntervalUpdater::GetLastUpdateTime ( )
inline

◆ GetUpdateInterval()

double WsfL16::IntervalUpdater::GetUpdateInterval ( ) const
inline

◆ Initialize()

void WsfL16::IntervalUpdater::Initialize ( double aSimTime,
WsfSimulation & aSimulation,
bool aAutoStart = true )

Begins creating the update events.

References WsfObserver::SimulationComplete().

◆ operator=()

IntervalUpdater & WsfL16::IntervalUpdater::operator= ( const IntervalUpdater & aRhs)
delete

References IntervalUpdater().

◆ ProcessInput()

bool WsfL16::IntervalUpdater::ProcessInput ( UtInput & aInput)

◆ SetUpdateInterval()

void WsfL16::IntervalUpdater::SetUpdateInterval ( double aUpdateInterval)

Changes the update interval. Change will take effect immediately if called within Update(), otherwise, next time Update() is called.

◆ TurnOff()

void WsfL16::IntervalUpdater::TurnOff ( double aSimTime)

◆ TurnOn()

void WsfL16::IntervalUpdater::TurnOn ( double aSimTime)

◆ Update()

void WsfL16::IntervalUpdater::Update ( double aSimTime)
virtual

Referenced by UpdatePrivate().

◆ UpdatePrivate()

double WsfL16::IntervalUpdater::UpdatePrivate ( double aSimTime)

References OnUpdate, and Update().

Member Data Documentation

◆ OnUpdate

UtCallbackListN<void(double)> WsfL16::IntervalUpdater::OnUpdate

Referenced by UpdatePrivate().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved