载入中...
搜索中...
未找到
eve::cmd::McpArgs结构体 参考
类 eve::cmd::McpArgs 继承关系图:
eve::cmd::Handler

Public 成员函数

void setup (CLI::App &app, std::shared_ptr< CLI::Formatter > formatter) override
 Registers options on the CLI11 sub-app.
 
int parse (CLI::App &app, Cmdline &cmd) override
 Parses arguments and runs the command; returns the exit code.
 
- Public 成员函数 继承自 eve::cmd::Handler
virtual ~Handler ()
 Releases Handler resources.
 

Public 属性

std::string root_path
 
int port = 0
 
int timeoutMs = 2000
 
bool worker = false
 

详细描述

在文件 Mcp.cpp 第 59 行定义.

成员函数说明

◆ parse()

int eve::cmd::McpArgs::parse ( CLI::App &  ,
Cmdline &   
)
inlineoverridevirtual

Parses arguments and runs the command; returns the exit code.

实现了 eve::cmd::Handler.

在文件 Mcp.cpp 第 77 行定义.

引用了 eve::cmd::Cmdline::get_remaining(), eve::cmd::Cmdline::McpHost(), port, root_path, eve::cmd::detail::runMcpSupervisor(), timeoutMs , 以及 worker.

◆ setup()

void eve::cmd::McpArgs::setup ( CLI::App &  ,
std::shared_ptr< CLI::Formatter >   
)
inlineoverridevirtual

Registers options on the CLI11 sub-app.

实现了 eve::cmd::Handler.

在文件 Mcp.cpp 第 65 行定义.

引用了 port, root_path, timeoutMs , 以及 worker.

类成员变量说明

◆ port

int eve::cmd::McpArgs::port = 0

在文件 Mcp.cpp 第 61 行定义.

被这些函数引用 parse() , 以及 setup().

◆ root_path

std::string eve::cmd::McpArgs::root_path

在文件 Mcp.cpp 第 60 行定义.

被这些函数引用 parse() , 以及 setup().

◆ timeoutMs

int eve::cmd::McpArgs::timeoutMs = 2000

在文件 Mcp.cpp 第 62 行定义.

被这些函数引用 parse() , 以及 setup().

◆ worker

bool eve::cmd::McpArgs::worker = false

在文件 Mcp.cpp 第 63 行定义.

被这些函数引用 parse() , 以及 setup().


该结构体的文档由以下文件生成: