#include "murl_logic_i_state.h"
Inherited by Murl::Logic::State.
Public Member Functions | |
virtual IFactory * | GetFactory () const =0 |
Get the logic object factory. More... | |
virtual Double | GetCurrentTickTime () const =0 |
Get the current tick time. More... | |
virtual Double | GetCurrentTickDuration () const =0 |
Get the current tick duration. More... | |
virtual const IPlatformConfiguration * | GetPlatformConfiguration () const =0 |
Get the platform configuration object. More... | |
virtual const IEngineConfiguration * | GetEngineConfiguration () const =0 |
Get the engine configuration object. More... | |
virtual IAppConfiguration * | GetAppConfiguration () const =0 |
Get the app configuration object. More... | |
virtual Logic::IDeviceHandler * | GetDeviceHandler () const =0 |
Get the device handler object. More... | |
virtual IFileInterface * | GetFileInterface () const =0 |
Get the file interface object. More... | |
virtual Graph::IRoot * | GetGraphRoot () const =0 |
Get the graph root object. More... | |
virtual ILoader * | GetLoader () const =0 |
Get the package loader object. More... | |
virtual const Resource::ICollection * | GetResourceCollection () const =0 |
Get the resource collection object. More... | |
virtual const Resource::IFactory * | GetResourceFactory () const =0 |
Get the resource factory. More... | |
virtual const String & | GetResourceText (const String &resourceId) const =0 |
Get the string value from a text resource. More... | |
virtual Net::IFactory * | GetNetFactory () const =0 |
Get the net object factory. More... | |
virtual const Core::IStatistics * | GetStatistics () const =0 |
Get the core statistics interface. More... | |
virtual void | SetUserDebugMessage (const String &message) const =0 |
Set the user debug message on render screen. More... | |
virtual void | AddUserDebugMessage (const String &message) const =0 |
Append a user debug message on render screen. More... | |
virtual String | GetUserDebugMessage () const =0 |
Get the user debug message string. More... | |
virtual IProcessorPtr | GetCurrentProcessor () const =0 |
Get the current logic processor. More... | |
virtual Graph::INode * | GetCurrentGraphNode () const =0 |
Get the current graph node object. More... | |
virtual void | SetCurrentProcessor (IProcessorPtr processor)=0 |
Set the current logic processor. More... | |
Detailed Description
The IState interface.
The IState object contains all necessary engine interfaces for logic processor programming.
Logic methods typically gets an instance of the IState object by parameter.
Member Function Documentation
◆ GetFactory()
|
pure virtual |
Get the logic object factory.
- Returns
- The logic object factory.
◆ GetCurrentTickTime()
|
pure virtual |
Get the current tick time.
The current tick time is the absolute time from starting the engine.
- Returns
- The current tick time in seconds.
◆ GetCurrentTickDuration()
|
pure virtual |
Get the current tick duration.
- Returns
- The current tick duration in seconds.
◆ GetPlatformConfiguration()
|
pure virtual |
Get the platform configuration object.
- Returns
- The configuration object.
◆ GetEngineConfiguration()
|
pure virtual |
Get the engine configuration object.
- Returns
- The configuration object.
◆ GetAppConfiguration()
|
pure virtual |
Get the app configuration object.
- Returns
- The configuration object.
◆ GetDeviceHandler()
|
pure virtual |
Get the device handler object.
- Returns
- The device handler object.
◆ GetFileInterface()
|
pure virtual |
Get the file interface object.
- Returns
- The file interface object.
◆ GetGraphRoot()
|
pure virtual |
Get the graph root object.
- Returns
- The graph root object.
◆ GetLoader()
|
pure virtual |
Get the package loader object.
- Returns
- The package loader object.
◆ GetResourceCollection()
|
pure virtual |
Get the resource collection object.
- Returns
- The resource collection object.
◆ GetResourceFactory()
|
pure virtual |
Get the resource factory.
- Returns
- The resource factory.
◆ GetResourceText()
|
pure virtual |
Get the string value from a text resource.
- Parameters
-
resourceId The text resource identifier.
- Returns
- The string value of the text resource or an empty string if the resource is not available.
◆ GetNetFactory()
|
pure virtual |
Get the net object factory.
- Returns
- The net object factory.
◆ GetStatistics()
|
pure virtual |
Get the core statistics interface.
- Returns
- The core statistics interface.
◆ SetUserDebugMessage()
|
pure virtual |
Set the user debug message on render screen.
The debug message is displayed if the built-in "debug" resource package is loaded. See also IAppConfiguration::SetUserDebugInfoEnabled() and IAppConfiguration::SetUserDebugInfoScaleFactor().
- Parameters
-
message The message string.
◆ AddUserDebugMessage()
|
pure virtual |
Append a user debug message on render screen.
The debug message is displayed if the built-in "debug" resource package is loaded.
- Parameters
-
message The message string to append.
◆ GetUserDebugMessage()
|
pure virtual |
Get the user debug message string.
- Returns
- The user debug message string.
◆ GetCurrentProcessor()
|
pure virtual |
Get the current logic processor.
The current logic processor is not available on IAppGraph calls.
- Returns
- The current logic processor.
◆ GetCurrentGraphNode()
|
pure virtual |
Get the current graph node object.
The current graph node is available on IAppGraph calls only.
- Returns
- The current graph node object or null.
◆ SetCurrentProcessor()
|
pure virtual |
Set the current logic processor.
The current processor is typically set by the engine.
- Parameters
-
processor The current logic processor to set.
The documentation for this interface was generated from the following file:
- murl_logic_i_state.h