Open 3D Engine ScriptCanvas Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
ScriptCanvas::ExecutionState Class Referenceabstract

base abstract class that is the interface for the ScriptCanvas runtime and the hosting environment. It allows for customization of initialization, starting, and stopping execution. It only works on on valid runtime data, and holds user data. For example, in the Entity/Component system, the user data stores the information required to provide the Entity and Component that own the running graph. The actual runtime implementation is entirely up to subclasses. More...

Inherited by ScriptCanvas::ExecutionStateInterpreted.

Public Member Functions

 AZ_RTTI (ExecutionState, k_ExecutionStateAzTypeIdString)
 
 AZ_CLASS_ALLOCATOR (ExecutionState, AZ::SystemAllocator)
 
 ExecutionState (ExecutionStateConfig &config)
 
virtual void Execute ()=0
 
AZ::Data::AssetId GetAssetId () const
 
const Grammar::DebugExecutionGetDebugSymbolIn (size_t index) const
 
const Grammar::DebugExecutionGetDebugSymbolIn (size_t index, const AZ::Data::AssetId &id) const
 
const Grammar::DebugExecutionGetDebugSymbolOut (size_t index) const
 
const Grammar::DebugExecutionGetDebugSymbolOut (size_t index, const AZ::Data::AssetId &id) const
 
const Grammar::DebugExecutionGetDebugSymbolReturn (size_t index) const
 
const Grammar::DebugExecutionGetDebugSymbolReturn (size_t index, const AZ::Data::AssetId &id) const
 
const Grammar::DebugDataSourceGetDebugSymbolVariableChange (size_t index) const
 
const Grammar::DebugDataSourceGetDebugSymbolVariableChange (size_t index, const AZ::Data::AssetId &id) const
 
virtual ExecutionMode GetExecutionMode () const =0
 
const RuntimeDataOverridesGetRuntimeDataOverrides () const
 
const RuntimeDataGetRuntimeData () const
 
const ExecutionUserData & GetUserData () const
 
virtual void Initialize ()=0
 
virtual bool IsPure () const
 
ExecutionUserData & ModUserData () const
 
ExecutionStatePtr SharedFromThis ()
 
ExecutionStateConstPtr SharedFromThisConst () const
 
virtual void StopExecution ()=0
 
AZStd::string ToString () const
 
ExecutionStateWeakPtr WeakFromThis ()
 
ExecutionStateWeakConstPtr WeakFromThisConst () const
 

Public Attributes

const AZ::u32 m_lightUserDataMark = UserDataMark
 

Detailed Description

base abstract class that is the interface for the ScriptCanvas runtime and the hosting environment. It allows for customization of initialization, starting, and stopping execution. It only works on on valid runtime data, and holds user data. For example, in the Entity/Component system, the user data stores the information required to provide the Entity and Component that own the running graph. The actual runtime implementation is entirely up to subclasses.


The documentation for this class was generated from the following file: