00001 #include "cartographer/cloud/map_builder_server_interface.h" 00002 00003 #include "absl/memory/memory.h" 00004 #include "cartographer/cloud/internal/map_builder_server.h" 00005 00006 namespace cartographer { 00007 namespace cloud { 00008 00009 void RegisterMapBuilderServerMetrics(metrics::FamilyFactory* factory) { 00010 MapBuilderServer::RegisterMetrics(factory); 00011 } 00012 00013 std::unique_ptr<MapBuilderServerInterface> CreateMapBuilderServer( 00014 const proto::MapBuilderServerOptions& map_builder_server_options, 00015 std::unique_ptr<mapping::MapBuilderInterface> map_builder) { 00016 return absl::make_unique<MapBuilderServer>(map_builder_server_options, 00017 std::move(map_builder)); 00018 } 00019 00020 } // namespace cloud 00021 } // namespace cartographer