Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes | List of all members
cartographer_ros::RosMapWritingPointsProcessor Class Reference

#include <ros_map_writing_points_processor.h>

Inheritance diagram for cartographer_ros::RosMapWritingPointsProcessor:
Inheritance graph
[legend]

Public Member Functions

FlushResult Flush () override
 
RosMapWritingPointsProcessoroperator= (const RosMapWritingPointsProcessor &)=delete
 
void Process (std::unique_ptr<::cartographer::io::PointsBatch > batch) override
 
 RosMapWritingPointsProcessor (double resolution, const ::cartographer::mapping::proto::ProbabilityGridRangeDataInserterOptions2D &range_data_inserter_options, ::cartographer::io::FileWriterFactory file_writer_factory, const std::string &filestem, PointsProcessor *next)
 
 RosMapWritingPointsProcessor (const RosMapWritingPointsProcessor &)=delete
 
 ~RosMapWritingPointsProcessor () override
 
- Public Member Functions inherited from cartographer::io::PointsProcessor
PointsProcessoroperator= (const PointsProcessor &)=delete
 
 PointsProcessor (const PointsProcessor &)=delete
 
 PointsProcessor ()
 
virtual void Process (std::unique_ptr< PointsBatch > points_batch)=0
 
virtual ~PointsProcessor ()
 

Static Public Member Functions

static std::unique_ptr< RosMapWritingPointsProcessorFromDictionary (::cartographer::io::FileWriterFactory file_writer_factory, ::cartographer::common::LuaParameterDictionary *dictionary, PointsProcessor *next)
 

Static Public Attributes

static constexpr const char * kConfigurationFileActionName = "write_ros_map"
 

Private Attributes

::cartographer::io::FileWriterFactory file_writer_factory_
 
const std::string filestem_
 
PointsProcessor *const next_
 
::cartographer::mapping::ProbabilityGrid probability_grid_
 
::cartographer::mapping::ProbabilityGridRangeDataInserter2D range_data_inserter_
 

Additional Inherited Members

- Public Types inherited from cartographer::io::PointsProcessor
enum  FlushResult { FlushResult::kRestartStream, FlushResult::kFinished }
 

Detailed Description

Definition at line 31 of file ros_map_writing_points_processor.h.

Constructor & Destructor Documentation

◆ RosMapWritingPointsProcessor() [1/2]

cartographer_ros::RosMapWritingPointsProcessor::RosMapWritingPointsProcessor ( double  resolution,
const ::cartographer::mapping::proto::ProbabilityGridRangeDataInserterOptions2D &  range_data_inserter_options,
::cartographer::io::FileWriterFactory  file_writer_factory,
const std::string &  filestem,
PointsProcessor next 
)

◆ RosMapWritingPointsProcessor() [2/2]

cartographer_ros::RosMapWritingPointsProcessor::RosMapWritingPointsProcessor ( const RosMapWritingPointsProcessor )
delete

◆ ~RosMapWritingPointsProcessor()

cartographer_ros::RosMapWritingPointsProcessor::~RosMapWritingPointsProcessor ( )
inlineoverride

Definition at line 51 of file ros_map_writing_points_processor.h.

Member Function Documentation

◆ Flush()

cartographer::io::PointsProcessor::FlushResult cartographer_ros::RosMapWritingPointsProcessor::Flush ( )
overridevirtual

◆ FromDictionary()

std::unique_ptr< RosMapWritingPointsProcessor > cartographer_ros::RosMapWritingPointsProcessor::FromDictionary ( ::cartographer::io::FileWriterFactory  file_writer_factory,
::cartographer::common::LuaParameterDictionary dictionary,
PointsProcessor next 
)
static

Definition at line 41 of file ros_map_writing_points_processor.cc.

◆ operator=()

RosMapWritingPointsProcessor& cartographer_ros::RosMapWritingPointsProcessor::operator= ( const RosMapWritingPointsProcessor )
delete

◆ Process()

void cartographer_ros::RosMapWritingPointsProcessor::Process ( std::unique_ptr<::cartographer::io::PointsBatch batch)
override

Definition at line 52 of file ros_map_writing_points_processor.cc.

Member Data Documentation

◆ file_writer_factory_

::cartographer::io::FileWriterFactory cartographer_ros::RosMapWritingPointsProcessor::file_writer_factory_
private

Definition at line 59 of file ros_map_writing_points_processor.h.

◆ filestem_

const std::string cartographer_ros::RosMapWritingPointsProcessor::filestem_
private

Definition at line 57 of file ros_map_writing_points_processor.h.

◆ kConfigurationFileActionName

constexpr const char* cartographer_ros::RosMapWritingPointsProcessor::kConfigurationFileActionName = "write_ros_map"
static

Definition at line 34 of file ros_map_writing_points_processor.h.

◆ next_

PointsProcessor* const cartographer_ros::RosMapWritingPointsProcessor::next_
private

Definition at line 58 of file ros_map_writing_points_processor.h.

◆ probability_grid_

::cartographer::mapping::ProbabilityGrid cartographer_ros::RosMapWritingPointsProcessor::probability_grid_
private

Definition at line 62 of file ros_map_writing_points_processor.h.

◆ range_data_inserter_

::cartographer::mapping::ProbabilityGridRangeDataInserter2D cartographer_ros::RosMapWritingPointsProcessor::range_data_inserter_
private

Definition at line 61 of file ros_map_writing_points_processor.h.


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


cartographer_ros
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:06:05