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

#include <trajectory_builder_stub.h>

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

Public Member Functions

void AddLocalSlamResultData (std::unique_ptr< mapping::LocalSlamResultData > local_slam_result_data) override
 
void AddSensorData (const std::string &sensor_id, const sensor::TimedPointCloudData &timed_point_cloud_data) override
 
void AddSensorData (const std::string &sensor_id, const sensor::ImuData &imu_data) override
 
void AddSensorData (const std::string &sensor_id, const sensor::OdometryData &odometry_data) override
 
void AddSensorData (const std::string &sensor_id, const sensor::FixedFramePoseData &fixed_frame_pose) override
 
void AddSensorData (const std::string &sensor_id, const sensor::LandmarkData &landmark_data) override
 
TrajectoryBuilderStuboperator= (const TrajectoryBuilderStub &)=delete
 
 TrajectoryBuilderStub (std::shared_ptr<::grpc::Channel > client_channel, const int trajectory_id, LocalSlamResultCallback local_slam_result_callback)
 
 TrajectoryBuilderStub (const TrajectoryBuilderStub &)=delete
 
 ~TrajectoryBuilderStub () override
 
- Public Member Functions inherited from cartographer::mapping::TrajectoryBuilderInterface
virtual void AddLocalSlamResultData (std::unique_ptr< mapping::LocalSlamResultData > local_slam_result_data)=0
 
TrajectoryBuilderInterfaceoperator= (const TrajectoryBuilderInterface &)=delete
 
 TrajectoryBuilderInterface ()
 
 TrajectoryBuilderInterface (const TrajectoryBuilderInterface &)=delete
 
virtual ~TrajectoryBuilderInterface ()
 

Static Private Member Functions

static void RunLocalSlamResultsReader (async_grpc::Client< handlers::ReceiveLocalSlamResultsSignature > *client_reader, LocalSlamResultCallback local_slam_result_callback)
 

Private Attributes

std::unique_ptr< async_grpc::Client< handlers::AddFixedFramePoseDataSignature > > add_fixed_frame_pose_client_
 
std::unique_ptr< async_grpc::Client< handlers::AddImuDataSignature > > add_imu_client_
 
std::unique_ptr< async_grpc::Client< handlers::AddLandmarkDataSignature > > add_landmark_client_
 
std::unique_ptr< async_grpc::Client< handlers::AddOdometryDataSignature > > add_odometry_client_
 
std::unique_ptr< async_grpc::Client< handlers::AddRangefinderDataSignature > > add_rangefinder_client_
 
std::shared_ptr<::grpc::Channel > client_channel_
 
async_grpc::Client< handlers::ReceiveLocalSlamResultsSignature > receive_local_slam_results_client_
 
std::unique_ptr< std::thread > receive_local_slam_results_thread_
 
const int trajectory_id_
 

Additional Inherited Members

- Public Types inherited from cartographer::mapping::TrajectoryBuilderInterface
using LocalSlamResultCallback = std::function< void(int, common::Time, transform::Rigid3d, sensor::RangeData, std::unique_ptr< const InsertionResult >)>
 

Detailed Description

Definition at line 38 of file trajectory_builder_stub.h.

Constructor & Destructor Documentation

◆ TrajectoryBuilderStub() [1/2]

cartographer::cloud::TrajectoryBuilderStub::TrajectoryBuilderStub ( std::shared_ptr<::grpc::Channel >  client_channel,
const int  trajectory_id,
LocalSlamResultCallback  local_slam_result_callback 
)

Definition at line 28 of file trajectory_builder_stub.cc.

◆ ~TrajectoryBuilderStub()

cartographer::cloud::TrajectoryBuilderStub::~TrajectoryBuilderStub ( )
override

Definition at line 48 of file trajectory_builder_stub.cc.

◆ TrajectoryBuilderStub() [2/2]

cartographer::cloud::TrajectoryBuilderStub::TrajectoryBuilderStub ( const TrajectoryBuilderStub )
delete

