Murl::Logic::IAppGraph Interface Referenceabstract

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()

virtual Bool Murl::Logic::IAppGraph::OnPreInit ( const Logic::IState state)
pure virtual

Called by Graph::ILogicController at initialization.

Perform initializaton before the node and its children are being initialized.

Parameters
stateThe IState object.
Returns
true if successful, should return false if any initialization failed.

◆ OnPostInit()

virtual Bool Murl::Logic::IAppGraph::OnPostInit ( const Logic::IState state)
pure virtual

Called by Graph::ILogicController at initialization.

Perform initializaton after the node and its children have been initialized.

Parameters
stateThe IState object.
Returns
true if successful, should return false if any initialization failed.

◆ OnPreDeInit()

virtual Bool Murl::Logic::IAppGraph::OnPreDeInit ( const Logic::IState state)
pure virtual

Called by Graph::ILogicController at deinitialization.

Perform de-initializaton step before the node and its children are being de-initialized.

Parameters
stateThe IState object.
Returns
true if successful, should return false if any deinitialization failed.

◆ OnPostDeInit()

virtual Bool Murl::Logic::IAppGraph::OnPostDeInit ( const Logic::IState state)
pure virtual

Called by Graph::ILogicController at deinitialization.

Perform de-initializaton step after the node and its children have been de-initialized.

Parameters
stateThe IState object.
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
stateThe IState object.

◆ 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
stateThe IState object.

◆ 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
stateThe IState object.

◆ 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
stateThe IState object.

◆ OnPreInitConfigChanged()

virtual Bool Murl::Logic::IAppGraph::OnPreInitConfigChanged ( const Logic::IState state,
Logic::IAppGraphPtr  recentAppGraph 
)
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:

If no new configuration dependent controller script is created the OnPreConfigChanged() method of the recent controller is called.

Parameters
stateThe IState object.
recentAppGraphThe recent IAppGraph interface object.
Returns
true if successful, should return false if any initialization failed.

◆ OnPostInitConfigChanged()

virtual Bool Murl::Logic::IAppGraph::OnPostInitConfigChanged ( const Logic::IState state,
Logic::IAppGraphPtr  recentAppGraph 
)
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:

If no new configuration dependent controller script is created the OnPostConfigChanged() method of the recent controller is called.

Parameters
stateThe IState object.
recentAppGraphThe 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:
  • murl_logic_i_app_graph.h


Copyright © 2011-2024 Spraylight GmbH.