The IAppProcessor interface. More...
#include "murl_logic_i_app_processor.h"
Public Member Functions | |
virtual Bool | OnInit (const Logic::IState *state)=0 |
Called by IProcessor at initialization. More... | |
virtual Bool | OnDeInit (const Logic::IState *state)=0 |
Called by IProcessor at deinitialization. More... | |
virtual void | OnProcessTick (const Logic::IState *state)=0 |
Called by IProcessor each logic tick if enabled. More... | |
virtual void | OnProcessTickChildren (const Logic::IState *state)=0 |
Called by IProcessor after processing children's OnProcessTick() each logic tick if enabled. More... | |
virtual void | OnProcessFrame (const Logic::IState *state)=0 |
Called by IProcessor each frame tick if enabled. More... | |
virtual void | OnProcessFrameChildren (const Logic::IState *state)=0 |
Called by IProcessor after processing children's OnProcessFrame() each frame tick if enabled. More... | |
virtual void | OnFinishTick (const Logic::IState *state)=0 |
Called by IProcessor each logic tick if enabled. More... | |
virtual void | OnFinishTickChildren (const Logic::IState *state)=0 |
Called by IProcessor after processing children's OnFinishTick() each logic tick if enabled. More... | |
virtual void | OnFinishFrame (const Logic::IState *state)=0 |
Called by IProcessor each frame tick if enabled. More... | |
virtual void | OnFinishFrameChildren (const Logic::IState *state)=0 |
Called by IProcessor after processing children's OnFinishFrame() each frame tick if enabled. More... | |
virtual void | OnPackageWillBeLoaded (const Logic::IState *state, IPackage *package)=0 |
Called by IProcessor to report the beginning of package loading. More... | |
virtual void | OnPackageWasLoaded (const Logic::IState *state, IPackage *package)=0 |
Called by IProcessor to report the succesful loading of a package. More... | |
virtual void | OnPackageFailedLoading (const Logic::IState *state, IPackage *package)=0 |
Called by IProcessor to report failed loading a package. More... | |
virtual void | OnPackageWillBeUnloaded (const Logic::IState *state, IPackage *package)=0 |
Called by IProcessor to report the beginning of package unloading. More... | |
virtual void | OnPackageWasUnloaded (const Logic::IState *state, IPackage *package)=0 |
Called by IProcessor to report the succesful unloading of a package. More... | |
virtual void | OnPackageFailedUnloading (const Logic::IState *state, IPackage *package)=0 |
Called by IProcessor to report failed unloading a package. More... | |
virtual void | OnRunStateChanged (const Logic::IState *state, IEnums::AppRunState currentState, IEnums::AppRunState previousState)=0 |
Called by IProcessor to report a change of the application run state. More... | |
virtual void | OnSetEnabled (Bool isEnabled)=0 |
Called by IProcessor::SetEnabled(). More... | |
Detailed Description
The IAppProcessor interface.
This interface is used by the IProcessor object to callback the app.
Member Function Documentation
◆ OnInit()
|
pure virtual |
Called by IProcessor at initialization.
- Parameters
-
state The IState object.
- Returns
- true if successful, should return false if any initialization failed.
Implemented in Murl::Logic::BaseProcessor.
◆ OnDeInit()
|
pure virtual |
Called by IProcessor at deinitialization.
- Parameters
-
state The IState object.
- Returns
- true if successful, should return false if any deinitialization failed.
Implemented in Murl::Logic::BaseProcessor.
◆ OnProcessTick()
|
pure virtual |
Called by IProcessor each logic tick if enabled.
- Parameters
-
state The IState object.
Implemented in Murl::Logic::BaseProcessor.
◆ OnProcessTickChildren()
|
pure virtual |
Called by IProcessor after processing children's OnProcessTick() each logic tick if enabled.
- Parameters
-
state The IState object.
Implemented in Murl::Logic::BaseProcessor.
◆ OnProcessFrame()
|
pure virtual |
Called by IProcessor each frame tick if enabled.
- Parameters
-
state The IState object.
Implemented in Murl::Logic::BaseProcessor.
◆ OnProcessFrameChildren()
|
pure virtual |
Called by IProcessor after processing children's OnProcessFrame() each frame tick if enabled.
- Parameters
-
state The IState object.
Implemented in Murl::Logic::BaseProcessor.
◆ OnFinishTick()
|
pure virtual |
Called by IProcessor each logic tick if enabled.
- Parameters
-
state The IState object.
Implemented in Murl::Logic::BaseProcessor.
◆ OnFinishTickChildren()
|
pure virtual |
Called by IProcessor after processing children's OnFinishTick() each logic tick if enabled.
- Parameters
-
state The IState object.
Implemented in Murl::Logic::BaseProcessor.
◆ OnFinishFrame()
|
pure virtual |
Called by IProcessor each frame tick if enabled.
- Parameters
-
state The IState object.
Implemented in Murl::Logic::BaseProcessor.
◆ OnFinishFrameChildren()
|
pure virtual |
Called by IProcessor after processing children's OnFinishFrame() each frame tick if enabled.
- Parameters
-
state The IState object.
Implemented in Murl::Logic::BaseProcessor.
◆ OnPackageWillBeLoaded()
|
pure virtual |
Called by IProcessor to report the beginning of package loading.
- Parameters
-
state The IState object. package The package to load.
Implemented in Murl::Logic::BaseProcessor.
◆ OnPackageWasLoaded()
|
pure virtual |
Called by IProcessor to report the succesful loading of a package.
- Parameters
-
state The IState object. package The package to load.
Implemented in Murl::Logic::BaseProcessor.
◆ OnPackageFailedLoading()
|
pure virtual |
Called by IProcessor to report failed loading a package.
- Parameters
-
state The IState object. package The package to load.
Implemented in Murl::Logic::BaseProcessor.
◆ OnPackageWillBeUnloaded()
|
pure virtual |
Called by IProcessor to report the beginning of package unloading.
- Parameters
-
state The IState object. package The package to load.
Implemented in Murl::Logic::BaseProcessor.
◆ OnPackageWasUnloaded()
|
pure virtual |
Called by IProcessor to report the succesful unloading of a package.
- Parameters
-
state The IState object. package The package to load.
Implemented in Murl::Logic::BaseProcessor.
◆ OnPackageFailedUnloading()
|
pure virtual |
Called by IProcessor to report failed unloading a package.
- Parameters
-
state The IState object. package The package to load.
Implemented in Murl::Logic::BaseProcessor.
◆ OnRunStateChanged()
|
pure virtual |
Called by IProcessor to report a change of the application run state.
- Parameters
-
state The IState object. currentState The current run state. previousState The previous run state.
Implemented in Murl::Logic::BaseProcessor.
◆ OnSetEnabled()
|
pure virtual |
Called by IProcessor::SetEnabled().
This method is used to track the enabled state.
- Parameters
-
isEnabled true if enabled.
Implemented in Murl::Logic::BaseProcessor.
The documentation for this interface was generated from the following file:
- murl_logic_i_app_processor.h