#include <map_builder_server.h>
Public Member Functions | |
void | AddSensorDataToTrajectory (const Data &sensor_data) override |
bool | CheckClientIdForTrajectory (const std::string &client_id, int trajectory_id) 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 |
LocalTrajectoryUploaderInterface * | local_trajectory_uploader () override |
mapping::MapBuilderInterface & | map_builder () override |
MapBuilderContext (MapBuilderServer *map_builder_server) | |
void | NotifyFinishTrajectory (int trajectory_id) override |
void | RegisterClientIdForTrajectory (const std::string &client_id, 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 |
Private Attributes | |
std::map< int, std::string > | client_ids_ |
MapBuilderServer * | map_builder_server_ |
mapping::SubmapController < SubmapType > | submap_controller_ |
Definition at line 43 of file map_builder_server.h.
cartographer::cloud::MapBuilderContext< SubmapType >::MapBuilderContext | ( | MapBuilderServer * | map_builder_server | ) |
Definition at line 24 of file map_builder_context_impl.h.
void cartographer::cloud::MapBuilderContext< SubmapType >::AddSensorDataToTrajectory | ( | const Data & | sensor_data | ) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 59 of file map_builder_context_impl.h.
bool cartographer::cloud::MapBuilderContext< SubmapType >::CheckClientIdForTrajectory | ( | const std::string & | client_id, |
int | trajectory_id | ||
) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 120 of file map_builder_context_impl.h.
void cartographer::cloud::MapBuilderContext< mapping::Submap2D >::EnqueueLocalSlamResultData | ( | int | trajectory_id, |
const std::string & | sensor_id, | ||
const mapping::proto::LocalSlamResultData & | local_slam_result_data | ||
) | [virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 25 of file map_builder_context_impl.cc.
void cartographer::cloud::MapBuilderContext< mapping::Submap3D >::EnqueueLocalSlamResultData | ( | int | trajectory_id, |
const std::string & | sensor_id, | ||
const mapping::proto::LocalSlamResultData & | local_slam_result_data | ||
) | [virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 35 of file map_builder_context_impl.cc.
void cartographer::cloud::MapBuilderContext< SubmapType >::EnqueueLocalSlamResultData | ( | int | trajectory_id, |
const std::string & | sensor_id, | ||
const mapping::proto::LocalSlamResultData & | local_slam_result_data | ||
) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
void cartographer::cloud::MapBuilderContext< mapping::Submap2D >::EnqueueLocalSlamResultData | ( | int | trajectory_id, |
const std::string & | sensor_id, | ||
const mapping::proto::LocalSlamResultData & | local_slam_result_data | ||
) | [virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
void cartographer::cloud::MapBuilderContext< mapping::Submap3D >::EnqueueLocalSlamResultData | ( | int | trajectory_id, |
const std::string & | sensor_id, | ||
const mapping::proto::LocalSlamResultData & | local_slam_result_data | ||
) | [virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
void cartographer::cloud::MapBuilderContext< SubmapType >::EnqueueSensorData | ( | int | trajectory_id, |
std::unique_ptr< sensor::Data > | data | ||
) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 104 of file map_builder_context_impl.h.
mapping::TrajectoryBuilderInterface::LocalSlamResultCallback cartographer::cloud::MapBuilderContext< SubmapType >::GetLocalSlamResultCallbackForSubscriptions | ( | ) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 41 of file map_builder_context_impl.h.
LocalTrajectoryUploaderInterface * cartographer::cloud::MapBuilderContext< SubmapType >::local_trajectory_uploader | ( | ) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 99 of file map_builder_context_impl.h.
mapping::MapBuilderInterface & cartographer::cloud::MapBuilderContext< SubmapType >::map_builder | ( | ) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 29 of file map_builder_context_impl.h.
void cartographer::cloud::MapBuilderContext< SubmapType >::NotifyFinishTrajectory | ( | int | trajectory_id | ) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 93 of file map_builder_context_impl.h.
void cartographer::cloud::MapBuilderContext< SubmapType >::RegisterClientIdForTrajectory | ( | const std::string & | client_id, |
int | trajectory_id | ||
) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 111 of file map_builder_context_impl.h.
common::BlockingQueue< std::unique_ptr< MapBuilderContextInterface::Data > > & cartographer::cloud::MapBuilderContext< SubmapType >::sensor_data_queue | ( | ) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 35 of file map_builder_context_impl.h.
int cartographer::cloud::MapBuilderContext< SubmapType >::SubscribeGlobalSlamOptimizations | ( | GlobalSlamOptimizationCallback | callback | ) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 81 of file map_builder_context_impl.h.
MapBuilderContextInterface::LocalSlamSubscriptionId cartographer::cloud::MapBuilderContext< SubmapType >::SubscribeLocalSlamResults | ( | int | trajectory_id, |
LocalSlamSubscriptionCallback | callback | ||
) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 68 of file map_builder_context_impl.h.
void cartographer::cloud::MapBuilderContext< SubmapType >::UnsubscribeGlobalSlamOptimizations | ( | int | subscription_index | ) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 87 of file map_builder_context_impl.h.
void cartographer::cloud::MapBuilderContext< SubmapType >::UnsubscribeLocalSlamResults | ( | const LocalSlamSubscriptionId & | subscription_id | ) | [override, virtual] |
Implements cartographer::cloud::MapBuilderContextInterface.
Definition at line 75 of file map_builder_context_impl.h.
std::map<int, std::string> cartographer::cloud::MapBuilderContext< SubmapType >::client_ids_ [private] |
Definition at line 75 of file map_builder_server.h.
MapBuilderServer* cartographer::cloud::MapBuilderContext< SubmapType >::map_builder_server_ [private] |
Definition at line 73 of file map_builder_server.h.
mapping::SubmapController<SubmapType> cartographer::cloud::MapBuilderContext< SubmapType >::submap_controller_ [private] |
Definition at line 74 of file map_builder_server.h.