AGVC SDK API  0.7.0
rpc.h 文件参考

用于RPC模块的交互,如登录、连接等功能 更多...

#include <memory>
#include <functional>
#include <agvc_interface/agvc_interface.h>
rpc.h 的引用(Include)关系图:

浏览该文件的源代码.

class  agvc_interface::RpcClient
 RPC客户端 更多...

命名空间

namespace  agvc_interface

宏定义

#define AGVC_ABI
#define RpcClient_DECLARES

类型定义

using agvc_interface::RpcClientPtr = std::shared_ptr<RpcClient>

详细描述

用于RPC模块的交互,如登录、连接等功能

在文件 rpc.h 中定义.

宏定义说明

◆ AGVC_ABI

#define AGVC_ABI

在文件 rpc.h7 行定义.

◆ RpcClient_DECLARES

#define RpcClient_DECLARES
值:
_FUNC(RpcClient, 1, setLogHandler, handler) \
_FUNC(RpcClient, 2, connect, ip, port) \
_FUNC(RpcClient, 0, disconnect) \
_FUNC(RpcClient, 0, hasConnected) \
_FUNC(RpcClient, 2, login, usrname, passwd) \
_FUNC(RpcClient, 0, logout) \
_FUNC(RpcClient, 0, hasLogined) \
_FUNC(RpcClient, 1, setRequestTimeout, timeout) \
_FUNC(RpcClient, 1, setExceptionFree, timenableeout) \
_FUNC(RpcClient, 0, errorCode)

在文件 rpc.h151 行定义.