Murl::Logic::BaseStageProcessor Class Reference

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

#include "murl_logic_base_stage_processor.h"

Inheritance diagram for Murl::Logic::BaseStageProcessor:

Public Member Functions

 BaseStageProcessor (IFactory *factory)
 The constructor. More...
 
virtual ~BaseStageProcessor ()
 The destructor. More...
 
 operator IStageProcessorPtr () const
 Conversion operator. More...
 
IStageProcessorPtr GetStageProcessor () const
 Get the stage processor interface. More...
 
Bool AddStage (IStagePtr stage)
 Forward to IStageProcessor::AddStage() method. More...
 
Bool RemoveStage (IStagePtr stage)
 Forward to IStageProcessor::RemoveStage() method. More...
 
Bool InitAddStage (const IState *state, IStagePtr stage)
 Forward to IStageProcessor::InitAddStage() method. More...
 
Bool RemoveDeInitStage (const IState *state, IStagePtr stage)
 Forward to IStageProcessor::RemoveDeInitStage() method. More...
 
void SetSwitchNodeId (const String &switchNodeId)
 Forward to IStageProcessor::SetSwitchNodeId() method. More...
 
const StringGetSwitchNodeId () const
 Forward to IStageProcessor::GetSwitchNodeId() method. More...
 
IStagePtr GetStage (const String &stageId) const
 Forward to IStageProcessor::GetStage() method. More...
 
Bool SetStageRunState (const String &stageId, IStage::RunState runState)
 Forward to IStageProcessor::SetStageRunState() method. More...
 
Bool IsAnyTimelineRunning () const
 Forward to IStageProcessor::IsAnyTimelineRunning() method. More...
 
Bool StartIntro (const String &stageId)
 Forward to IStageProcessor::StartIntro() method. More...
 
Bool StartOutro (const String &stageId)
 Forward to IStageProcessor::StartOutro() method. More...
 
Bool StartIntro (const String &stageId, Real startTime)
 Forward to IStageProcessor::StartIntro() method. More...
 
Bool StartOutro (const String &stageId, Real endTime)
 Forward to IStageProcessor::StartOutro() method. More...
 
Bool StartIntro (const String &stageId, Real startTime, Real endTime)
 Forward to IStageProcessor::StartIntro() method. More...
 
Bool StartOutro (const String &stageId, Real startTime, Real endTime)
 Forward to IStageProcessor::StartOutro() method. More...
 
- 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. More...
 
Bool IsInitialized () const
 Forward to IProcessor::IsInitialized() method. More...
 
void SetEnabled (Bool isEnabled)
 Forward to IProcessor::SetEnabled() method. More...
 
Bool IsEnabled () const
 Forward to IProcessor::IsEnabled() method. More...
 
Bool AddChild (IProcessorPtr processor)
 Forward to IProcessor::AddChild() method. More...
 
Bool RemoveChild (IProcessorPtr processor)
 Forward to IProcessor::RemoveChild() method. More...
 
Bool InitAddChild (const IState *state, IProcessorPtr processor)
 Forward to IProcessor::InitAddChild() method. More...
 
Bool RemoveDeInitChild (const IState *state, IProcessorPtr processor)
 Forward to IProcessor::RemoveDeInitChild() method. More...
 
UInt32 GetNumberOfChildren () const
 Forward to IProcessor::GetNumberOfChildren() method. More...
 
IProcessorPtr GetChild (UInt32 index) const
 Forward to IProcessor::GetChild() method. More...
 
Bool AddStepable (IStepablePtr stepable)
 Forward to IProcessor::AddStepable() method. More...
 
Bool RemoveStepable (IStepablePtr stepable)
 Forward to IProcessor::RemoveStepable() method. More...
 
Logic::IStepableObserverPtr GetStepableObserver () const
 Forward to IProcessor::GetStepableObserver() method. More...
 
Bool AddGraphNode (IObservableNodePtr observableNode)
 Forward to IProcessor::AddGraphNode() method. More...
 
Bool RemoveGraphNode (IObservableNodePtr observableNode)
 Forward to IProcessor::RemoveGraphNode() method. More...
 
Bool AreGraphNodesValid () const
 Forward to IProcessor::AreGraphNodesValid() method. More...
 
INodeObserverPtr GetNodeObserverPtr () const
 Forward to IProcessor::GetNodeObserver() method. More...
 
