The ITimeframe interface implementation. More...
#include "murl_logic_timeframe.h"
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... | |
Public Member Functions inherited from Murl::Logic::Stepable | |
~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 Public Member Functions inherited from Murl::Logic::Stepable | |
static IStepablePtr | Create () |
Create a stepable object. More... | |
Detailed Description
The ITimeframe interface implementation.
Member Function Documentation
◆ Create()
|
static |
Create a timeframe object.
- Returns
- The created timeframe object, or null if failed.
◆ ProcessTick()
|
overridevirtual |
Implementation of IStepable::ProcessTick() method.
- Parameters
-
state The IState object.
Reimplemented from Murl::Logic::Stepable.
◆ GetStepable()
|
overridevirtual |
Implementation of Timeframe::GetStepable() method.
- Returns
- The stepable interface shared pointer.
Implements Murl::Logic::ITimeframe.
Referenced by Murl::Logic::BaseTimeframe::operator IStepablePtr().
◆ Start()
|
overridevirtual |
Implementation of Timeframe::Start(Real endTime) method.
- Parameters
-
endTime The time interval in seconds.
Implements Murl::Logic::ITimeframe.
◆ SetCurrentTime()
Implementation of Timeframe::SetCurrentTime() method.
- Parameters
-
time The current time in seconds.
- Returns
- true if successful.
Implements Murl::Logic::ITimeframe.
◆ Finish()
|
overridevirtual |
Implementation of Timeframe::Finish() method.
- Returns
- true if successful.
Implements Murl::Logic::ITimeframe.
◆ IsRunning()
|
overridevirtual |
Implementation of Timeframe::IsRunning() method.
- Returns
- true if running.
Implements Murl::Logic::ITimeframe.
◆ WasStarted()
|
overridevirtual |
Implementation of Timeframe::WasStarted() method.
- Returns
- true if started.
Implements Murl::Logic::ITimeframe.
◆ WasRunning()
|
overridevirtual |
Implementation of Timeframe::WasRunning() method.
- Returns
- true if finished.
Implements Murl::Logic::ITimeframe.
◆ IsOrWasRunning()
|
overridevirtual |
Implementation of Timeframe::IsOrWasRunning() method.
- Returns
- true if IsRunning() or WasRunning() is true.
Implements Murl::Logic::ITimeframe.
◆ HasPassedTime()
Implementation of Timeframe::HasPassedTime() method.
- Parameters
-
time The time to check in seconds.
- Returns
- true if the current time has passed a specified time within the most recent tick.
Implements Murl::Logic::ITimeframe.
◆ SetTimeScale()
Implementation of Timeframe::SetTimeScale() method.
- Parameters
-
timeScale The time scale factor.
- Returns
- true if successful.
Implements Murl::Logic::ITimeframe.
◆ GetTimeScale()
|
overridevirtual |
Implementation of Timeframe::GetTimeScale() method.
- Returns
- The time scale factor.
Implements Murl::Logic::ITimeframe.
◆ SetEndTime()
Implementation of Timeframe::SetEndTime() method.
- Parameters
-
endTime The end time in seconds.
- Returns
- true if successful.
Implements Murl::Logic::ITimeframe.
◆ GetEndTime()
|
overridevirtual |
Implementation of Timeframe::GetEndTime() method.
- Returns
- The end time in seconds.
Implements Murl::Logic::ITimeframe.
◆ GetCurrentTime()
|
overridevirtual |
Implementation of Timeframe::GetCurrentTime() method.
- Returns
- The current time in seconds.
Implements Murl::Logic::ITimeframe.
◆ GetRemainingTime()
|
overridevirtual |
Implementation of Timeframe::GetRemainingTime() method.
- Returns
- The remaining time in seconds.
Implements Murl::Logic::ITimeframe.
The documentation for this class was generated from the following file:
- murl_logic_timeframe.h