A helper class for simple use of the IStage object. More...
#include "murl_logic_base_stage.h"
Protected Member Functions | |
Bool | OnInitStage (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnInitStage() method, this method is empty and can be overwritten. More... | |
Bool | OnDeInitStage (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnDeInitStage() method, this method is empty and can be overwritten. More... | |
void | OnProcessStageTickBeginIntro (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnProcessStageTickBeginIntro() method, this method is empty and can be overwritten. More... | |
void | OnProcessStageTickRunIntro (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnProcessStageTickRunIntro() method, this method is empty and can be overwritten. More... | |
void | OnProcessStageTickBeginRun (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnProcessStageTickBeginRun() method, this method is empty and can be overwritten. More... | |
void | OnProcessStageTickRun (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnProcessStageTickRun() method, this method is empty and can be overwritten. More... | |
void | OnProcessStageTickBeginOutro (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnProcessStageTickBeginOutro() method, this method is empty and can be overwritten. More... | |
void | OnProcessStageTickRunOutro (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnProcessStageTickRunOutro() method, this method is empty and can be overwritten. More... | |
void | OnProcessStageTickStop (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnProcessStageTickStop() method, this method is empty and can be overwritten. More... | |
void | OnProcessStageTick (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnProcessStageTick() method, this method is empty and can be overwritten. More... | |
void | OnProcessStageFrame (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnProcessStageFrame() method, this method is empty and can be overwritten. More... | |
void | OnFinishStageTick (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnFinishStageTick() method, this method is empty and can be overwritten. More... | |
void | OnFinishStageFrame (const Logic::IState *state, Logic::IStageProcessor *stageProcessor) override |
Default implementation of IAppStage::OnFinishStageFrame() method, this method is empty and can be overwritten. More... | |
Protected Member Functions inherited from Murl::Logic::BaseProcessor | |
Bool | OnInit (const Logic::IState *state) override |
Default implementation of IAppProcessor::OnInit() method, this method is empty and can be overwritten. More... | |
Bool | OnDeInit (const Logic::IState *state) override |
Default implementation of IAppProcessor::OnDeInit() method, this method is empty and can be overwritten. More... | |
void | OnProcessTick (const Logic::IState *state) override |
Default implementation of IAppProcessor::OnProcessTick() method, this method is empty and can be overwritten. More... | |
void | OnProcessTickChildren (const Logic::IState *state) override |
Default implementation of IAppProcessor::OnProcessTickChildren() method, this method is empty and can be overwritten. More... | |
void | OnProcessFrame (const Logic::IState *state) override |
Default implementation of IAppProcessor::OnProcessFrame() method, this method is empty and can be overwritten. More... | |
void | OnProcessFrameChildren (const Logic::IState *state) override |
Default implementation of IAppProcessor::OnProcessFrameChildren() method, this method is empty and can be overwritten. More... | |
void | OnFinishTick (const Logic::IState *state) override |
Default implementation of IAppProcessor::OnFinishTick() method, this method is empty and can be overwritten. More... | |
void | OnFinishTickChildren (const Logic::IState *state) override |
Default implementation of IAppProcessor::OnFinishTickChildren() method, this method is empty and can be overwritten. More... | |
void | OnFinishFrame (const Logic::IState *state) override |
Default implementation of IAppProcessor::OnFinishFrame() method, this method is empty and can be overwritten. More... | |
void | OnFinishFrameChildren (const Logic::IState *state) override |
Default implementation of IAppProcessor::OnFinishFrameChildren() method, this method is empty and can be overwritten. More... | |
void | OnPackageWillBeLoaded (const Logic::IState *state, IPackage *package) override |
Default implementation of IAppProcessor::OnPackageWillBeLoaded() method, this method is empty and can be overwritten. More... | |
void | OnPackageWasLoaded (const Logic::IState *state, IPackage *package) override |
Default implementation of IAppProcessor::OnPackageWasLoaded() method, this method is empty and can be overwritten. More... | |
void | OnPackageFailedLoading (const Logic::IState *state, IPackage *package) override |
Default implementation of IAppProcessor::OnPackageFailedLoading() method, this method is empty and can be overwritten. More... | |
void | OnPackageWillBeUnloaded (const Logic::IState *state, IPackage *package) override |
Default implementation of IAppProcessor::OnPackageWillBeUnloaded() method, this method is empty and can be overwritten. More... | |
void | OnPackageWasUnloaded (const Logic::IState *state, IPackage *package) override |
Default implementation of IAppProcessor::OnPackageWasUnloaded() method, this method is empty and can be overwritten. More... | |
void | OnPackageFailedUnloading (const Logic::IState *state, IPackage *package) override |
Default implementation of IAppProcessor::OnPackageFailedUnloading() method, this method is empty and can be overwritten. More... | |
void | OnRunStateChanged (const Logic::IState *state, IEnums::AppRunState currentState, IEnums::AppRunState previousState) override |
Default implementation of IAppProcessor::OnRunStateChanged() method, this method is empty and can be overwritten. More... | |
void | OnSetEnabled (Bool isEnabled) override |
Default implementation of IAppProcessor::OnSetEnabled() method, this method is empty and can be overwritten. More... | |
Detailed Description
A helper class for simple use of the IStage object.
The BaseStage class implements the IAppStage app interface and a BaseProcessor.
A stage is created and initialized at object instantiation.
Constructor & Destructor Documentation
◆ BaseStage() [1/3]
|
inline |
The constructor.
Creates a IStage object and setup the stage app interface.
- Parameters
-
factory The logic factory object.
◆ BaseStage() [2/3]
The constructor including the stage identifier.
Creates a IStage object and setup the stage app interface.
- Parameters
-
factory The logic factory object. stageId The stage identifier.
◆ BaseStage() [3/3]
|
inline |
The constructor including the stage identifier and the graph switch identifier.
Creates a IStage object and setup the stage app interface.
- Parameters
-
factory The logic factory object. stageId The stage identifier. switchId The graph switch child identifier.
◆ ~BaseStage()
|
inlineoverride |
The destructor.
Destroys the IStage object.
Member Function Documentation
◆ operator IStagePtr()
|
inline |
Conversion operator.
- Returns
- The IStage interface.
◆ GetStage()
|
inline |
Get the stage interface.
- Returns
- The IStage interface.
◆ SetStageProcessing()
|
inline |
Forward to IStage::SetStageProcessing() method.
- Parameters
-
processing The stage processing sequence.
◆ GetStageProcessing()
|
inline |
Forward to IStage::GetStageProcessing() method.
- Returns
- The stage processing sequence.
◆ SetAppStage()
|
inline |
Forward to IStage::SetAppStage() method.
- Parameters
-
appStage The stage callback object.
- Returns
- true if successful.
◆ SetStageId()
|
inline |
Forward to IStage::SetStageId() method.
- Parameters
-
stageId The stage identifier.
◆ GetStageId()
|
inline |
Forward to IStage::GetStageId() method.
- Returns
- The stage identifier string.
◆ SetSwitchId()
|
inline |
Forward to IStage::SetSwitchId() method.
- Parameters
-
switchId The graph switch child identifier.
◆ GetSwitchId()
|
inline |
Forward to IStage::GetSwitchId() method.
- Returns
- The graph switch child identifier.
◆ SetRunState()
|
inline |
Forward to IStage::SetRunState() method.
- Parameters
-
runState The run state to set.
◆ IsRunState()
|
inline |
Forward to IStage::IsRunState() method.
- Parameters
-
runState The run state to compare.
- Returns
- true if the current run state is equal.
◆ GetRunState()
|
inline |
Forward to IStage::GetRunState() method.
- Returns
- The current run state.
◆ StartStageIntro()
|
inline |
Forward to IStage::StartStageIntro() method.
- Returns
- true if successful, false if the run state check failed.
◆ StartStageOutro()
|
inline |
Forward to IStage::StartStageOutro() method.
- Returns
- true if successful, false if the run state check failed.
◆ StopStage()
|
inline |
Forward to IStage::StopStage() method.
- Returns
- true if successful, false if the run state check failed.
◆ IsStageStopped()
|
inline |
Forward to IStage::IsStageStopped() method.
- Returns
- true if run state is RUN_STATE_STOP.
◆ CreateStageTimeline()
|
inline |
Forward to IStage::CreateStageTimeline() method.
- Parameters
-
state The IState object. timeline The full path to the graph <Timeline> instance. introTime The intro end time in seconds, outroTime The outro end time in seconds,
- Returns
- true if successful.
◆ SetStageTimeline()
|
inline |
Forward to IStage::SetStageTimeline() method.
- Parameters
-
stageTimeline An initialized IStageTimeline object.
- Returns
- true if successful.
◆ GetStageTimeline()
|
inline |
Forward to IStage::GetStageTimeline() method.
- Returns
- The IStageTimeline object, or null if not available.
◆ OnInitStage()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnInitStage() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
- Returns
- true if successful, should return false if any initialization failed.
Implements Murl::Logic::IAppStage.
◆ OnDeInitStage()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnDeInitStage() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
- Returns
- true if successful, should return false if any deinitialization failed.
Implements Murl::Logic::IAppStage.
◆ OnProcessStageTickBeginIntro()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnProcessStageTickBeginIntro() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
◆ OnProcessStageTickRunIntro()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnProcessStageTickRunIntro() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
◆ OnProcessStageTickBeginRun()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnProcessStageTickBeginRun() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
◆ OnProcessStageTickRun()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnProcessStageTickRun() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
◆ OnProcessStageTickBeginOutro()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnProcessStageTickBeginOutro() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
◆ OnProcessStageTickRunOutro()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnProcessStageTickRunOutro() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
◆ OnProcessStageTickStop()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnProcessStageTickStop() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
◆ OnProcessStageTick()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnProcessStageTick() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
◆ OnProcessStageFrame()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnProcessStageFrame() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
◆ OnFinishStageTick()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnFinishStageTick() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
◆ OnFinishStageFrame()
|
inlineoverrideprotectedvirtual |
Default implementation of IAppStage::OnFinishStageFrame() method, this method is empty and can be overwritten.
- Parameters
-
state The IState object. stageProcessor The corresponding IStageProcessor object.
Implements Murl::Logic::IAppStage.
The documentation for this class was generated from the following file:
- murl_logic_base_stage.h