![]() |
Murl Engine API
Version 2018.3
|
#include <murl_logic_i_state.h>
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.
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... | |
|
pure virtual |
Get the logic object factory.
|
pure virtual |
Get the current tick time.
The current tick time is the absolute time from starting the engine.
|
pure virtual |
Get the current tick duration.
|
pure virtual |
Get the platform configuration object.
|
pure virtual |
Get the engine configuration object.
|
pure virtual |
Get the app configuration object.
|
pure virtual |
Get the device handler object.
|
pure virtual |
Get the file interface object.
|
pure virtual |
Get the graph root object.
|
pure virtual |
Get the package loader object.
|
pure virtual |
Get the resource collection object.
|
pure virtual |
Get the resource factory.
|
pure virtual |
Get the string value from a text resource.
resourceId | The text resource identifier. |
|
pure virtual |
Get the net object factory.
|
pure virtual |
Get the core statistics interface.
|
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().
message | The message string. |
|
pure virtual |
Append a user debug message on render screen.
The debug message is displayed if the built-in "debug" resource package is loaded.
message | The message string to append. |
|
pure virtual |
Get the user debug message string.
|
pure virtual |
Get the current logic processor.
The current logic processor is not available on IAppGraph calls.
|
pure virtual |
Get the current graph node object.
The current graph node is available on IAppGraph calls only.
|
pure virtual |
Set the current logic processor.
The current processor is typically set by the engine.
processor | The current logic processor to set. |