![]() |
Murl Engine API
Version 2024.1
|
The ITimeframe interface implementation. More...
#include <murl_logic_timeframe.h>
The ITimeframe interface implementation.
Public Member Functions | |
~Timeframe () override | |
The destructor. | |
void | ProcessTick (const Logic::IState *state) override |
Implementation of IStepable::ProcessTick() method. More... | |
IStepablePtr | GetStepable () override |
Implementation of Timeframe::GetStepable() method. More... | |
void | Reset () override |
Implementation of Timeframe::Reset() method. | |
void | Start () override |
Implementation of Timeframe::Start() method. | |
void | Start (Real endTime) override |
Implementation of Timeframe::Start(Real endTime) method. More... | |
Bool | SetCurrentTime (Real time) override |
Implementation of Timeframe::SetCurrentTime() method. More... | |
Bool | Finish () override |
Implementation of Timeframe::Finish() method. More... | |
Bool | IsRunning () const override |
Implementation of Timeframe::IsRunning() method. More... | |
Bool | WasStarted () const override |
Implementation of Timeframe::WasStarted() method. More... | |
Bool | WasRunning () const override |
Implementation of Timeframe::WasRunning() method. More... | |
Bool | IsOrWasRunning () const override |
Implementation of Timeframe::IsOrWasRunning() method. More... | |
Bool | HasPassedTime (Real time) const override |
Implementation of Timeframe::HasPassedTime() method. More... | |
Bool | SetTimeScale (Real timeScale) override |
Implementation of Timeframe::SetTimeScale() method. More... | |
Real | GetTimeScale () const override |
Implementation of Timeframe::GetTimeScale() method. More... | |
Bool | SetEndTime (Real endTime) override |
Implementation of Timeframe::SetEndTime() method. More... | |
Real | GetEndTime () const override |
Implementation of Timeframe::GetEndTime() method. More... | |
Double | GetCurrentTime () const override |
Implementation of Timeframe::GetCurrentTime() method. More... | |
Double | GetRemainingTime () const override |
Implementation of Timeframe::GetRemainingTime() method. More... | |
![]() | |
~Stepable () override | |
The destructor. | |
Bool | SetAppStepable (IAppStepablePtr appStepable) override |
Implementation of IStepable::SetAppStepable() method. More... | |
void | SetEnabled (Bool isEnabled) override |
Implementation of IStepable::SetEnabled() method. More... | |
Bool | IsEnabled () const override |
Implementation of IStepable::IsEnabled() method. More... | |
void | FinishTick (const Logic::IState *state) override |
Implementation of IStepable::FinishTick() method. More... | |
Static Public Member Functions | |
static ITimeframePtr | Create () |
Create a timeframe object. More... | |
![]() | |
static IStepablePtr | Create () |
Create a stepable object. More... | |
|
static |
Create a timeframe object.
|
overridevirtual |
Implementation of IStepable::ProcessTick() method.
state | The IState object. |
Reimplemented from Murl::Logic::Stepable.
|
overridevirtual |
Implementation of Timeframe::GetStepable() method.
Implements Murl::Logic::ITimeframe.
|
overridevirtual |
Implementation of Timeframe::Start(Real endTime) method.
endTime | The time interval in seconds. |
Implements Murl::Logic::ITimeframe.
Implementation of Timeframe::SetCurrentTime() method.
time | The current time in seconds. |
Implements Murl::Logic::ITimeframe.
|
overridevirtual |
Implementation of Timeframe::Finish() method.
Implements Murl::Logic::ITimeframe.
|
overridevirtual |
Implementation of Timeframe::IsRunning() method.
Implements Murl::Logic::ITimeframe.
|
overridevirtual |
Implementation of Timeframe::WasStarted() method.
Implements Murl::Logic::ITimeframe.
|
overridevirtual |
Implementation of Timeframe::WasRunning() method.
Implements Murl::Logic::ITimeframe.
|
overridevirtual |
Implementation of Timeframe::IsOrWasRunning() method.
Implements Murl::Logic::ITimeframe.
Implementation of Timeframe::HasPassedTime() method.
time | The time to check in seconds. |
Implements Murl::Logic::ITimeframe.
Implementation of Timeframe::SetTimeScale() method.
timeScale | The time scale factor. |
Implements Murl::Logic::ITimeframe.
|
overridevirtual |
Implementation of Timeframe::GetTimeScale() method.
Implements Murl::Logic::ITimeframe.
Implementation of Timeframe::SetEndTime() method.
endTime | The end time in seconds. |
Implements Murl::Logic::ITimeframe.
|
overridevirtual |
Implementation of Timeframe::GetEndTime() method.
Implements Murl::Logic::ITimeframe.
|
overridevirtual |
Implementation of Timeframe::GetCurrentTime() method.
Implements Murl::Logic::ITimeframe.
|
overridevirtual |
Implementation of Timeframe::GetRemainingTime() method.
Implements Murl::Logic::ITimeframe.