Classes | Public Types | Public Member Functions | List of all members
cartographer::cloud::MapBuilderContextInterface Class Referenceabstract

#include <map_builder_context_interface.h>

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

Classes

struct  Data
 
struct  LocalSlamResult
 
struct  LocalSlamSubscriptionId
 

Public Types

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 >)>
 

Public Member Functions

virtual void AddSensorDataToTrajectory (const Data &sensor_data)=0
 
virtual void EnqueueLocalSlamResultData (int trajectory_id, const std::string &sensor_id, const mapping::proto::LocalSlamResultData &local_slam_result_data)=0
 
virtual void EnqueueSensorData (int trajectory_id, std::unique_ptr< sensor::Data > data)=0
 
virtual mapping::TrajectoryBuilderInterface::LocalSlamResultCallback GetLocalSlamResultCallbackForSubscriptions ()=0
 
virtual LocalTrajectoryUploaderInterfacelocal_trajectory_uploader ()=0
 
virtual mapping::MapBuilderInterfacemap_builder ()=0
 
 MapBuilderContextInterface ()=default
 
 MapBuilderContextInterface (const MapBuilderContextInterface &)=delete
 
virtual void NotifyFinishTrajectory (int trajectory_id)=0
 
MapBuilderContextInterfaceoperator= (const MapBuilderContextInterface &)=delete
 
virtual common::BlockingQueue< std::unique_ptr< Data > > & sensor_data_queue ()=0
 
virtual int SubscribeGlobalSlamOptimizations (GlobalSlamOptimizationCallback callback)=0
 
virtual LocalSlamSubscriptionId SubscribeLocalSlamResults (int trajectory_id, LocalSlamSubscriptionCallback callback)=0
 
virtual void UnsubscribeGlobalSlamOptimizations (int subscription_index)=0
 
virtual void UnsubscribeLocalSlamResults (const LocalSlamSubscriptionId &subscription_id)=0
 
 ~MapBuilderContextInterface ()=default
 

Detailed Description

Definition at line 34 of file map_builder_context_interface.h.

Member Typedef Documentation

◆ GlobalSlamOptimizationCallback

using cartographer::cloud::MapBuilderContextInterface::GlobalSlamOptimizationCallback = std::function<bool( const std::map<int , mapping::SubmapId>&, const std::map<int , mapping::NodeId>&)>

Definition at line 58 of file map_builder_context_interface.h.

◆ LocalSlamSubscriptionCallback

Definition at line 51 of file map_builder_context_interface.h.

Constructor & Destructor Documentation

◆ MapBuilderContextInterface() [1/2]

cartographer::cloud::MapBuilderContextInterface::MapBuilderContextInterface ( )
default

◆ ~MapBuilderContextInterface()

cartographer::cloud::MapBuilderContextInterface::~MapBuilderContextInterface ( )
default

◆ MapBuilderContextInterface() [2/2]

cartographer::cloud::MapBuilderContextInterface::MapBuilderContextInterface ( const MapBuilderContextInterface )
delete

Member Function Documentation

◆ AddSensorDataToTrajectory()

virtual void cartographer::cloud::MapBuilderContextInterface::AddSensorDataToTrajectory ( const Data sensor_data)
pure virtual

◆ EnqueueLocalSlamResultData()

virtual void cartographer::cloud::MapBuilderContextInterface::EnqueueLocalSlamResultData ( int  trajectory_id,
const std::string &  sensor_id,
const mapping::proto::LocalSlamResultData &  local_slam_result_data 
)
pure virtual

◆ EnqueueSensorData()

virtual void cartographer::cloud::MapBuilderContextInterface::EnqueueSensorData ( int  trajectory_id,
std::unique_ptr< sensor::Data data 
)
pure virtual

◆ GetLocalSlamResultCallbackForSubscriptions()

virtual mapping::TrajectoryBuilderInterface::LocalSlamResultCallback cartographer::cloud::MapBuilderContextInterface::GetLocalSlamResultCallbackForSubscriptions ( )
pure virtual

◆ local_trajectory_uploader()

virtual LocalTrajectoryUploaderInterface* cartographer::cloud::MapBuilderContextInterface::local_trajectory_uploader ( )
pure virtual

◆ map_builder()

virtual mapping::MapBuilderInterface& cartographer::cloud::MapBuilderContextInterface::map_builder ( )
pure virtual

◆ NotifyFinishTrajectory()

virtual void cartographer::cloud::MapBuilderContextInterface::NotifyFinishTrajectory ( int  trajectory_id)
pure virtual

◆ operator=()

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

◆ sensor_data_queue()

virtual common::BlockingQueue<std::unique_ptr<Data> >& cartographer::cloud::MapBuilderContextInterface::sensor_data_queue ( )
pure virtual

◆ SubscribeGlobalSlamOptimizations()

virtual int cartographer::cloud::MapBuilderContextInterface::SubscribeGlobalSlamOptimizations ( GlobalSlamOptimizationCallback  callback)
pure virtual

◆ SubscribeLocalSlamResults()

virtual LocalSlamSubscriptionId cartographer::cloud::MapBuilderContextInterface::SubscribeLocalSlamResults ( int  trajectory_id,
LocalSlamSubscriptionCallback  callback 
)
pure virtual

◆ UnsubscribeGlobalSlamOptimizations()

virtual void cartographer::cloud::MapBuilderContextInterface::UnsubscribeGlobalSlamOptimizations ( int  subscription_index)
pure virtual

◆ UnsubscribeLocalSlamResults()

virtual void cartographer::cloud::MapBuilderContextInterface::UnsubscribeLocalSlamResults ( const LocalSlamSubscriptionId subscription_id)
pure virtual

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


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