17 #ifndef CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_RECEIVE_LOCAL_SLAM_RESULTS_HANDLER_H 18 #define CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_RECEIVE_LOCAL_SLAM_RESULTS_HANDLER_H 22 #include "async_grpc/rpc_handler.h" 24 #include "cartographer/cloud/proto/map_builder_service.pb.h" 31 ReceiveLocalSlamResultsSignature, proto::ReceiveLocalSlamResultsRequest,
32 async_grpc::Stream<proto::ReceiveLocalSlamResultsResponse>,
33 "/cartographer.cloud.proto.MapBuilderService/ReceiveLocalSlamResults")
35 class ReceiveLocalSlamResultsHandler
36 : public async_grpc::RpcHandler<ReceiveLocalSlamResultsSignature> {
38 void OnRequest(
const proto::ReceiveLocalSlamResultsRequest& request)
override;
39 void OnFinish()
override;
42 std::unique_ptr<MapBuilderContextInterface::LocalSlamSubscriptionId>
50 #endif // CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_RECEIVE_LOCAL_SLAM_RESULTS_HANDLER_H
DEFINE_HANDLER_SIGNATURE(AddFixedFramePoseDataSignature, async_grpc::Stream< proto::AddFixedFramePoseDataRequest >, google::protobuf::Empty, "/cartographer.cloud.proto.MapBuilderService/AddFixedFramePoseData") class AddFixedFramePoseDataHandler