The IAppGraph interface.
More...
#include <murl_logic_i_app_graph.h>
The IAppGraph interface.
This interface is used by the Graph::ILogicController object to callback the app.
◆ OnPreInit()
Called by Graph::ILogicController at initialization.
Perform initializaton before the node and its children are being initialized.
- Parameters
-
- Returns
- true if successful, should return false if any initialization failed.
◆ OnPostInit()
Called by Graph::ILogicController at initialization.
Perform initializaton after the node and its children have been initialized.
- Parameters
-
- Returns
- true if successful, should return false if any initialization failed.
◆ OnPreDeInit()
Called by Graph::ILogicController at deinitialization.
Perform de-initializaton step before the node and its children are being de-initialized.
- Parameters
-
- Returns
- true if successful, should return false if any deinitialization failed.
◆ OnPostDeInit()
Called by Graph::ILogicController at deinitialization.
Perform de-initializaton step after the node and its children have been de-initialized.
- Parameters
-
- Returns
- true if successful, should return false if any deinitialization failed.
◆ OnPreProcessTick()
virtual void Murl::Logic::IAppGraph::OnPreProcessTick |
( |
const Logic::IState * |
state | ) |
|
|
pure virtual |
Called by Graph::ILogicController each logic tick.
Performed by graph logic traversal, before the node is being processed.
- Parameters
-
◆ OnPostProcessTick()
virtual void Murl::Logic::IAppGraph::OnPostProcessTick |
( |
const Logic::IState * |
state | ) |
|
|
pure virtual |
Called by Graph::ILogicController each logic tick.
Performed by graph logic traversal, after the node's children have been processed.
- Parameters
-
◆ OnPreConfigChanged()
virtual void Murl::Logic::IAppGraph::OnPreConfigChanged |
( |
const Logic::IState * |
state | ) |
|
|
pure virtual |
Called by Graph::ILogicController if the configuration changed.
Signal a configuration change, before the node is being processed.
- Parameters
-
◆ OnPostConfigChanged()
virtual void Murl::Logic::IAppGraph::OnPostConfigChanged |
( |
const Logic::IState * |
state | ) |
|
|
pure virtual |
Called by Graph::ILogicController if the configuration changed.
Signal a configuration change, after the node's children have been processed.
- Parameters
-
◆ OnPreInitConfigChanged()
Called by Graph::IScriptLogicController if the configuration changed.
Signal a configuration change, before the node is being processed.
If a new configuration dependent controller script is created the following is called:
If no new configuration dependent controller script is created the OnPreConfigChanged() method of the recent controller is called.
- Parameters
-
state | The IState object. |
recentAppGraph | The recent IAppGraph interface object. |
- Returns
- true if successful, should return false if any initialization failed.
◆ OnPostInitConfigChanged()
Called by Graph::IScriptLogicController if the configuration changed.
Signal a configuration change, after the node's children have been processed.
If a new configuration dependent controller script is created the following is called:
If no new configuration dependent controller script is created the OnPostConfigChanged() method of the recent controller is called.
- Parameters
-
state | The IState object. |
recentAppGraph | The recent IAppGraph interface object. |
- Returns
- true if successful, should return false if any initialization failed.
The documentation for this interface was generated from the following file: