Public Member Functions | Private Attributes | List of all members
cartographer::cloud::MapBuilderContext< SubmapType > Class Template Reference

#include <map_builder_server.h>

Inheritance diagram for cartographer::cloud::MapBuilderContext< SubmapType >:
Inheritance graph
[legend]

Public Member Functions

void AddSensorDataToTrajectory (const Data &sensor_data) override
 
template<>
void EnqueueLocalSlamResultData (int trajectory_id, const std::string &sensor_id, const mapping::proto::LocalSlamResultData &local_slam_result_data)
 
template<>
void EnqueueLocalSlamResultData (int trajectory_id, const std::string &sensor_id, const mapping::proto::LocalSlamResultData &local_slam_result_data)
 
void EnqueueLocalSlamResultData (int trajectory_id, const std::string &sensor_id, const mapping::proto::LocalSlamResultData &local_slam_result_data) override
 
template<>
void EnqueueLocalSlamResultData (int trajectory_id, const std::string &sensor_id, const mapping::proto::LocalSlamResultData &local_slam_result_data)
 
template<>
void EnqueueLocalSlamResultData (int trajectory_id, const std::string &sensor_id, const mapping::proto::LocalSlamResultData &local_slam_result_data)
 
void EnqueueSensorData (int trajectory_id, std::unique_ptr< sensor::Data > data) override
 
mapping::TrajectoryBuilderInterface::LocalSlamResultCallback GetLocalSlamResultCallbackForSubscriptions () override
 
LocalTrajectoryUploaderInterfacelocal_trajectory_uploader () override
 
mapping::MapBuilderInterfacemap_builder () override
 
 MapBuilderContext (MapBuilderServer *map_builder_server)
 
void NotifyFinishTrajectory (int trajectory_id) override
 
common::BlockingQueue< std::unique_ptr< MapBuilderContextInterface::Data > > & sensor_data_queue () override
 
int SubscribeGlobalSlamOptimizations (GlobalSlamOptimizationCallback callback) override
 
MapBuilderContextInterface::LocalSlamSubscriptionId SubscribeLocalSlamResults (int trajectory_id, LocalSlamSubscriptionCallback callback) override
 
void UnsubscribeGlobalSlamOptimizations (int subscription_index) override
 
void UnsubscribeLocalSlamResults (const LocalSlamSubscriptionId &subscription_id) override
 
- Public Member Functions inherited from cartographer::cloud::MapBuilderContextInterface
 MapBuilderContextInterface ()=default
 
 MapBuilderContextInterface (const MapBuilderContextInterface &)=delete
 
MapBuilderContextInterfaceoperator= (const MapBuilderContextInterface &)=delete
 
 ~MapBuilderContextInterface ()=default
 

Private Attributes

MapBuilderServermap_builder_server_
 
mapping::SubmapController< SubmapType > submap_controller_
 

Additional Inherited Members

- Public Types inherited from cartographer::cloud::MapBuilderContextInterface
using GlobalSlamOptimizationCallback = std::function< bool(const std::map< int, mapping::SubmapId > &, const std::map< int, mapping::NodeId > &)>
 
using LocalSlamSubscriptionCallback = std::function< bool(std::unique_ptr< LocalSlamResult >)>
 

Detailed Description

template<class SubmapType>
class cartographer::cloud::MapBuilderContext< SubmapType >

Definition at line 43 of file map_builder_server.h.

Constructor & Destructor Documentation

◆ MapBuilderContext()

template<class SubmapType >
cartographer::cloud::MapBuilderContext< SubmapType >::MapBuilderContext ( MapBuilderServer map_builder_server)

Definition at line 24 of file map_builder_context_impl.h.

Member Function Documentation

◆ AddSensorDataToTrajectory()

template<class SubmapType >
void cartographer::cloud::MapBuilderContext< SubmapType >::AddSensorDataToTrajectory ( const Data sensor_data)
overridevirtual

◆ EnqueueLocalSlamResultData() [1/5]

template<>
void cartographer::cloud::MapBuilderContext< mapping::Submap2D >::EnqueueLocalSlamResultData ( int  trajectory_id,
const std::string &  sensor_id,
const mapping::proto::LocalSlamResultData &  local_slam_result_data 
)
virtual

◆ EnqueueLocalSlamResultData() [2/5]

