engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FToolCommandChangeSequence类 参考

FCommandChangeSequence contains a list of FCommandChanges and associated target UObjects. 更多...

#include <ToolCommandChangeSequence.h>

+ 类 FToolCommandChangeSequence 继承关系图:

Public 成员函数

void AppendChange (UObject *Target, TUniquePtr< FToolCommandChange > Change)
 Add a change to the sequence
 
virtual void Apply (UObject *Object) override
 Apply sequence of changes in-order
 
virtual void Revert (UObject *Object) override
 Reverts sequence of changes in reverse-order
 
virtual FString ToString () const override
 
virtual FString ToString () const override
 Describes this change (for debugging)
 
- Public 成员函数 继承自 FCommandChange
virtual TUniquePtr< FChange > Execute (UObject *Object)
 Makes the change to the object, returning a new change that can be used to perfectly roll back this change
 
virtual EChangeStyle GetChangeType () override
 What style of change is this
 
- Public 成员函数 继承自 FChange
virtual void Apply (UObject *Object)=0
 Makes the change to the object
 
virtual TUniquePtr< FChange > Execute (UObject *Object)=0
 Makes the change to the object, returning a new change that can be used to perfectly roll back this change
 
virtual EChangeStyle GetChangeType ()=0
 What style of change is this
 
virtual bool HasExpired (UObject *Object) const
 
virtual void PrintToLog (class FFeedbackContext &FeedbackContext, const int32 IndentLevel=0)
 Prints this change to the log, including sub-changes if there are any. 更多...
 
virtual void Revert (UObject *Object)=0
 Reverts change to the object
 
virtual FString ToString () const =0
 Describes this change (for debugging)
 
virtual ~FChange ()
 Virtual destructor
 

额外继承的成员函数

- Protected 成员函数 继承自 FChange
 FChange ()
 Protected default constructor
 

详细描述

FCommandChangeSequence contains a list of FCommandChanges and associated target UObjects.

The sequence of changes is applied atomically.

警告
if the target weak UObject pointers become invalid, those changes are skipped. Possibly leaves things in an undefined state...

成员函数说明

◆ ToString()

virtual FString FToolCommandChangeSequence::ToString ( ) const
inlineoverridevirtual
返回
string describing this change sequenece

重载 FToolCommandChange .


该类的文档由以下文件生成: