// Generated by the gRPC C++ plugin. // If you make any local change, they will be lost. // source: PathPlanning.proto #include "PathPlanning.pb.h" #include "PathPlanning.grpc.pb.h" #include #include #include #include #include #include #include #include namespace pathplanning { static const char* CPathPlanning_method_names[] = { "/pathplanning.CPathPlanning/CalPath", }; std::unique_ptr< CPathPlanning::Stub> CPathPlanning::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) { (void)options; std::unique_ptr< CPathPlanning::Stub> stub(new CPathPlanning::Stub(channel)); return stub; } CPathPlanning::Stub::Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel) : channel_(channel), rpcmethod_CalPath_(CPathPlanning_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, channel) {} ::grpc::Status CPathPlanning::Stub::CalPath(::grpc::ClientContext* context, const ::pathplanning::PathPlanningRequest& request, ::pathplanning::PathPlanningReply* response) { return ::grpc::internal::BlockingUnaryCall(channel_.get(), rpcmethod_CalPath_, context, request, response); } ::grpc::ClientAsyncResponseReader< ::pathplanning::PathPlanningReply>* CPathPlanning::Stub::AsyncCalPathRaw(::grpc::ClientContext* context, const ::pathplanning::PathPlanningRequest& request, ::grpc::CompletionQueue* cq) { return ::grpc::internal::ClientAsyncResponseReaderFactory< ::pathplanning::PathPlanningReply>::Create(channel_.get(), cq, rpcmethod_CalPath_, context, request, true); } ::grpc::ClientAsyncResponseReader< ::pathplanning::PathPlanningReply>* CPathPlanning::Stub::PrepareAsyncCalPathRaw(::grpc::ClientContext* context, const ::pathplanning::PathPlanningRequest& request, ::grpc::CompletionQueue* cq) { return ::grpc::internal::ClientAsyncResponseReaderFactory< ::pathplanning::PathPlanningReply>::Create(channel_.get(), cq, rpcmethod_CalPath_, context, request, false); } CPathPlanning::Service::Service() { AddMethod(new ::grpc::internal::RpcServiceMethod( CPathPlanning_method_names[0], ::grpc::internal::RpcMethod::NORMAL_RPC, new ::grpc::internal::RpcMethodHandler< CPathPlanning::Service, ::pathplanning::PathPlanningRequest, ::pathplanning::PathPlanningReply>( std::mem_fn(&CPathPlanning::Service::CalPath), this))); } CPathPlanning::Service::~Service() { } ::grpc::Status CPathPlanning::Service::CalPath(::grpc::ServerContext* context, const ::pathplanning::PathPlanningRequest* request, ::pathplanning::PathPlanningReply* response) { (void) context; (void) request; (void) response; return ::grpc::Status(::grpc::StatusCode::UNIMPLEMENTED, ""); } } // namespace pathplanning