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.
ScriptCanvasEditor::StateMachine Class Reference

#include <GraphUpgrade.h>

Inherits AZ::SystemTickBus::Handler.

Inherited by ScriptCanvasEditor::EditorGraphUpgradeMachine.

Public Member Functions

 AZ_RTTI (StateMachine, "{A3B08B4F-1E5D-492A-84DA-99AD58BA7AE0}")
 
void Run (int startStateID)
 
virtual void OnComplete (IState::ExitStatus)
 
void OnSystemTick () override
 
const UpgradeGraphConfigGetConfig () const
 
const AZStd::string GetError () const
 
void SetConfig (const UpgradeGraphConfig &config)
 
const AZStd::string & GetDebugPrefix () const
 
void SetDebugPrefix (AZStd::string_view)
 
void MarkError (AZStd::string_view error)
 

Public Attributes

AZStd::shared_ptr< IStatem_currentState = nullptr
 
AZStd::vector< AZStd::shared_ptr< IState > > m_states
 

Detailed Description

A state machine that operates on the SystemTickBus Only one state at a time will execute in a given frame


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