MCPcopy Create free account
hub / github.com/AimRT/AimRT / ExportRpcServiceBase

Function ExportRpcServiceBase

src/runtime/python_runtime/export_rpc.h:203–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203inline void ExportRpcServiceBase(pybind11::object m) {
204 using aimrt::rpc::ServiceBase;
205
206 pybind11::class_<ServiceBase>(std::move(m), "ServiceBase")
207 .def(pybind11::init<std::string_view, std::string_view>())
208 .def("RpcType", &ServiceBase::RpcType)
209 .def("ServiceName", &ServiceBase::ServiceName)
210 .def("SetServiceName", &ServiceBase::SetServiceName)
211 .def("PbRegisterServiceFunc", &PbRpcServiceBaseRegisterServiceFunc);
212}
213
214inline void ExportRpcHandleRef(pybind11::object m) {
215 using aimrt::rpc::RpcHandleRef;

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected