|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <PilotPlayer.hpp>
类 ast::PilotPlayer 继承关系图:Public 类型 | |
| enum class | EPlayMode { Sequential , StepByStep } |
Public 成员函数 | |
| PilotPlayer (PilotSession *session, QObject *parent=nullptr) | |
| bool | loadScript (const std::string &filePath) |
| bool | loadJson (const std::string &jsonStr) |
| void | play (EPlayMode mode=EPlayMode::Sequential) |
| void | pause () |
| void | resume () |
| void | step () |
| void | stop () |
| bool | isPlaying () const |
| int | currentStep () const |
| int | totalSteps () const |
| const std::string & | lastError () const |
| std::string | progress () const |
录制脚本回放器
加载 JSON 脚本,逐步通过 LLM 执行自然语言描述的操作。