🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::PilotRecorder类 参考

#include <PilotRecorder.hpp>

+ 类 ast::PilotRecorder 继承关系图:

信号

void stepRecorded (int index, const std::string &description)
 
void recordingStarted ()
 
void recordingStopped ()
 
void recordingPaused ()
 
void recordingResumed ()
 

Public 成员函数

 PilotRecorder (PilotAgent *agent, QObject *parent=nullptr)
 
 PilotRecorder (const PilotRecorder &)=delete
 
PilotRecorderoperator= (const PilotRecorder &)=delete
 
void start ()
 
void stop ()
 
void pause ()
 
void resume ()
 
bool isRecording () const
 
bool isPaused () const
 
int stepCount () const
 
const RecordStepstepAt (int index) const
 
std::string toJson () const
 
bool saveToFile (const std::string &path) const
 
std::string polish ()
 
void handleComboChange (QComboBox *combo)
 
void handleDialogFinished (QDialog *dlg, int result)
 

Protected 成员函数

bool eventFilter (QObject *obj, QEvent *event) override
 

详细描述

界面操作录制器

通过全局事件过滤器截获用户操作,转为 RecordStep 序列, 导出为结构化 JSON 或自然语言脚本。


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