17 #ifndef CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_LOAD_STATE_HANDLER_H 18 #define CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_LOAD_STATE_HANDLER_H 20 #include "async_grpc/rpc_handler.h" 21 #include "cartographer/cloud/proto/map_builder_service.pb.h" 23 #include "google/protobuf/empty.pb.h" 30 LoadStateSignature, async_grpc::Stream<proto::LoadStateRequest>,
31 google::protobuf::Empty,
32 "/cartographer.cloud.proto.MapBuilderService/LoadState")
34 class LoadStateHandler : public async_grpc::RpcHandler<LoadStateSignature> {
36 void OnRequest(
const proto::LoadStateRequest& request)
override;
37 void OnReadsDone()
override;
47 #endif // CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_LOAD_STATE_HANDLER_H std::unique_ptr< InMemoryProtoStreamReader > reader_
DEFINE_HANDLER_SIGNATURE(AddFixedFramePoseDataSignature, async_grpc::Stream< proto::AddFixedFramePoseDataRequest >, google::protobuf::Empty, "/cartographer.cloud.proto.MapBuilderService/AddFixedFramePoseData") class AddFixedFramePoseDataHandler