Member Function Documentation

◆ AddLocalSlamResultData()

void cartographer::cloud::TrajectoryBuilderStub::AddLocalSlamResultData ( std::unique_ptr< mapping::LocalSlamResultData local_slam_result_data)
override

Definition at line 142 of file trajectory_builder_stub.cc.

◆ AddSensorData() [1/5]

void cartographer::cloud::TrajectoryBuilderStub::AddSensorData ( const std::string &  sensor_id,
const sensor::TimedPointCloudData timed_point_cloud_data 
)
overridevirtual

◆ AddSensorData() [2/5]

void cartographer::cloud::TrajectoryBuilderStub::AddSensorData ( const std::string &  sensor_id,
const sensor::ImuData imu_data 
)
overridevirtual

◆ AddSensorData() [3/5]

void cartographer::cloud::TrajectoryBuilderStub::AddSensorData ( const std::string &  sensor_id,
const sensor::OdometryData odometry_data 
)
overridevirtual

◆ AddSensorData() [4/5]

void cartographer::cloud::TrajectoryBuilderStub::AddSensorData ( const std::string &  sensor_id,
const sensor::FixedFramePoseData fixed_frame_pose 
)
overridevirtual

◆ AddSensorData() [5/5]

void cartographer::cloud::TrajectoryBuilderStub::AddSensorData ( const std::string &  sensor_id,
const sensor::LandmarkData landmark_data 
)
overridevirtual

◆ operator=()

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

◆ RunLocalSlamResultsReader()

void cartographer::cloud::TrajectoryBuilderStub::RunLocalSlamResultsReader ( async_grpc::Client< handlers::ReceiveLocalSlamResultsSignature > *  client_reader,
LocalSlamResultCallback  local_slam_result_callback 
)
staticprivate

Definition at line 147 of file trajectory_builder_stub.cc.

Member Data Documentation

◆ add_fixed_frame_pose_client_

std::unique_ptr<async_grpc::Client<handlers::AddFixedFramePoseDataSignature> > cartographer::cloud::TrajectoryBuilderStub::add_fixed_frame_pose_client_
private

Definition at line 77 of file trajectory_builder_stub.h.

◆ add_imu_client_

std::unique_ptr<async_grpc::Client<handlers::AddImuDataSignature> > cartographer::cloud::TrajectoryBuilderStub::add_imu_client_
private

Definition at line 73 of file trajectory_builder_stub.h.

◆ add_landmark_client_

std::unique_ptr<async_grpc::Client<handlers::AddLandmarkDataSignature> > cartographer::cloud::TrajectoryBuilderStub::add_landmark_client_
private

Definition at line 79 of file trajectory_builder_stub.h.

◆ add_odometry_client_

std::unique_ptr<async_grpc::Client<handlers::AddOdometryDataSignature> > cartographer::cloud::TrajectoryBuilderStub::add_odometry_client_
private

Definition at line 75 of file trajectory_builder_stub.h.

◆ add_rangefinder_client_

std::unique_ptr<async_grpc::Client<handlers::AddRangefinderDataSignature> > cartographer::cloud::TrajectoryBuilderStub::add_rangefinder_client_
private

Definition at line 71 of file trajectory_builder_stub.h.

◆ client_channel_

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

Definition at line 68 of file trajectory_builder_stub.h.

◆ receive_local_slam_results_client_

async_grpc::Client<handlers::ReceiveLocalSlamResultsSignature> cartographer::cloud::TrajectoryBuilderStub::receive_local_slam_results_client_
private

Definition at line 81 of file trajectory_builder_stub.h.

◆ receive_local_slam_results_thread_

std::unique_ptr<std::thread> cartographer::cloud::TrajectoryBuilderStub::receive_local_slam_results_thread_
private

Definition at line 82 of file trajectory_builder_stub.h.

◆ trajectory_id_

const int cartographer::cloud::TrajectoryBuilderStub::trajectory_id_
private

Definition at line 69 of file trajectory_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