A helper class for simple use of the IStage object. More...

#include "murl_logic_base_stage.h"

Inheritance diagram for Murl::Logic::BaseStage:

Public Member Functions

 BaseStage (IFactory *factory)
 The constructor. More...
 
 BaseStage (IFactory *factory, const String &stageId)
 The constructor including the stage identifier. More...
 
 BaseStage (IFactory *factory, const String &stageId, const String &switchId)
 The constructor including the stage identifier and the graph switch identifier. More...
 
virtual ~BaseStage ()
 The destructor. More...
 
 operator IStagePtr () const
 Conversion operator. More...
 
IStagePtr GetStage () const
 Get the stage interface. More...
 
void SetStageProcessing (IStage::StageProcessing processing)
 Forward to IStage::SetStageProcessing() method.
 
IStage::StageProcessing GetStageProcessing () const
 Forward to IStage::GetStageProcessing() method.
 
Bool SetAppStage (IAppStagePtr appStage)
 Forward to IStage::SetAppStage() method.
 
void SetStageId (const String &stageId)
 Forward to IStage::SetStageId() method.
 
const StringGetStageId () const
 Forward to IStage::GetStageId() method.
 
void SetSwitchId (const String &switchId)
 Forward to IStage::SetSwitchId() method.
 
const StringGetSwitchId () const
 Forward to IStage::GetSwitchId() method.
 
void SetRunState (IStage::RunState runState)
 Forward to IStage::SetRunState() method.
 
Bool IsRunState (IStage::RunState runState) const
 Forward to IStage::IsRunState() method.
 
IStage::RunState GetRunState () const
 Forward to IStage::GetRunState() method.
 
Bool StartStageIntro ()
 Forward to IStage::StartStageIntro() method.
 
Bool StartStageOutro ()
 Forward to IStage::StartStageOutro() method.
 
Bool StopStage ()
 Forward to IStage::StopStage() method.
 
Bool IsStageStopped () const
 Forward to IStage::IsStageStopped() method.
 
Bool CreateStageTimeline (const IState *state, const String &timeline, Real introTime, Real outroTime)
 Forward to IStage::CreateStageTimeline() method.
 
Bool SetStageTimeline (IStageTimelinePtr stageTimeline)
 Forward to IStage::SetStageTimeline() method.
 
IStageTimelinePtr GetStageTimeline () const
 Forward to IStage::GetStageTimeline() method.
 
- Public Member Functions inherited from Murl::Logic::BaseProcessor
 BaseProcessor (IFactory *factory)
 The constructor. More...
 
virtual ~BaseProcessor ()
 The destructor. More...
 
 operator IProcessorPtr () const
 Conversion operator. More...
 
IProcessorPtr GetProcessor () const
 Get the processor interface. More...
 
Bool SetAppProcessor (IAppProcessorPtr appProcessor)
 Forward to IProcessor::SetAppProcessor() method.
 
Bool IsInitialized () const
 Forward to IProcessor::IsInitialized() method.
 
void SetEnabled (Bool isEnabled)
 Forward to IProcessor::SetEnabled() method.
 
Bool IsEnabled () const
 Forward to IProcessor::IsEnabled() method.
 
Bool AddChild (IProcessorPtr processor)
 Forward to IProcessor::AddChild() method.
 
Bool RemoveChild (IProcessorPtr processor)
 Forward to IProcessor::RemoveChild() method.
 
Bool InitAddChild (const IState *state, IProcessorPtr processor)
 Forward to IProcessor::InitAddChild() method.
 
Bool RemoveDeInitChild (const IState *state, IProcessorPtr processor)
 Forward to IProcessor::RemoveDeInitChild() method.
 
UInt32 GetNumberOfChildren () const
 Forward to IProcessor::GetNumberOfChildren() method.
 
IProcessorPtr GetChild (UInt32 index) const
 Forward to IProcessor::GetChild() method.
 
Bool AddStepable (IStepablePtr stepable)
 Forward to IProcessor::AddStepable() method.
 
Bool RemoveStepable (IStepablePtr stepable)
 Forward to IProcessor::RemoveStepable() method.
 
Logic::IStepableObserverPtr GetStepableObserver () const
 Forward to IProcessor::GetStepableObserver() method.
 
Bool AddGraphNode (IObservableNodePtr observableNode)
 Forward to IProcessor::AddGraphNode() method.
 
Bool RemoveGraphNode (IObservableNodePtr observableNode)
 Forward to IProcessor::RemoveGraphNode() method.
 
Bool AreGraphNodesValid () const
 Forward to IProcessor::AreGraphNodesValid() method.
 
INodeObserverPtr GetNodeObserverPtr () const
 Forward to IProcessor::GetNodeObserver() method.
 
INodeObserverGetNodeObserver () const
 Get the processor's node observer interface pointer. More...
 

Protected Member Functions

virtual Bool OnInitStage (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnInitStage() method, this method is empty and can be overwritten.
 
virtual Bool OnDeInitStage (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnDeInitStage() method, this method is empty and can be overwritten.
 
virtual void OnProcessStageTickBeginIntro (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnProcessStageTickBeginIntro() method, this method is empty and can be overwritten.
 
virtual void OnProcessStageTickRunIntro (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnProcessStageTickRunIntro() method, this method is empty and can be overwritten.
 
virtual void OnProcessStageTickBeginRun (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnProcessStageTickBeginRun() method, this method is empty and can be overwritten.
 
virtual void OnProcessStageTickRun (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnProcessStageTickRun() method, this method is empty and can be overwritten.
 
virtual void OnProcessStageTickBeginOutro (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnProcessStageTickBeginOutro() method, this method is empty and can be overwritten.
 
virtual void OnProcessStageTickRunOutro (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnProcessStageTickRunOutro() method, this method is empty and can be overwritten.
 
virtual void OnProcessStageTickStop (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnProcessStageTickStop() method, this method is empty and can be overwritten.
 
virtual void OnProcessStageTick (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnProcessStageTick() method, this method is empty and can be overwritten.
 
virtual void OnProcessStageFrame (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnProcessStageFrame() method, this method is empty and can be overwritten.
 
virtual void OnFinishStageTick (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnFinishStageTick() method, this method is empty and can be overwritten.
 
virtual void OnFinishStageFrame (const Logic::IState *state, Logic::IStageProcessor *stageProcessor)
 Default implementation of IAppStage::OnFinishStageFrame() method, this method is empty and can be overwritten.
 
- Protected Member Functions inherited from Murl::Logic::BaseProcessor
virtual Bool OnInit (const Logic::IState *state)
 Default implementation of IAppProcessor::OnInit() method, this method is empty and can be overwritten.
 
virtual Bool OnDeInit (const Logic::IState *state)
 Default implementation of IAppProcessor::OnDeInit() method, this method is empty and can be overwritten.
 
virtual void OnProcessTick (const Logic::IState *state)
 Default implementation of IAppProcessor::OnProcessTick() method, this method is empty and can be overwritten.
 
virtual void OnProcessTickChildren (const Logic::IState *state)
 Default implementation of IAppProcessor::OnProcessTickChildren() method, this method is empty and can be overwritten.
 
virtual void OnProcessFrame (const Logic::IState *state)
 Default implementation of IAppProcessor::OnProcessFrame() method, this method is empty and can be overwritten.
 
virtual void OnProcessFrameChildren (const Logic::IState *state)
 Default implementation of IAppProcessor::OnProcessFrameChildren() method, this method is empty and can be overwritten.
 
virtual void OnFinishTick (const Logic::IState *state)
 Default implementation of IAppProcessor::OnFinishTick() method, this method is empty and can be overwritten.
 
virtual void OnFinishTickChildren (const Logic::IState *state)
 Default implementation of IAppProcessor::OnFinishTickChildren() method, this method is empty and can be overwritten.
 
virtual void OnFinishFrame (const Logic::IState *state)
 Default implementation of IAppProcessor::OnFinishFrame() method, this method is empty and can be overwritten.
 
virtual void OnFinishFrameChildren (const Logic::IState *state)
 Default implementation of IAppProcessor::OnFinishFrameChildren() method, this method is empty and can be overwritten.
 
virtual void OnPackageWillBeLoaded (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageWillBeLoaded() method, this method is empty and can be overwritten.
 
virtual void OnPackageWasLoaded (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageWasLoaded() method, this method is empty and can be overwritten.
 
virtual void OnPackageFailedLoading (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageFailedLoading() method, this method is empty and can be overwritten.
 
virtual void OnPackageWillBeUnloaded (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageWillBeUnloaded() method, this method is empty and can be overwritten.
 
virtual void OnPackageWasUnloaded (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageWasUnloaded() method, this method is empty and can be overwritten.
 
virtual void OnPackageFailedUnloading (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageFailedUnloading() method, this method is empty and can be overwritten.
 
virtual void OnRunStateChanged (const Logic::IState *state, IEnums::AppRunState currentState, IEnums::AppRunState previousState)
 Default implementation of IAppProcessor::OnRunStateChanged() method, this method is empty and can be overwritten.
 
virtual void OnSetEnabled (Bool isEnabled)
 Default implementation of IAppProcessor::OnSetEnabled() method, this method is empty and can be overwritten.
 

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]

Murl::Logic::BaseStage::BaseStage ( IFactory factory)
inline

The constructor.

Creates a IStage object and setup the stage app interface.

Parameters
factoryThe logic factory object.

◆ BaseStage() [2/3]

Murl::Logic::BaseStage::BaseStage ( IFactory factory,
const String stageId 
)
inline

The constructor including the stage identifier.

Creates a IStage object and setup the stage app interface.

Parameters
factoryThe logic factory object.
stageIdThe stage identifier.

◆ BaseStage() [3/3]

Murl::Logic::BaseStage::BaseStage ( IFactory factory,
const String stageId,
const String switchId 
)
inline

The constructor including the stage identifier and the graph switch identifier.

Creates a IStage object and setup the stage app interface.

Parameters
factoryThe logic factory object.
stageIdThe stage identifier.
switchIdThe graph switch child identifier.

◆ ~BaseStage()

virtual Murl::Logic::BaseStage::~BaseStage ( )
inlinevirtual

The destructor.

Destroys the IStage object.

Member Function Documentation

◆ operator IStagePtr()

Murl::Logic::BaseStage::operator IStagePtr ( ) const
inline

Conversion operator.

Returns
The IStage interface.

◆ GetStage()

IStagePtr Murl::Logic::BaseStage::GetStage ( ) const
inline

Get the stage interface.

Returns
The IStage interface.

The documentation for this class was generated from the following file:
  • murl_logic_base_stage.h


Copyright © 2011-2018 Spraylight GmbH.