16 #ifndef CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_RECEIVE_GLOBAL_SLAM_OPTIMIZATIONS_HANDLER_H 17 #define CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_RECEIVE_GLOBAL_SLAM_OPTIMIZATIONS_HANDLER_H 21 #include "async_grpc/rpc_handler.h" 23 #include "cartographer/cloud/proto/map_builder_service.pb.h" 30 ReceiveGlobalSlamOptimizationsSignature, google::protobuf::Empty,
31 async_grpc::Stream<proto::ReceiveGlobalSlamOptimizationsResponse>,
32 "/cartographer.cloud.proto.MapBuilderService/" 33 "ReceiveGlobalSlamOptimizations")
35 class ReceiveGlobalSlamOptimizationsHandler
36 : public async_grpc::RpcHandler<ReceiveGlobalSlamOptimizationsSignature> {
38 void OnRequest(
const google::protobuf::Empty &request)
override;
39 void OnFinish()
override;
49 #endif // CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_RECEIVE_GLOBAL_SLAM_OPTIMIZATIONS_HANDLER_H
DEFINE_HANDLER_SIGNATURE(AddFixedFramePoseDataSignature, async_grpc::Stream< proto::AddFixedFramePoseDataRequest >, google::protobuf::Empty, "/cartographer.cloud.proto.MapBuilderService/AddFixedFramePoseData") class AddFixedFramePoseDataHandler