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

#include <PilotPipeServer.hpp>

Public 成员函数

 PilotPipeServer (PilotCommander *commander, unsigned long pid)
 
 ~PilotPipeServer ()
 
void start ()
 
void stop ()
 
bool isRunning () const
 

静态 Public 成员函数

static std::string pipeName (unsigned long pid)
 

详细描述

Named Pipe 服务端

在目标进程中创建 named pipe,等待外部客户端(Injector)连接并发送命令。 命令格式:一行文本 +
,响应以 \0 结尾。 Pipe 名称:\.\pipe\AstUiPilot_{PID}

构造及析构函数说明

◆ PilotPipeServer()

ast::PilotPipeServer::PilotPipeServer ( PilotCommander * commander,
unsigned long pid )
explicit

构造函数

参数
commander命令调度器
pid目标进程 PID(用于构造唯一的 pipe 名称)

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