template<>
void cartographer::cloud::MapBuilderContext< mapping::Submap3D >::EnqueueLocalSlamResultData ( int  trajectory_id,
const std::string &  sensor_id,
const mapping::proto::LocalSlamResultData &  local_slam_result_data 
)
virtual

◆ EnqueueLocalSlamResultData() [3/5]

template<class SubmapType >
void cartographer::cloud::MapBuilderContext< SubmapType >::EnqueueLocalSlamResultData ( int  trajectory_id,
const std::string &  sensor_id,
const mapping::proto::LocalSlamResultData &  local_slam_result_data 
)
overridevirtual

◆ EnqueueLocalSlamResultData() [4/5]

template<>
void cartographer::cloud::MapBuilderContext< mapping::Submap2D >::EnqueueLocalSlamResultData ( int  trajectory_id,
const std::string &  sensor_id,
const mapping::proto::LocalSlamResultData &  local_slam_result_data 
)
virtual

◆ EnqueueLocalSlamResultData() [5/5]

template<>
void cartographer::cloud::MapBuilderContext< mapping::Submap3D >::EnqueueLocalSlamResultData ( int  trajectory_id,
const std::string &  sensor_id,
const mapping::proto::LocalSlamResultData &  local_slam_result_data 
)
virtual

◆ EnqueueSensorData()

template<class SubmapType >
void cartographer::cloud::MapBuilderContext< SubmapType >::EnqueueSensorData ( int  trajectory_id,
std::unique_ptr< sensor::Data data 
)
overridevirtual

◆ GetLocalSlamResultCallbackForSubscriptions()

template<class SubmapType >
mapping::TrajectoryBuilderInterface::LocalSlamResultCallback cartographer::cloud::MapBuilderContext< SubmapType >::GetLocalSlamResultCallbackForSubscriptions ( )
overridevirtual

◆ local_trajectory_uploader()

template<class SubmapType >
LocalTrajectoryUploaderInterface * cartographer::cloud::MapBuilderContext< SubmapType >::local_trajectory_uploader ( )
overridevirtual

◆ map_builder()

template<class SubmapType >
mapping::MapBuilderInterface & cartographer::cloud::MapBuilderContext< SubmapType >::map_builder ( )
overridevirtual

◆ NotifyFinishTrajectory()

template<class SubmapType >
void cartographer::cloud::MapBuilderContext< SubmapType >::NotifyFinishTrajectory ( int  trajectory_id)
overridevirtual

◆ sensor_data_queue()

template<class SubmapType >
common::BlockingQueue< std::unique_ptr< MapBuilderContextInterface::Data > > & cartographer::cloud::MapBuilderContext< SubmapType >::sensor_data_queue ( )
overridevirtual

◆ SubscribeGlobalSlamOptimizations()

template<class SubmapType >
int cartographer::cloud::MapBuilderContext< SubmapType >::SubscribeGlobalSlamOptimizations ( GlobalSlamOptimizationCallback  callback)
overridevirtual

◆ SubscribeLocalSlamResults()

template<class SubmapType >
MapBuilderContextInterface::LocalSlamSubscriptionId cartographer::cloud::MapBuilderContext< SubmapType >::SubscribeLocalSlamResults ( int  trajectory_id,
LocalSlamSubscriptionCallback  callback 
)
overridevirtual

◆ UnsubscribeGlobalSlamOptimizations()

template<class SubmapType >
void cartographer::cloud::MapBuilderContext< SubmapType >::UnsubscribeGlobalSlamOptimizations ( int  subscription_index)
overridevirtual

◆ UnsubscribeLocalSlamResults()

template<class SubmapType >
void cartographer::cloud::MapBuilderContext< SubmapType >::UnsubscribeLocalSlamResults ( const LocalSlamSubscriptionId subscription_id)
overridevirtual

Member Data Documentation

◆ map_builder_server_

template<class SubmapType >
MapBuilderServer* cartographer::cloud::MapBuilderContext< SubmapType >::map_builder_server_
private

Definition at line 69 of file map_builder_server.h.

◆ submap_controller_

template<class SubmapType >
mapping::SubmapController<SubmapType> cartographer::cloud::MapBuilderContext< SubmapType >::submap_controller_
private

Definition at line 70 of file map_builder_server.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