![]() |
Murl Engine API
Version 2018.3
|
A helper class for simple use of the IProcessor object. More...
#include <murl_logic_base_processor.h>
A helper class for simple use of the IProcessor object.
The BaseProcessor class implements the IAppProcessor app interface.
A processor is created and initialized at object instantiation.
Protected Member Functions | |
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... | |
|
inline |
The constructor.
Creates a IProcessor object and setup the processor app interface.
factory | The logic factory object. |
|
inlinevirtual |
The destructor.
Destroys the IProcessor object.
|
inline |
Conversion operator.
|
inline |
Get the processor interface.
|
inline |
Forward to IProcessor::SetAppProcessor() method.
appProcessor | The processor callback object. |
|
inline |
Forward to IProcessor::IsInitialized() method.
|
inline |
Forward to IProcessor::SetEnabled() method.
isEnabled | true for enable, false for disable. |
|
inline |
Forward to IProcessor::IsEnabled() method.
|
inline |
Forward to IProcessor::AddChild() method.
processor | The processor object to add. |
|
inline |
Forward to IProcessor::RemoveChild() method.
processor | The processor object to remove. |
|
inline |
Forward to IProcessor::InitAddChild() method.
state | The IState object. |
processor | The processor object to initialize and add. |
|
inline |
Forward to IProcessor::RemoveDeInitChild() method.
state | The IState object. |
processor | The processor object to remove and deinitialize. |
|
inline |
Forward to IProcessor::GetNumberOfChildren() method.
|
inline |
Forward to IProcessor::GetChild() method.
index | The zero-based index of the child processor. |
|
inline |
Forward to IProcessor::AddStepable() method.
stepable | The stepable object to add. |
|
inline |
Forward to IProcessor::RemoveStepable() method.
stepable | The stepable object to remove. |
|
inline |
Forward to IProcessor::GetStepableObserver() method.
|
inline |
Forward to IProcessor::AddGraphNode() method.
observableNode | The observable node object to add. |
|
inline |
Forward to IProcessor::RemoveGraphNode() method.
observableNode | The observable node object to remove. |
|
inline |
Forward to IProcessor::AreGraphNodesValid() method.
|
inline |
Forward to IProcessor::GetNodeObserver() method.
|
inline |
Get the processor's node observer interface pointer.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnInit() method, this method is empty and can be overwritten.
state | The IState object. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnDeInit() method, this method is empty and can be overwritten.
state | The IState object. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnProcessTick() method, this method is empty and can be overwritten.
state | The IState object. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnProcessTickChildren() method, this method is empty and can be overwritten.
state | The IState object. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnProcessFrame() method, this method is empty and can be overwritten.
state | The IState object. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnProcessFrameChildren() method, this method is empty and can be overwritten.
state | The IState object. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnFinishTick() method, this method is empty and can be overwritten.
state | The IState object. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnFinishTickChildren() method, this method is empty and can be overwritten.
state | The IState object. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnFinishFrame() method, this method is empty and can be overwritten.
state | The IState object. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnFinishFrameChildren() method, this method is empty and can be overwritten.
state | The IState object. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnPackageWillBeLoaded() method, this method is empty and can be overwritten.
state | The IState object. |
package | The package to load. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnPackageWasLoaded() method, this method is empty and can be overwritten.
state | The IState object. |
package | The package to load. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnPackageFailedLoading() method, this method is empty and can be overwritten.
state | The IState object. |
package | The package to load. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnPackageWillBeUnloaded() method, this method is empty and can be overwritten.
state | The IState object. |
package | The package to load. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnPackageWasUnloaded() method, this method is empty and can be overwritten.
state | The IState object. |
package | The package to load. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnPackageFailedUnloading() method, this method is empty and can be overwritten.
state | The IState object. |
package | The package to load. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnRunStateChanged() method, this method is empty and can be overwritten.
state | The IState object. |
currentState | The current run state. |
previousState | The previous run state. |
Implements Murl::Logic::IAppProcessor.
|
inlineprotectedvirtual |
Default implementation of IAppProcessor::OnSetEnabled() method, this method is empty and can be overwritten.
isEnabled | true if enabled. |
Implements Murl::Logic::IAppProcessor.