PDF
AGVC SDK  0.8.0
rpc.h File Reference

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

#include <memory>
#include <functional>
#include <agvc_interface/agvc_interface.h>
Include dependency graph for rpc.h:

Go to the source code of this file.

Classes

class  agvc_interface::RpcClient
 RPC客户端 More...

Namespaces

namespace  agvc_interface

Macros

#define AGVC_ABI
#define RpcClient_DECLARES

Typedefs

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

Detailed Description

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

Definition in file rpc.h.

Macro Definition Documentation

◆ AGVC_ABI

#define AGVC_ABI

Definition at line 7 of file rpc.h.

◆ RpcClient_DECLARES

#define RpcClient_DECLARES
Value:
_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)

Definition at line 151 of file rpc.h.