#include <GraphUpgrade.h>
Inherits ScriptCanvasEditor::StateMachine.
Public Member Functions | |
AZ_RTTI (EditorGraphUpgradeMachine, "{C7EABC22-A3DD-4ABE-8303-418EA3CD1246}", StateMachine) | |
EditorGraphUpgradeMachine (EditorGraph *graph) | |
void | SetAsset (SourceHandle &assetasset) |
void | OnComplete (IState::ExitStatus exitStatus) override |
Public Member Functions inherited from ScriptCanvasEditor::StateMachine | |
AZ_RTTI (StateMachine, "{A3B08B4F-1E5D-492A-84DA-99AD58BA7AE0}") | |
void | Run (int startStateID) |
virtual void | OnComplete (IState::ExitStatus) |
void | OnSystemTick () override |
const UpgradeGraphConfig & | GetConfig () 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::unordered_set< ScriptCanvas::Node * > | m_allNodes |
AZStd::unordered_set< ScriptCanvas::Node * > | m_outOfDateNodes |
AZStd::unordered_set< ScriptCanvas::Node * > | m_deprecatedNodes |
AZStd::unordered_set< ScriptCanvas::Node * > | m_sanityCheckRequiredNodes |
AZStd::unordered_set< AZ::EntityId > | graphCanvasNodesToDelete |
AZStd::unordered_set< AZ::EntityId > | m_deletedNodes |
AZStd::unordered_set< AZ::EntityId > | m_assetSanitizationSet |
ScriptCanvas::GraphUpdateReport | m_updateReport |
AZStd::unordered_map< AZ::EntityId, AZ::EntityId > | m_scriptCanvasToGraphCanvasMapping |
ScriptCanvas::ScriptCanvasId | m_scriptCanvasId |
GraphCanvas::GraphId | m_graphCanvasGraphId |
AZ::Entity | m_scriptCanvasNodeId |
bool | m_graphNeedsDirtying = false |
EditorGraph * | m_graph = nullptr |
SourceHandle | m_asset |
Public Attributes inherited from ScriptCanvasEditor::StateMachine | |
AZStd::shared_ptr< IState > | m_currentState = nullptr |
AZStd::vector< AZStd::shared_ptr< IState > > | m_states |
This state machine will collect and share a variety of data from the EditorGraph Each state will operate on the data as needed in order to upgrade different elements of a graph. It is done with discreet states in order to avoid blocking the main thread with too many long running operations
|
overridevirtual |
Reimplemented from ScriptCanvasEditor::StateMachine.