Public Member Functions | Private Attributes | List of all members
cartographer::cloud::MapBuilderStub Class Reference

#include <map_builder_stub.h>

Inheritance diagram for cartographer::cloud::MapBuilderStub:
Inheritance graph
[legend]

Public Member Functions

int AddTrajectoryBuilder (const std::set< SensorId > &expected_sensor_ids, const mapping::proto::TrajectoryBuilderOptions &trajectory_options, LocalSlamResultCallback local_slam_result_callback) override
 
int AddTrajectoryForDeserialization (const mapping::proto::TrajectoryBuilderOptionsWithSensorIds &options_with_sensor_ids_proto) override
 
void FinishTrajectory (int trajectory_id) override
 
const std::vector< mapping::proto::TrajectoryBuilderOptionsWithSensorIds > & GetAllTrajectoryBuilderOptions () const override
 
mapping::TrajectoryBuilderInterfaceGetTrajectoryBuilder (int trajectory_id) const override
 
void LoadState (io::ProtoStreamReaderInterface *reader, bool load_frozen_state) override
 
 MapBuilderStub (const std::string &server_address)
 
 MapBuilderStub (const MapBuilderStub &)=delete
 
int num_trajectory_builders () const override
 
MapBuilderStuboperator= (const MapBuilderStub &)=delete
 
mapping::PoseGraphInterfacepose_graph () override
 
void SerializeState (io::ProtoStreamWriterInterface *writer) override
 
std::string SubmapToProto (const mapping::SubmapId &submap_id, mapping::proto::SubmapQuery::Response *response) override
 
- Public Member Functions inherited from cartographer::mapping::MapBuilderInterface
virtual int AddTrajectoryBuilder (const std::set< SensorId > &expected_sensor_ids, const proto::TrajectoryBuilderOptions &trajectory_options, LocalSlamResultCallback local_slam_result_callback)=0
 
virtual int AddTrajectoryForDeserialization (const proto::TrajectoryBuilderOptionsWithSensorIds &options_with_sensor_ids_proto)=0
 
 MapBuilderInterface ()
 
 MapBuilderInterface (const MapBuilderInterface &)=delete
 
MapBuilderInterfaceoperator= (const MapBuilderInterface &)=delete
 
virtual std::string SubmapToProto (const SubmapId &submap_id, proto::SubmapQuery::Response *response)=0
 
virtual ~MapBuilderInterface ()
 

Private Attributes

std::shared_ptr<::grpc::Channel > client_channel_
 
std::unique_ptr< mapping::PoseGraphInterfacepose_graph_stub_
 
std::map< int, std::unique_ptr< mapping::TrajectoryBuilderInterface > > trajectory_builder_stubs_
 

Additional Inherited Members

- Public Types inherited from cartographer::mapping::MapBuilderInterface
using LocalSlamResultCallback = TrajectoryBuilderInterface::LocalSlamResultCallback
 
using SensorId = TrajectoryBuilderInterface::SensorId
 

Detailed Description

Definition at line 30 of file map_builder_stub.h.

Constructor & Destructor Documentation

◆ MapBuilderStub() [1/2]

cartographer::cloud::MapBuilderStub::MapBuilderStub ( const std::string &  server_address)

Definition at line 40 of file map_builder_stub.cc.

◆ MapBuilderStub() [2/2]

cartographer::cloud::MapBuilderStub::MapBuilderStub ( const MapBuilderStub )
delete

Member Function Documentation

◆ AddTrajectoryBuilder()

int cartographer::cloud::MapBuilderStub::AddTrajectoryBuilder ( const std::set< SensorId > &  expected_sensor_ids,
const mapping::proto::TrajectoryBuilderOptions &  trajectory_options,
LocalSlamResultCallback  local_slam_result_callback 
)
override

Definition at line 53 of file map_builder_stub.cc.

◆ AddTrajectoryForDeserialization()

int cartographer::cloud::MapBuilderStub::AddTrajectoryForDeserialization ( const mapping::proto::TrajectoryBuilderOptionsWithSensorIds &  options_with_sensor_ids_proto)
override

Definition at line 77 of file map_builder_stub.cc.

◆ FinishTrajectory()

void cartographer::cloud::MapBuilderStub::FinishTrajectory ( int  trajectory_id)
overridevirtual

Implements cartographer::mapping::MapBuilderInterface.

Definition at line 88 of file map_builder_stub.cc.

◆ GetAllTrajectoryBuilderOptions()

const std::vector< mapping::proto::TrajectoryBuilderOptionsWithSensorIds > & cartographer::cloud::MapBuilderStub::GetAllTrajectoryBuilderOptions ( ) const
overridevirtual

Implements cartographer::mapping::MapBuilderInterface.

Definition at line 169 of file map_builder_stub.cc.

◆ GetTrajectoryBuilder()

mapping::TrajectoryBuilderInterface * cartographer::cloud::MapBuilderStub::GetTrajectoryBuilder ( int  trajectory_id) const
overridevirtual

Implements cartographer::mapping::MapBuilderInterface.

Definition at line 83 of file map_builder_stub.cc.

◆ LoadState()

void cartographer::cloud::MapBuilderStub::LoadState ( io::ProtoStreamReaderInterface reader,
bool  load_frozen_state 
)
overridevirtual

Implements cartographer::mapping::MapBuilderInterface.

Definition at line 127 of file map_builder_stub.cc.

◆ num_trajectory_builders()

int cartographer::cloud::MapBuilderStub::num_trajectory_builders ( ) const
overridevirtual

Implements cartographer::mapping::MapBuilderInterface.

Definition at line 160 of file map_builder_stub.cc.

◆ operator=()

MapBuilderStub& cartographer::cloud::MapBuilderStub::operator= ( const MapBuilderStub )
delete

◆ pose_graph()

mapping::PoseGraphInterface * cartographer::cloud::MapBuilderStub::pose_graph ( )
overridevirtual

Implements cartographer::mapping::MapBuilderInterface.

Definition at line 164 of file map_builder_stub.cc.

◆ SerializeState()

void cartographer::cloud::MapBuilderStub::SerializeState ( io::ProtoStreamWriterInterface writer)
overridevirtual

Implements cartographer::mapping::MapBuilderInterface.

Definition at line 108 of file map_builder_stub.cc.

◆ SubmapToProto()

std::string cartographer::cloud::MapBuilderStub::SubmapToProto ( const mapping::SubmapId submap_id,
mapping::proto::SubmapQuery::Response *  response 
)
override

Definition at line 97 of file map_builder_stub.cc.

Member Data Documentation

◆ client_channel_

std::shared_ptr<::grpc::Channel> cartographer::cloud::MapBuilderStub::client_channel_
private

Definition at line 59 of file map_builder_stub.h.

◆ pose_graph_stub_

std::unique_ptr<mapping::PoseGraphInterface> cartographer::cloud::MapBuilderStub::pose_graph_stub_
private

Definition at line 60 of file map_builder_stub.h.

◆ trajectory_builder_stubs_

std::map<int, std::unique_ptr<mapping::TrajectoryBuilderInterface> > cartographer::cloud::MapBuilderStub::trajectory_builder_stubs_
private

Definition at line 62 of file map_builder_stub.h.


The documentation for this class was generated from the following files:


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59