17 #ifndef CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_ADD_FIXED_FRAME_POSE_DATA_HANDLER_H 18 #define CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_ADD_FIXED_FRAME_POSE_DATA_HANDLER_H 20 #include "async_grpc/rpc_handler.h" 21 #include "cartographer/cloud/proto/map_builder_service.pb.h" 22 #include "google/protobuf/empty.pb.h" 29 AddFixedFramePoseDataSignature,
30 async_grpc::Stream<proto::AddFixedFramePoseDataRequest>,
31 google::protobuf::Empty,
32 "/cartographer.cloud.proto.MapBuilderService/AddFixedFramePoseData")
34 class AddFixedFramePoseDataHandler
35 : public async_grpc::RpcHandler<AddFixedFramePoseDataSignature> {
37 void OnRequest(
const proto::AddFixedFramePoseDataRequest &request)
override;
38 void OnReadsDone()
override;
45 #endif // CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_ADD_FIXED_FRAME_POSE_DATA_HANDLER_H
DEFINE_HANDLER_SIGNATURE(AddFixedFramePoseDataSignature, async_grpc::Stream< proto::AddFixedFramePoseDataRequest >, google::protobuf::Empty, "/cartographer.cloud.proto.MapBuilderService/AddFixedFramePoseData") class AddFixedFramePoseDataHandler