17 #ifndef CARTOGRAPHER_CLOUD_CLIENT_MAP_BUILDER_STUB_H_ 18 #define CARTOGRAPHER_CLOUD_CLIENT_MAP_BUILDER_STUB_H_ 25 #include "grpc++/grpc++.h" 38 const std::set<SensorId>& expected_sensor_ids,
39 const mapping::proto::TrajectoryBuilderOptions& trajectory_options,
42 const mapping::proto::TrajectoryBuilderOptionsWithSensorIds&
43 options_with_sensor_ids_proto)
override;
45 int trajectory_id)
const override;
49 mapping::proto::SubmapQuery::Response* response)
override;
52 bool load_frozen_state)
override;
55 const std::vector<mapping::proto::TrajectoryBuilderOptionsWithSensorIds>&
61 std::map<int, std::unique_ptr<mapping::TrajectoryBuilderInterface>>
68 #endif // CARTOGRAPHER_CLOUD_CLIENT_MAP_BUILDER_STUB_H_ std::map< int, std::unique_ptr< mapping::TrajectoryBuilderInterface > > trajectory_builder_stubs_
TrajectoryBuilderInterface::LocalSlamResultCallback LocalSlamResultCallback
std::shared_ptr<::grpc::Channel > client_channel_
const std::vector< mapping::proto::TrajectoryBuilderOptionsWithSensorIds > & GetAllTrajectoryBuilderOptions() const override
MapBuilderStub(const std::string &server_address)
mapping::TrajectoryBuilderInterface * GetTrajectoryBuilder(int trajectory_id) const override
MapBuilderStub & operator=(const MapBuilderStub &)=delete
int AddTrajectoryForDeserialization(const mapping::proto::TrajectoryBuilderOptionsWithSensorIds &options_with_sensor_ids_proto) override
void SerializeState(io::ProtoStreamWriterInterface *writer) override
std::unique_ptr< mapping::PoseGraphInterface > pose_graph_stub_
int AddTrajectoryBuilder(const std::set< SensorId > &expected_sensor_ids, const mapping::proto::TrajectoryBuilderOptions &trajectory_options, LocalSlamResultCallback local_slam_result_callback) override
void LoadState(io::ProtoStreamReaderInterface *reader, bool load_frozen_state) override
std::string SubmapToProto(const mapping::SubmapId &submap_id, mapping::proto::SubmapQuery::Response *response) override
void FinishTrajectory(int trajectory_id) override
int num_trajectory_builders() const override
mapping::PoseGraphInterface * pose_graph() override