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