INodeObserverGetNodeObserver () const
 Get the processor's node observer interface pointer. More...
 

Additional Inherited Members

- 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. More...
 
virtual Bool OnDeInit (const Logic::IState *state)
 Default implementation of IAppProcessor::OnDeInit() method, this method is empty and can be overwritten. More...
 
virtual void OnProcessTick (const Logic::IState *state)
 Default implementation of IAppProcessor::OnProcessTick() method, this method is empty and can be overwritten. More...
 
virtual void OnProcessTickChildren (const Logic::IState *state)
 Default implementation of IAppProcessor::OnProcessTickChildren() method, this method is empty and can be overwritten. More...
 
virtual void OnProcessFrame (const Logic::IState *state)
 Default implementation of IAppProcessor::OnProcessFrame() method, this method is empty and can be overwritten. More...
 
virtual void OnProcessFrameChildren (const Logic::IState *state)
 Default implementation of IAppProcessor::OnProcessFrameChildren() method, this method is empty and can be overwritten. More...
 
virtual void OnFinishTick (const Logic::IState *state)
 Default implementation of IAppProcessor::OnFinishTick() method, this method is empty and can be overwritten. More...
 
virtual void OnFinishTickChildren (const Logic::IState *state)
 Default implementation of IAppProcessor::OnFinishTickChildren() method, this method is empty and can be overwritten. More...
 
virtual void OnFinishFrame (const Logic::IState *state)
 Default implementation of IAppProcessor::OnFinishFrame() method, this method is empty and can be overwritten. More...
 
virtual void OnFinishFrameChildren (const Logic::IState *state)
 Default implementation of IAppProcessor::OnFinishFrameChildren() method, this method is empty and can be overwritten. More...
 
virtual void OnPackageWillBeLoaded (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageWillBeLoaded() method, this method is empty and can be overwritten. More...
 
virtual void OnPackageWasLoaded (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageWasLoaded() method, this method is empty and can be overwritten. More...
 
virtual void OnPackageFailedLoading (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageFailedLoading() method, this method is empty and can be overwritten. More...
 
virtual void OnPackageWillBeUnloaded (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageWillBeUnloaded() method, this method is empty and can be overwritten. More...
 
virtual void OnPackageWasUnloaded (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageWasUnloaded() method, this method is empty and can be overwritten. More...
 
virtual void OnPackageFailedUnloading (const Logic::IState *state, IPackage *package)
 Default implementation of IAppProcessor::OnPackageFailedUnloading() method, this method is empty and can be overwritten. More...
 
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. More...
 
virtual void OnSetEnabled (Bool isEnabled)
 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 IStageProcessor object.

The BaseStageProcessor class implements a BaseProcessor.
A stage processor is created and initialized at object instantiation.

Constructor & Destructor Documentation

◆ BaseStageProcessor()

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

The constructor.

Creates a IStageProcessor object.

Parameters
factoryThe logic factory object.

◆ ~BaseStageProcessor()

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

The destructor.

Destroys the IStageProcessor object.

Member Function Documentation

◆ operator IStageProcessorPtr()

Murl::Logic::BaseStageProcessor::operator IStageProcessorPtr ( ) const
inline

Conversion operator.

Returns
The IStageProcessor interface.

◆ GetStageProcessor()

IStageProcessorPtr Murl::Logic::BaseStageProcessor::GetStageProcessor ( ) const
inline

Get the stage processor interface.

Returns
The IStageProcessor interface.

◆ AddStage()

Bool Murl::Logic::BaseStageProcessor::AddStage ( IStagePtr  stage)
inline

Forward to IStageProcessor::AddStage() method.

Parameters
stageThe stage object to add.
Returns
true if successful.

◆ RemoveStage()

Bool Murl::Logic::BaseStageProcessor::RemoveStage ( IStagePtr  stage)
inline

Forward to IStageProcessor::RemoveStage() method.

Parameters
stageThe stage object to remove.
Returns
true if successful.

◆ InitAddStage()

Bool Murl::Logic::BaseStageProcessor::InitAddStage ( const IState state,
IStagePtr  stage 
)
inline

Forward to IStageProcessor::InitAddStage() method.

Parameters
stateThe IState object.
stageThe stage object to initialize and add.
Returns
true if successful.

◆ RemoveDeInitStage()

Bool Murl::Logic::BaseStageProcessor::RemoveDeInitStage ( const IState state,
IStagePtr  stage 
)
inline

Forward to IStageProcessor::RemoveDeInitStage() method.

Parameters
stateThe IState object.
stageThe stage object to deinitialize and remove.
Returns
true if successful.

◆ SetSwitchNodeId()

void Murl::Logic::BaseStageProcessor::SetSwitchNodeId ( const String switchNodeId)
inline

Forward to IStageProcessor::SetSwitchNodeId() method.

Parameters
switchNodeIdThe full path to the graph <Switch> instance.
Returns
true if successful.

◆ GetSwitchNodeId()

const String& Murl::Logic::BaseStageProcessor::GetSwitchNodeId ( ) const
inline

Forward to IStageProcessor::GetSwitchNodeId() method.

Returns
The switch node identifier string including the full path.

◆ GetStage()

IStagePtr Murl::Logic::BaseStageProcessor::GetStage ( const String stageId) const
inline

Forward to IStageProcessor::GetStage() method.

Parameters
stageIdThe identifier of the stage to get.
Returns
The stage object or null if the identifier is not found.

◆ SetStageRunState()

Bool Murl::Logic::BaseStageProcessor::SetStageRunState ( const String stageId,
IStage::RunState  runState 
)
inline

Forward to IStageProcessor::SetStageRunState() method.

Parameters
stageIdThe identifier of the stage to modify.
runStateThe run state to set.
Returns
true if successful.

◆ IsAnyTimelineRunning()

Bool Murl::Logic::BaseStageProcessor::IsAnyTimelineRunning ( ) const
inline

Forward to IStageProcessor::IsAnyTimelineRunning() method.

Returns
true if any stage timeline is running.

◆ StartIntro() [1/3]

Bool Murl::Logic::BaseStageProcessor::StartIntro ( const String stageId)
inline

Forward to IStageProcessor::StartIntro() method.

Parameters
stageIdThe identifier of the stage to start.
Returns
true if successful, false if the identifier is not found or IStage::StartStageIntro() failed.

◆ StartOutro() [1/3]

Bool Murl::Logic::BaseStageProcessor::StartOutro ( const String stageId)
inline

Forward to IStageProcessor::StartOutro() method.

Parameters
stageIdThe identifier of the stage to start.
Returns
true if successful, false if the identifier is not found or IStage::StartStageOutro() failed.

◆ StartIntro() [2/3]

Bool Murl::Logic::BaseStageProcessor::StartIntro ( const String stageId,
Real  startTime 
)
inline

Forward to IStageProcessor::StartIntro() method.

Parameters
stageIdThe identifier of the stage to start.
startTimeThe IStageTimeline intro start time.
Returns
true if successful, false if the identifier is not found or IStage::StartStageIntro() failed.

◆ StartOutro() [2/3]

Bool Murl::Logic::BaseStageProcessor::StartOutro ( const String stageId,
Real  endTime 
)
inline

Forward to IStageProcessor::StartOutro() method.

Parameters
stageIdThe identifier of the stage to start.
endTimeThe IStageTimeline outro end time.
Returns
true if successful, false if the identifier is not found or IStage::StartStageOutro() failed.

◆ StartIntro() [3/3]

Bool Murl::Logic::BaseStageProcessor::StartIntro ( const String stageId,
Real  startTime,
Real  endTime 
)
inline

Forward to IStageProcessor::StartIntro() method.

Parameters
stageIdThe identifier of the stage to start.
startTimeThe IStageTimeline intro start time.
endTimeThe IStageTimeline intro end time.
Returns
true if successful, false if the identifier is not found or IStage::StartStageIntro() failed.

◆ StartOutro() [3/3]

Bool Murl::Logic::BaseStageProcessor::StartOutro ( const String stageId,
Real  startTime,
Real  endTime 
)
inline

Forward to IStageProcessor::StartOutro() method.

Parameters
stageIdThe identifier of the stage to start.
startTimeThe IStageTimeline outro start time.
endTimeThe IStageTimeline outro end time.
Returns
true if successful, false if the identifier is not found or IStage::StartStageOutro() failed.

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


Copyright © 2011-2018 Spraylight GmbH.