17 #ifndef CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_ADD_ODOMETRY_DATA_HANDLER_H 18 #define CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_ADD_ODOMETRY_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 AddOdometryDataSignature, async_grpc::Stream<proto::AddOdometryDataRequest>,
30 google::protobuf::Empty,
31 "/cartographer.cloud.proto.MapBuilderService/AddOdometryData")
33 class AddOdometryDataHandler
34 : public async_grpc::RpcHandler<AddOdometryDataSignature> {
36 void OnRequest(
const proto::AddOdometryDataRequest &request)
override;
37 void OnReadsDone()
override;
44 #endif // CARTOGRAPHER_CLOUD_INTERNAL_HANDLERS_ADD_ODOMETRY_DATA_HANDLER_H
DEFINE_HANDLER_SIGNATURE(AddFixedFramePoseDataSignature, async_grpc::Stream< proto::AddFixedFramePoseDataRequest >, google::protobuf::Empty, "/cartographer.cloud.proto.MapBuilderService/AddFixedFramePoseData") class AddFixedFramePoseDataHandler